models

package
v0.0.0-...-82ba225 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 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 Advanced

type Advanced map[string]interface{}

Advanced advanced

swagger:model Advanced

func (Advanced) ContextValidate

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

ContextValidate validates this advanced based on context it is used

func (Advanced) Validate

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

Validate validates this advanced

type Backup

type Backup struct {

	// created at
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// id
	// Read Only: true
	// Max Length: 63
	// Min Length: 2
	// Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	ID string `json:"id,omitempty"`

	// service id
	// Max Length: 20
	// Min Length: 2
	// Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	ServiceID string `json:"service_id,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

Backup backup

swagger:model Backup

func (*Backup) ContextValidate

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

ContextValidate validate this backup based on the context it is used

func (*Backup) MarshalBinary

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

MarshalBinary interface implementation

func (*Backup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Backup) Validate

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

Validate validates this backup

type Backups

type Backups []*Backup

Backups backups

swagger:model Backups

func (Backups) ContextValidate

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

ContextValidate validate this backups based on the context it is used

func (Backups) Validate

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

Validate validates this backups

type Error

type Error struct {

	// message
	Message string `json:"message,omitempty"`
}

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 Explain

type Explain struct {

	// ingress
	Ingress *ExplainIngress `json:"ingress,omitempty"`

	// pod
	Pod *ExplainPod `json:"pod,omitempty"`

	// pvc
	Pvc *ExplainPvc `json:"pvc,omitempty"`
}

Explain explain

swagger:model Explain

func (*Explain) ContextValidate

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

ContextValidate validate this explain based on the context it is used

func (*Explain) MarshalBinary

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

MarshalBinary interface implementation

func (*Explain) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Explain) Validate

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

Validate validates this explain

type ExplainIngress

type ExplainIngress struct {

	// error
	Error string `json:"error,omitempty"`

	// hosts
	Hosts []string `json:"hosts"`

	// ingress class
	IngressClass string `json:"ingressClass,omitempty"`
}

ExplainIngress explain ingress

swagger:model ExplainIngress

func (*ExplainIngress) ContextValidate

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

ContextValidate validates this explain ingress based on context it is used

func (*ExplainIngress) MarshalBinary

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

MarshalBinary interface implementation

func (*ExplainIngress) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExplainIngress) Validate

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

Validate validates this explain ingress

type ExplainPod

type ExplainPod struct {

	// containers
	Containers []*ExplainPodContainersItems0 `json:"containers"`

	// error
	Error string `json:"error,omitempty"`
}

ExplainPod explain pod

swagger:model ExplainPod

func (*ExplainPod) ContextValidate

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

ContextValidate validate this explain pod based on the context it is used

func (*ExplainPod) MarshalBinary

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

MarshalBinary interface implementation

func (*ExplainPod) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExplainPod) Validate

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

Validate validates this explain pod

type ExplainPodContainersItems0

type ExplainPodContainersItems0 struct {

	// name
	Name string `json:"name,omitempty"`

	// restart count
	RestartCount *int64 `json:"restartCount,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

ExplainPodContainersItems0 explain pod containers items0

swagger:model ExplainPodContainersItems0

func (*ExplainPodContainersItems0) ContextValidate

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

ContextValidate validates this explain pod containers items0 based on context it is used

func (*ExplainPodContainersItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ExplainPodContainersItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExplainPodContainersItems0) Validate

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

Validate validates this explain pod containers items0

type ExplainPvc

type ExplainPvc struct {

	// error
	Error string `json:"error,omitempty"`

	// phase
	Phase string `json:"phase,omitempty"`

	// size
	Size string `json:"size,omitempty"`

	// storage class
	StorageClass string `json:"storageClass,omitempty"`
}

ExplainPvc explain pvc

swagger:model ExplainPvc

func (*ExplainPvc) ContextValidate

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

ContextValidate validates this explain pvc based on context it is used

func (*ExplainPvc) MarshalBinary

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

MarshalBinary interface implementation

func (*ExplainPvc) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExplainPvc) Validate

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

Validate validates this explain pvc

type Limits

type Limits struct {

	// cpu
	CPU string `json:"cpu,omitempty"`

	// memory
	Memory string `json:"memory,omitempty"`

	// storage
	Storage string `json:"storage,omitempty"`
}

Limits limits

swagger:model Limits

func (*Limits) ContextValidate

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

ContextValidate validates this limits based on context it is used

func (*Limits) MarshalBinary

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

MarshalBinary interface implementation

func (*Limits) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Limits) Validate

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

Validate validates this limits

type Log

type Log struct {

	// container name
	// Read Only: true
	ContainerName string `json:"containerName,omitempty"`

	// logs
	// Read Only: true
	Logs string `json:"logs,omitempty"`
}

Log log

swagger:model Log

func (*Log) ContextValidate

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

ContextValidate validate this log based on the context it is used

func (*Log) MarshalBinary

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

MarshalBinary interface implementation

func (*Log) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Log) Validate

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

Validate validates this log

type Logs

type Logs []*Log

Logs logs

swagger:model Logs

func (Logs) ContextValidate

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

ContextValidate validate this logs based on the context it is used

func (Logs) Validate

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

Validate validates this logs

type Principal

type Principal string

Principal principal

swagger:model principal

func (Principal) ContextValidate

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

ContextValidate validates this principal based on context it is used

func (Principal) Validate

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

Validate validates this principal

type Restore

type Restore struct {

	// backup id
	// Max Length: 63
	// Min Length: 2
	// Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	BackupID string `json:"backup_id,omitempty"`

	// created at
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// id
	// Read Only: true
	// Max Length: 63
	// Min Length: 2
	// Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	ID string `json:"id,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

Restore restore

swagger:model Restore

func (*Restore) ContextValidate

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

ContextValidate validate this restore based on the context it is used

func (*Restore) MarshalBinary

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

MarshalBinary interface implementation

func (*Restore) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Restore) Validate

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

Validate validates this restore

type Restores

type Restores []*Restore

Restores restores

swagger:model Restores

func (Restores) ContextValidate

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

ContextValidate validate this restores based on the context it is used

func (Restores) Validate

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

Validate validates this restores

type Service

type Service struct {

	// advanced
	Advanced Advanced `json:"advanced,omitempty"`

	// backup schedule
	BackupSchedule string `json:"backupSchedule,omitempty"`

	// created at
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// endpoint
	// Read Only: true
	Endpoint string `json:"endpoint,omitempty"`

	// id
	// Required: true
	// Max Length: 20
	// Min Length: 2
	// Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	ID *string `json:"id"`

	// insecure
	Insecure bool `json:"insecure,omitempty"`

	// limits
	Limits *Limits `json:"limits,omitempty"`

	// replicas
	Replicas *int64 `json:"replicas,omitempty"`

	// status
	// Read Only: true
	Status string `json:"status,omitempty"`

	// subscription
	Subscription string `json:"subscription,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`

	// use letsencrypt
	UseLetsencrypt bool `json:"use_letsencrypt,omitempty"`

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

Service service

swagger:model Service

func (*Service) ContextValidate

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

ContextValidate validate this service based on the context it is used

func (*Service) MarshalBinary

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

MarshalBinary interface implementation

func (*Service) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Service) Validate

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

Validate validates this service

type ServiceCredentials

type ServiceCredentials map[string]string

ServiceCredentials service credentials

swagger:model ServiceCredentials

func (ServiceCredentials) ContextValidate

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

ContextValidate validates this service credentials based on context it is used

func (ServiceCredentials) Validate

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

Validate validates this service credentials

type ServiceSecret

type ServiceSecret struct {

	// id
	// Read Only: true
	// Min Length: 1
	// Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	ID string `json:"id,omitempty"`

	// value
	// Read Only: true
	// Min Length: 1
	Value string `json:"value,omitempty"`
}

ServiceSecret service secret

swagger:model ServiceSecret

func (*ServiceSecret) ContextValidate

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

ContextValidate validate this service secret based on the context it is used

func (*ServiceSecret) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceSecret) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceSecret) Validate

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

Validate validates this service secret

type ServiceSecrets

type ServiceSecrets []*ServiceSecret

ServiceSecrets service secrets

swagger:model ServiceSecrets

func (ServiceSecrets) ContextValidate

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

ContextValidate validate this service secrets based on the context it is used

func (ServiceSecrets) Validate

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

Validate validates this service secrets

type Services

type Services []*Service

Services services

swagger:model Services

func (Services) ContextValidate

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

ContextValidate validate this services based on the context it is used

func (Services) Validate

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

Validate validates this services

Jump to

Keyboard shortcuts

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