networkapi.healthcheckexpect package

Submodules

networkapi.healthcheckexpect.models module

class networkapi.healthcheckexpect.models.Healthcheck(*args, **kwargs)[source]

Bases: networkapi.models.BaseModel.BaseModel

Healthcheck(id, identifier, healthcheck_type, healthcheck_request, healthcheck_expect, destination)

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception Healthcheck.MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

Healthcheck.get_create_healthcheck(healthcheck)[source]
Healthcheck.log = <celery.utils.log.ProcessAwareLogger object at 0x7fdee2b585d0>
Healthcheck.objects = <networkapi.models.BaseManager.BaseManager object at 0x7fdee2b58810>
exception networkapi.healthcheckexpect.models.HealthcheckEqualError(cause, message=None)[source]

Bases: networkapi.healthcheckexpect.models.HealthcheckExpectError

Retorna exceção quando já existe um registro identico ao que será inserido no banco

class networkapi.healthcheckexpect.models.HealthcheckExpect(*args, **kwargs)[source]

Bases: networkapi.models.BaseModel.BaseModel

HealthcheckExpect(id, expect_string, match_list, ambiente_id)

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception HealthcheckExpect.MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

HealthcheckExpect.ambiente
classmethod HealthcheckExpect.dissociate_environment_and_delete(authenticated_user, environment_id=None)[source]
classmethod HealthcheckExpect.get_by_pk(id)[source]
classmethod HealthcheckExpect.get_expect_strings()[source]
HealthcheckExpect.insert(authenticated_user, match_list, expect_string, environment)[source]
HealthcheckExpect.insert_expect_string(authenticated_user, expect_string, ambiente=None)[source]
HealthcheckExpect.log = <celery.utils.log.ProcessAwareLogger object at 0x7fdee2b48dd0>
HealthcheckExpect.objects = <networkapi.models.BaseManager.BaseManager object at 0x7fdee2b58290>
HealthcheckExpect.search(environment_id=None)[source]
exception networkapi.healthcheckexpect.models.HealthcheckExpectError(cause, message=None)[source]

Bases: exceptions.Exception

Representa um erro ocorrido durante acesso à tabelas relacionadas com HealthcheckExpect.

exception networkapi.healthcheckexpect.models.HealthcheckExpectNotFoundError(cause, message=None)[source]

Bases: networkapi.healthcheckexpect.models.HealthcheckExpectError

Retorna exceção para pesquisa de HealthcheckExpect por chave primária.

Module contents