Documentation
¶
Index ¶
- type AuthorityAuthorities
- type AuthorityDeleteAuthoritiesResp
- func (m *AuthorityDeleteAuthoritiesResp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AuthorityDeleteAuthoritiesResp) MarshalBinary() ([]byte, error)
- func (m *AuthorityDeleteAuthoritiesResp) UnmarshalBinary(b []byte) error
- func (m *AuthorityDeleteAuthoritiesResp) Validate(formats strfmt.Registry) error
- type AuthorityListAuthoritiesResp
- func (m *AuthorityListAuthoritiesResp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AuthorityListAuthoritiesResp) MarshalBinary() ([]byte, error)
- func (m *AuthorityListAuthoritiesResp) UnmarshalBinary(b []byte) error
- func (m *AuthorityListAuthoritiesResp) Validate(formats strfmt.Registry) error
- type DeleteAuthoritiesRespFailMessages
- func (m *DeleteAuthoritiesRespFailMessages) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteAuthoritiesRespFailMessages) MarshalBinary() ([]byte, error)
- func (m *DeleteAuthoritiesRespFailMessages) UnmarshalBinary(b []byte) error
- func (m *DeleteAuthoritiesRespFailMessages) Validate(formats strfmt.Registry) error
- type GatewayruntimeError
- type IdentityDeletePublicTokenReq
- func (m *IdentityDeletePublicTokenReq) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IdentityDeletePublicTokenReq) MarshalBinary() ([]byte, error)
- func (m *IdentityDeletePublicTokenReq) UnmarshalBinary(b []byte) error
- func (m *IdentityDeletePublicTokenReq) Validate(formats strfmt.Registry) error
- type IdentityGeneratePublicTokenReq
- func (m *IdentityGeneratePublicTokenReq) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IdentityGeneratePublicTokenReq) MarshalBinary() ([]byte, error)
- func (m *IdentityGeneratePublicTokenReq) UnmarshalBinary(b []byte) error
- func (m *IdentityGeneratePublicTokenReq) Validate(formats strfmt.Registry) error
- type IdentityListPublicTokenResp
- func (m *IdentityListPublicTokenResp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IdentityListPublicTokenResp) MarshalBinary() ([]byte, error)
- func (m *IdentityListPublicTokenResp) UnmarshalBinary(b []byte) error
- func (m *IdentityListPublicTokenResp) Validate(formats strfmt.Registry) error
- type IdentityLoginReq
- type IdentityLoginResp
- type IdentityRegisterReq
- type IdentityVerifyResp
- type ModelAPIToken
- type ModelActions
- type ModelAuthority
- type ModelCommonResp
- type ModelEnvironmentVariable
- func (m *ModelEnvironmentVariable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelEnvironmentVariable) MarshalBinary() ([]byte, error)
- func (m *ModelEnvironmentVariable) UnmarshalBinary(b []byte) error
- func (m *ModelEnvironmentVariable) Validate(formats strfmt.Registry) error
- type ModelError
- type ModelIdentity
- type ModelImage
- type ModelPod
- type ModelPort
- type ModelProject
- type ModelResource
- type ModelService
- type ModelToken
- type ModelTokenType
- type ProjectCreateProjectReq
- func (m *ProjectCreateProjectReq) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectCreateProjectReq) MarshalBinary() ([]byte, error)
- func (m *ProjectCreateProjectReq) UnmarshalBinary(b []byte) error
- func (m *ProjectCreateProjectReq) Validate(formats strfmt.Registry) error
- type ProjectGetServiceResp
- type ProjectListPodsResp
- type ProjectListServiceResp
- func (m *ProjectListServiceResp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectListServiceResp) MarshalBinary() ([]byte, error)
- func (m *ProjectListServiceResp) UnmarshalBinary(b []byte) error
- func (m *ProjectListServiceResp) Validate(formats strfmt.Registry) error
- type ProjectSetServiceReq
- type ProtobufAny
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 ¶
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
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
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
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
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 ¶
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
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
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
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this model actions based on context it is used
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 ¶
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
type ModelCommonResp ¶
type ModelCommonResp struct {
// error
Error *ModelError `json:"error,omitempty"`
}
ModelCommonResp no other return value.
swagger:model modelCommonResp
func (*ModelCommonResp) ContextValidate ¶
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
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this model pod based on context it is used
func (*ModelPod) MarshalBinary ¶
MarshalBinary interface implementation
func (*ModelPod) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this model port based on context it is used
func (*ModelPort) MarshalBinary ¶
MarshalBinary interface implementation
func (*ModelPort) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this model token type based on context it is used
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
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 ¶
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
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 ¶
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
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
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 ¶
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
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 ¶
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
Source Files
¶
- authority_authorities.go
- authority_delete_authorities_resp.go
- authority_list_authorities_resp.go
- delete_authorities_resp_fail_messages.go
- gatewayruntime_error.go
- identity_delete_public_token_req.go
- identity_generate_public_token_req.go
- identity_list_public_token_resp.go
- identity_login_req.go
- identity_login_resp.go
- identity_register_req.go
- identity_verify_resp.go
- model_actions.go
- model_api_token.go
- model_authority.go
- model_common_resp.go
- model_environment_variable.go
- model_error.go
- model_identity.go
- model_image.go
- model_pod.go
- model_port.go
- model_project.go
- model_resource.go
- model_service.go
- model_token.go
- model_token_type.go
- project_create_project_req.go
- project_get_service_resp.go
- project_list_pods_resp.go
- project_list_service_resp.go
- project_set_service_req.go
- protobuf_any.go