Documentation
¶
Index ¶
- type HealthcheckHealthcheckStatus
- type HealthcheckJSONHealthcheckReport
- func (m *HealthcheckJSONHealthcheckReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HealthcheckJSONHealthcheckReport) MarshalBinary() ([]byte, error)
- func (m *HealthcheckJSONHealthcheckReport) UnmarshalBinary(b []byte) error
- func (m *HealthcheckJSONHealthcheckReport) Validate(formats strfmt.Registry) error
- type ModelsEGender
- type ModelsErrorResponse
- type ModelsOwner
- type ModelsPet
- type Owner
- type Pet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthcheckHealthcheckStatus ¶
type HealthcheckHealthcheckStatus string
HealthcheckHealthcheckStatus healthcheck healthcheck status
swagger:model healthcheck.HealthcheckStatus
const ( // HealthcheckHealthcheckStatusHealthy captures enum value "healthy" HealthcheckHealthcheckStatusHealthy HealthcheckHealthcheckStatus = "healthy" // HealthcheckHealthcheckStatusUnhealthy captures enum value "unhealthy" HealthcheckHealthcheckStatusUnhealthy HealthcheckHealthcheckStatus = "unhealthy" // HealthcheckHealthcheckStatusDegraded captures enum value "degraded" HealthcheckHealthcheckStatusDegraded HealthcheckHealthcheckStatus = "degraded" )
func NewHealthcheckHealthcheckStatus ¶
func NewHealthcheckHealthcheckStatus(value HealthcheckHealthcheckStatus) *HealthcheckHealthcheckStatus
func (HealthcheckHealthcheckStatus) ContextValidate ¶
func (m HealthcheckHealthcheckStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this healthcheck healthcheck status based on context it is used
func (HealthcheckHealthcheckStatus) Pointer ¶
func (m HealthcheckHealthcheckStatus) Pointer() *HealthcheckHealthcheckStatus
Pointer returns a pointer to a freshly-allocated HealthcheckHealthcheckStatus.
type HealthcheckJSONHealthcheckReport ¶
type HealthcheckJSONHealthcheckReport struct { // services Services map[string]HealthcheckHealthcheckStatus `json:"services,omitempty"` // status Status HealthcheckHealthcheckStatus `json:"status,omitempty"` }
HealthcheckJSONHealthcheckReport healthcheck JSON healthcheck report
swagger:model healthcheck.JSONHealthcheckReport
func (*HealthcheckJSONHealthcheckReport) ContextValidate ¶
func (m *HealthcheckJSONHealthcheckReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this healthcheck JSON healthcheck report based on the context it is used
func (*HealthcheckJSONHealthcheckReport) MarshalBinary ¶
func (m *HealthcheckJSONHealthcheckReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthcheckJSONHealthcheckReport) UnmarshalBinary ¶
func (m *HealthcheckJSONHealthcheckReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsEGender ¶
type ModelsEGender string
ModelsEGender models e gender
swagger:model models.EGender
const ( // ModelsEGenderMale captures enum value "Male" ModelsEGenderMale ModelsEGender = "Male" // ModelsEGenderFemale captures enum value "Female" ModelsEGenderFemale ModelsEGender = "Female" )
func NewModelsEGender ¶
func NewModelsEGender(value ModelsEGender) *ModelsEGender
func (ModelsEGender) ContextValidate ¶
ContextValidate validates this models e gender based on context it is used
func (ModelsEGender) Pointer ¶
func (m ModelsEGender) Pointer() *ModelsEGender
Pointer returns a pointer to a freshly-allocated ModelsEGender.
type ModelsErrorResponse ¶
type ModelsErrorResponse struct { // error Error string `json:"error,omitempty"` // request id RequestID string `json:"request_id,omitempty"` }
ModelsErrorResponse models error response
swagger:model models.ErrorResponse
func (*ModelsErrorResponse) ContextValidate ¶
ContextValidate validates this models error response based on context it is used
func (*ModelsErrorResponse) MarshalBinary ¶
func (m *ModelsErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsErrorResponse) UnmarshalBinary ¶
func (m *ModelsErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsOwner ¶
type ModelsOwner struct { // date of birth DateOfBirth string `json:"date_of_birth,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // picture Picture string `json:"picture,omitempty"` }
ModelsOwner models owner
swagger:model models.Owner
func (*ModelsOwner) ContextValidate ¶
ContextValidate validates this models owner based on context it is used
func (*ModelsOwner) MarshalBinary ¶
func (m *ModelsOwner) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsOwner) UnmarshalBinary ¶
func (m *ModelsOwner) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPet ¶
type ModelsPet struct { // breed Breed string `json:"breed,omitempty"` // date of birth DateOfBirth string `json:"date_of_birth,omitempty"` // gender Gender ModelsEGender `json:"gender,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // picture Picture string `json:"picture,omitempty"` // species Species string `json:"species,omitempty"` // weight Weight float64 `json:"weight,omitempty"` }
ModelsPet models pet
swagger:model models.Pet
func (*ModelsPet) ContextValidate ¶
ContextValidate validate this models pet based on the context it is used
func (*ModelsPet) MarshalBinary ¶
MarshalBinary interface implementation
func (*ModelsPet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Owner ¶
type Owner struct { // date of birth DateOfBirth string `json:"date_of_birth,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // picture Picture string `json:"picture,omitempty"` }
Owner owner
swagger:model Owner
func (*Owner) ContextValidate ¶
ContextValidate validates this owner based on context it is used
func (*Owner) MarshalBinary ¶
MarshalBinary interface implementation
func (*Owner) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Pet ¶
type Pet struct { // breed Breed string `json:"breed,omitempty"` // date of birth DateOfBirth string `json:"date_of_birth,omitempty"` // gender Gender ModelsEGender `json:"gender,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // picture Picture string `json:"picture,omitempty"` // species Species string `json:"species,omitempty"` // weight Weight float64 `json:"weight,omitempty"` }
Pet pet
swagger:model Pet
func (*Pet) ContextValidate ¶
ContextValidate validate this pet based on the context it is used
func (*Pet) MarshalBinary ¶
MarshalBinary interface implementation
func (*Pet) UnmarshalBinary ¶
UnmarshalBinary interface implementation