models

package
v0.0.0-...-3c2e68c Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// message
	// Required: true
	Message *string `json:"message"`
}

Error error

swagger:model error

func (*Error) ContextValidate

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

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type ModelsEnvironmentBundle

type ModelsEnvironmentBundle map[string]string

ModelsEnvironmentBundle models environment bundle Example: {"ENV_VAR_1":"Hello!","ENV_VAR_2":"Bonjour!"}

swagger:model models.EnvironmentBundle

func (ModelsEnvironmentBundle) ContextValidate

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

ContextValidate validates this models environment bundle based on context it is used

func (ModelsEnvironmentBundle) Validate

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

Validate validates this models environment bundle

type ModelsEnvironmentRequest

type ModelsEnvironmentRequest struct {

	// The requested target for the request
	Target string `json:"target,omitempty"`
}

ModelsEnvironmentRequest models environment request

swagger:model models.EnvironmentRequest

func (*ModelsEnvironmentRequest) ContextValidate

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

ContextValidate validates this models environment request based on context it is used

func (*ModelsEnvironmentRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsEnvironmentRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsEnvironmentRequest) Validate

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

Validate validates this models environment request

type ModelsEnvironmentResponse

type ModelsEnvironmentResponse struct {

	// bundle
	Bundle ModelsEnvironmentBundle `json:"bundle,omitempty"`
}

ModelsEnvironmentResponse models environment response

swagger:model models.EnvironmentResponse

func (*ModelsEnvironmentResponse) ContextValidate

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

ContextValidate validate this models environment response based on the context it is used

func (*ModelsEnvironmentResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsEnvironmentResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsEnvironmentResponse) Validate

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

Validate validates this models environment response

type ModelsHealthResponse

type ModelsHealthResponse struct {

	// status
	Status bool `json:"status,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ModelsHealthResponse models health response

swagger:model models.HealthResponse

func (*ModelsHealthResponse) ContextValidate

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

ContextValidate validates this models health response based on context it is used

func (*ModelsHealthResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsHealthResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsHealthResponse) Validate

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

Validate validates this models health response

type ModelsPrincipal

type ModelsPrincipal string

ModelsPrincipal models principal

swagger:model models.Principal

func (ModelsPrincipal) ContextValidate

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

ContextValidate validates this models principal based on context it is used

func (ModelsPrincipal) Validate

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

Validate validates this models principal

type ModelsRoleIDsResponse

type ModelsRoleIDsResponse struct {

	// roles
	Roles []string `json:"roles"`
}

ModelsRoleIDsResponse models role i ds response

swagger:model models.RoleIDsResponse

func (*ModelsRoleIDsResponse) ContextValidate

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

ContextValidate validates this models role i ds response based on context it is used

func (*ModelsRoleIDsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsRoleIDsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsRoleIDsResponse) Validate

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

Validate validates this models role i ds response

Jump to

Keyboard shortcuts

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