profile

package
v0.0.0-...-6eddc5e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 (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

Pointer returns a pointer to a freshly-allocated HealthcheckHealthcheckStatus.

func (HealthcheckHealthcheckStatus) Validate

func (m HealthcheckHealthcheckStatus) Validate(formats strfmt.Registry) error

Validate validates this healthcheck healthcheck status

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

func (*HealthcheckJSONHealthcheckReport) Validate

Validate validates this healthcheck JSON healthcheck report

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

func (m ModelsEGender) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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.

func (ModelsEGender) Validate

func (m ModelsEGender) Validate(formats strfmt.Registry) error

Validate validates this models e gender

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

func (m *ModelsErrorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsErrorResponse) Validate

func (m *ModelsErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this models error response

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

func (m *ModelsOwner) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsOwner) Validate

func (m *ModelsOwner) Validate(formats strfmt.Registry) error

Validate validates this models owner

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

func (m *ModelsPet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models pet based on the context it is used

func (*ModelsPet) MarshalBinary

func (m *ModelsPet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPet) UnmarshalBinary

func (m *ModelsPet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPet) Validate

func (m *ModelsPet) Validate(formats strfmt.Registry) error

Validate validates this models pet

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

func (m *Owner) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this owner based on context it is used

func (*Owner) MarshalBinary

func (m *Owner) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Owner) UnmarshalBinary

func (m *Owner) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Owner) Validate

func (m *Owner) Validate(formats strfmt.Registry) error

Validate validates this owner

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

func (m *Pet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pet based on the context it is used

func (*Pet) MarshalBinary

func (m *Pet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Pet) UnmarshalBinary

func (m *Pet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Pet) Validate

func (m *Pet) Validate(formats strfmt.Registry) error

Validate validates this pet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL