models

package
v0.0.0-...-9aa0b92 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorityAuthorities

type AuthorityAuthorities struct {

	// authorities
	Authorities []*ModelAuthority `json:"authorities"`
}

AuthorityAuthorities authority authorities

swagger:model authorityAuthorities

func (*AuthorityAuthorities) ContextValidate

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

ContextValidate validate this authority authorities based on the context it is used

func (*AuthorityAuthorities) MarshalBinary

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

MarshalBinary interface implementation

func (*AuthorityAuthorities) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuthorityAuthorities) Validate

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

Validate validates this authority authorities

type AuthorityDeleteAuthoritiesResp

type AuthorityDeleteAuthoritiesResp struct {

	// fail messages
	FailMessages []*DeleteAuthoritiesRespFailMessages `json:"fail_messages"`
}

AuthorityDeleteAuthoritiesResp authority delete authorities resp

swagger:model authorityDeleteAuthoritiesResp

func (*AuthorityDeleteAuthoritiesResp) ContextValidate

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

ContextValidate validate this authority delete authorities resp based on the context it is used

func (*AuthorityDeleteAuthoritiesResp) MarshalBinary

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

MarshalBinary interface implementation

func (*AuthorityDeleteAuthoritiesResp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuthorityDeleteAuthoritiesResp) Validate

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

Validate validates this authority delete authorities resp

type AuthorityListAuthoritiesResp

type AuthorityListAuthoritiesResp struct {

	// authorities
	Authorities *AuthorityAuthorities `json:"authorities,omitempty"`

	// error
	Error *ModelError `json:"error,omitempty"`
}

AuthorityListAuthoritiesResp authority list authorities resp

swagger:model authorityListAuthoritiesResp

func (*AuthorityListAuthoritiesResp) ContextValidate

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

ContextValidate validate this authority list authorities resp based on the context it is used

func (*AuthorityListAuthoritiesResp) MarshalBinary

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

MarshalBinary interface implementation

func (*AuthorityListAuthoritiesResp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuthorityListAuthoritiesResp) Validate

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

Validate validates this authority list authorities resp

type DeleteAuthoritiesRespFailMessages

type DeleteAuthoritiesRespFailMessages struct {

	// authority
	Authority *ModelAuthority `json:"authority,omitempty"`

	// error
	Error *ModelError `json:"error,omitempty"`
}

DeleteAuthoritiesRespFailMessages delete authorities resp fail messages

swagger:model DeleteAuthoritiesRespFailMessages

func (*DeleteAuthoritiesRespFailMessages) ContextValidate

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

ContextValidate validate this delete authorities resp fail messages based on the context it is used

func (*DeleteAuthoritiesRespFailMessages) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteAuthoritiesRespFailMessages) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteAuthoritiesRespFailMessages) Validate

Validate validates this delete authorities resp fail messages

type GatewayruntimeError

type GatewayruntimeError struct {

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

	// details
	Details []*ProtobufAny `json:"details"`

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

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

GatewayruntimeError gatewayruntime error

swagger:model gatewayruntimeError

func (*GatewayruntimeError) ContextValidate

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

ContextValidate validate this gatewayruntime error based on the context it is used

func (*GatewayruntimeError) MarshalBinary

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

MarshalBinary interface implementation

func (*GatewayruntimeError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GatewayruntimeError) Validate

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

Validate validates this gatewayruntime error

type IdentityDeletePublicTokenReq

type IdentityDeletePublicTokenReq struct {

	// identity
	Identity *ModelIdentity `json:"identity,omitempty"`

	// token id
	TokenID string `json:"token_id,omitempty"`
}

IdentityDeletePublicTokenReq identity delete public token req

swagger:model identityDeletePublicTokenReq

func (*IdentityDeletePublicTokenReq) ContextValidate

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

ContextValidate validate this identity delete public token req based on the context it is used

func (*IdentityDeletePublicTokenReq) MarshalBinary

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

MarshalBinary interface implementation

func (*IdentityDeletePublicTokenReq) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IdentityDeletePublicTokenReq) Validate

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

Validate validates this identity delete public token req

type IdentityGeneratePublicTokenReq

type IdentityGeneratePublicTokenReq struct {

	// api token
	APIToken *ModelAPIToken `json:"api_token,omitempty"`

	// identity
	Identity *ModelIdentity `json:"identity,omitempty"`
}

IdentityGeneratePublicTokenReq identity generate public token req

swagger:model identityGeneratePublicTokenReq

func (*IdentityGeneratePublicTokenReq) ContextValidate

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

ContextValidate validate this identity generate public token req based on the context it is used

func (*IdentityGeneratePublicTokenReq) MarshalBinary

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

MarshalBinary interface implementation

func (*IdentityGeneratePublicTokenReq) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IdentityGeneratePublicTokenReq) Validate

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

Validate validates this identity generate public token req

type IdentityListPublicTokenResp

type IdentityListPublicTokenResp struct {

	// error
	Error *ModelError `json:"error,omitempty"`

	// public tokens
	PublicTokens []*ModelAPIToken `json:"public_tokens"`
}

IdentityListPublicTokenResp identity list public token resp

swagger:model identityListPublicTokenResp

func (*IdentityListPublicTokenResp) ContextValidate

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

ContextValidate validate this identity list public token resp based on the context it is used

func (*IdentityListPublicTokenResp) MarshalBinary

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

MarshalBinary interface implementation

func (*IdentityListPublicTokenResp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IdentityListPublicTokenResp) Validate

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

Validate validates this identity list public token resp

type IdentityLoginReq

type IdentityLoginReq struct {

	// email
	Email string `json:"email,omitempty"`

	// password
	Password string `json:"password,omitempty"`
}

IdentityLoginReq identity login req

swagger:model identityLoginReq

func (*IdentityLoginReq) ContextValidate

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

ContextValidate validates this identity login req based on context it is used

func (*IdentityLoginReq) MarshalBinary

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

MarshalBinary interface implementation

func (*IdentityLoginReq) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IdentityLoginReq) Validate

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

Validate validates this identity login req

type IdentityLoginResp

type IdentityLoginResp struct {

	// error
	Error *ModelError `json:"error,omitempty"`

	// identity
	Identity *ModelIdentity `json:"identity,omitempty"`

	// token
	Token *ModelToken `json:"token,omitempty"`
}

IdentityLoginResp identity login resp

swagger:model identityLoginResp

func (*IdentityLoginResp) ContextValidate

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

ContextValidate validate this identity login resp based on the context it is used

func (*IdentityLoginResp) MarshalBinary

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

MarshalBinary interface implementation

func (*IdentityLoginResp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IdentityLoginResp) Validate

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

Validate validates this identity login resp

type IdentityRegisterReq

type IdentityRegisterReq struct {

	// identity
	Identity *ModelIdentity `json:"identity,omitempty"`

	// password
	Password string `json:"password,omitempty"`
}

IdentityRegisterReq identity register req

swagger:model identityRegisterReq

func (*IdentityRegisterReq) ContextValidate

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

ContextValidate validate this identity register req based on the context it is used

func (*IdentityRegisterReq) MarshalBinary

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

MarshalBinary interface implementation

func (*IdentityRegisterReq) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IdentityRegisterReq) Validate

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

Validate validates this identity register req

type IdentityVerifyResp

type IdentityVerifyResp struct {

	// error
	Error *ModelError `json:"error,omitempty"`

	// identity
	Identity *ModelIdentity `json:"identity,omitempty"`

	// token type
	TokenType *ModelTokenType `json:"token_type,omitempty"`
}

IdentityVerifyResp identity verify resp

swagger:model identityVerifyResp

func (*IdentityVerifyResp) ContextValidate

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

ContextValidate validate this identity verify resp based on the context it is used

func (*IdentityVerifyResp) MarshalBinary

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

MarshalBinary interface implementation

func (*IdentityVerifyResp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IdentityVerifyResp) Validate

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

Validate validates this identity verify resp

type ModelAPIToken

type ModelAPIToken struct {

	// allowed actions
	AllowedActions []*ModelActions `json:"allowed_actions"`

	// deadline timestamp
	DeadlineTimestamp string `json:"deadline_timestamp,omitempty"`

	// id
	ID string `json:"id,omitempty"`

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

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

	// token
	Token *ModelToken `json:"token,omitempty"`
}

ModelAPIToken model API token

swagger:model modelAPIToken

func (*ModelAPIToken) ContextValidate

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

ContextValidate validate this model API token based on the context it is used

func (*ModelAPIToken) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelAPIToken) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelAPIToken) Validate

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

Validate validates this model API token

type ModelActions

type ModelActions string

ModelActions model actions

swagger:model modelActions

const (

	// ModelActionsUnkonwn captures enum value "unkonwn"
	ModelActionsUnkonwn ModelActions = "unkonwn"

	// ModelActionsGetInfo captures enum value "get_info"
	ModelActionsGetInfo ModelActions = "get_info"

	// ModelActionsManageMembers captures enum value "manage_members"
	ModelActionsManageMembers ModelActions = "manage_members"

	// ModelActionsManageService captures enum value "manage_service"
	ModelActionsManageService ModelActions = "manage_service"
)

func NewModelActions

func NewModelActions(value ModelActions) *ModelActions

func (ModelActions) ContextValidate

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

ContextValidate validates this model actions based on context it is used

func (ModelActions) Validate

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

Validate validates this model actions

type ModelAuthority

type ModelAuthority struct {

	// action
	Action string `json:"action,omitempty"`

	// identity
	Identity *ModelIdentity `json:"identity,omitempty"`

	// resource
	Resource *ModelResource `json:"resource,omitempty"`
}

ModelAuthority model authority

swagger:model modelAuthority

func (*ModelAuthority) ContextValidate

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

ContextValidate validate this model authority based on the context it is used

func (*ModelAuthority) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelAuthority) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelAuthority) Validate

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

Validate validates this model authority

type ModelCommonResp

type ModelCommonResp struct {

	// error
	Error *ModelError `json:"error,omitempty"`
}

ModelCommonResp no other return value.

swagger:model modelCommonResp

func (*ModelCommonResp) ContextValidate

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

ContextValidate validate this model common resp based on the context it is used

func (*ModelCommonResp) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelCommonResp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelCommonResp) Validate

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

Validate validates this model common resp

type ModelEnvironmentVariable

type ModelEnvironmentVariable struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

ModelEnvironmentVariable model environment variable

swagger:model modelEnvironmentVariable

func (*ModelEnvironmentVariable) ContextValidate

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

ContextValidate validates this model environment variable based on context it is used

func (*ModelEnvironmentVariable) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelEnvironmentVariable) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelEnvironmentVariable) Validate

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

Validate validates this model environment variable

type ModelError

type ModelError struct {

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

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

ModelError model error

swagger:model modelError

func (*ModelError) ContextValidate

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

ContextValidate validates this model error based on context it is used

func (*ModelError) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelError) Validate

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

Validate validates this model error

type ModelIdentity

type ModelIdentity struct {

	// email
	Email string `json:"email,omitempty"`

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

ModelIdentity record user's identity information.

swagger:model modelIdentity

func (*ModelIdentity) ContextValidate

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

ContextValidate validates this model identity based on context it is used

func (*ModelIdentity) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelIdentity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelIdentity) Validate

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

Validate validates this model identity

type ModelImage

type ModelImage struct {

	// url
	URL string `json:"url,omitempty"`

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

ModelImage model image

swagger:model modelImage

func (*ModelImage) ContextValidate

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

ContextValidate validates this model image based on context it is used

func (*ModelImage) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelImage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelImage) Validate

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

Validate validates this model image

type ModelPod

type ModelPod struct {

	// age
	Age string `json:"age,omitempty"`

	// machine name
	MachineName string `json:"machine_name,omitempty"`

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

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

ModelPod model pod

swagger:model modelPod

func (*ModelPod) ContextValidate

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

ContextValidate validates this model pod based on context it is used

func (*ModelPod) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelPod) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelPod) Validate

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

Validate validates this model pod

type ModelPort

type ModelPort struct {

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

	// port
	Port int32 `json:"port,omitempty"`
}

ModelPort Port for container.

swagger:model modelPort

func (*ModelPort) ContextValidate

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

ContextValidate validates this model port based on context it is used

func (*ModelPort) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelPort) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelPort) Validate

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

Validate validates this model port

type ModelProject

type ModelProject struct {

	// describe
	Describe string `json:"describe,omitempty"`

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

ModelProject model project

swagger:model modelProject

func (*ModelProject) ContextValidate

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

ContextValidate validates this model project based on context it is used

func (*ModelProject) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelProject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelProject) Validate

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

Validate validates this model project

type ModelResource

type ModelResource struct {

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

	// type
	Type string `json:"type,omitempty"`
}

ModelResource model resource

swagger:model modelResource

func (*ModelResource) ContextValidate

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

ContextValidate validates this model resource based on context it is used

func (*ModelResource) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelResource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelResource) Validate

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

Validate validates this model resource

type ModelService

type ModelService struct {

	// describe
	Describe string `json:"describe,omitempty"`

	// envs
	Envs []*ModelEnvironmentVariable `json:"envs"`

	// expose ports
	ExposePorts []*ModelPort `json:"expose_ports"`

	// image
	Image *ModelImage `json:"image,omitempty"`

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

	// replica
	Replica int32 `json:"replica,omitempty"`
}

ModelService model service

swagger:model modelService

func (*ModelService) ContextValidate

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

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

func (*ModelService) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelService) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelService) Validate

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

Validate validates this model service

type ModelToken

type ModelToken struct {

	// token
	Token string `json:"token,omitempty"`

	// type
	Type *ModelTokenType `json:"type,omitempty"`
}

ModelToken used to access browser/api.

swagger:model modelToken

func (*ModelToken) ContextValidate

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

ContextValidate validate this model token based on the context it is used

func (*ModelToken) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelToken) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelToken) Validate

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

Validate validates this model token

type ModelTokenType

type ModelTokenType string

ModelTokenType model token type

swagger:model modelTokenType

const (

	// ModelTokenTypeSession captures enum value "session"
	ModelTokenTypeSession ModelTokenType = "session"

	// ModelTokenTypePrivate captures enum value "private"
	ModelTokenTypePrivate ModelTokenType = "private"

	// ModelTokenTypePublic captures enum value "public"
	ModelTokenTypePublic ModelTokenType = "public"
)

func NewModelTokenType

func NewModelTokenType(value ModelTokenType) *ModelTokenType

func (ModelTokenType) ContextValidate

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

ContextValidate validates this model token type based on context it is used

func (ModelTokenType) Validate

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

Validate validates this model token type

type ProjectCreateProjectReq

type ProjectCreateProjectReq struct {

	// project
	Project *ModelProject `json:"project,omitempty"`
}

ProjectCreateProjectReq project create project req

swagger:model projectCreateProjectReq

func (*ProjectCreateProjectReq) ContextValidate

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

ContextValidate validate this project create project req based on the context it is used

func (*ProjectCreateProjectReq) MarshalBinary

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

MarshalBinary interface implementation

func (*ProjectCreateProjectReq) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProjectCreateProjectReq) Validate

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

Validate validates this project create project req

type ProjectGetServiceResp

type ProjectGetServiceResp struct {

	// error
	Error *ModelError `json:"error,omitempty"`

	// service
	Service *ModelService `json:"service,omitempty"`
}

ProjectGetServiceResp project get service resp

swagger:model projectGetServiceResp

func (*ProjectGetServiceResp) ContextValidate

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

ContextValidate validate this project get service resp based on the context it is used

func (*ProjectGetServiceResp) MarshalBinary

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

MarshalBinary interface implementation

func (*ProjectGetServiceResp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProjectGetServiceResp) Validate

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

Validate validates this project get service resp

type ProjectListPodsResp

type ProjectListPodsResp struct {

	// error
	Error *ModelError `json:"error,omitempty"`

	// pods
	Pods []*ModelPod `json:"pods"`
}

ProjectListPodsResp project list pods resp

swagger:model projectListPodsResp

func (*ProjectListPodsResp) ContextValidate

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

ContextValidate validate this project list pods resp based on the context it is used

func (*ProjectListPodsResp) MarshalBinary

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

MarshalBinary interface implementation

func (*ProjectListPodsResp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProjectListPodsResp) Validate

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

Validate validates this project list pods resp

type ProjectListServiceResp

type ProjectListServiceResp struct {

	// error
	Error *ModelError `json:"error,omitempty"`

	// service
	Service []*ModelService `json:"service"`
}

ProjectListServiceResp project list service resp

swagger:model projectListServiceResp

func (*ProjectListServiceResp) ContextValidate

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

ContextValidate validate this project list service resp based on the context it is used

func (*ProjectListServiceResp) MarshalBinary

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

MarshalBinary interface implementation

func (*ProjectListServiceResp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProjectListServiceResp) Validate

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

Validate validates this project list service resp

type ProjectSetServiceReq

type ProjectSetServiceReq struct {

	// project name
	ProjectName string `json:"project_name,omitempty"`

	// service
	Service *ModelService `json:"service,omitempty"`
}

ProjectSetServiceReq create if not exist, else update service.

swagger:model projectSetServiceReq

func (*ProjectSetServiceReq) ContextValidate

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

ContextValidate validate this project set service req based on the context it is used

func (*ProjectSetServiceReq) MarshalBinary

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

MarshalBinary interface implementation

func (*ProjectSetServiceReq) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProjectSetServiceReq) Validate

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

Validate validates this project set service req

type ProtobufAny

type ProtobufAny struct {

	// type url
	TypeURL string `json:"type_url,omitempty"`

	// value
	// Format: byte
	Value strfmt.Base64 `json:"value,omitempty"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

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

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

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

MarshalBinary interface implementation

func (*ProtobufAny) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProtobufAny) Validate

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

Validate validates this protobuf any

Jump to

Keyboard shortcuts

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