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) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Message ¶
type Message struct {
// message
// Required: true
Message *string `json:"message"`
}
Message message swagger:model Message
func (*Message) MarshalBinary ¶
MarshalBinary interface implementation
func (*Message) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Policy ¶ added in v0.1.13
type Policy struct {
// created time
// Read Only: true
CreatedTime int64 `json:"createdTime,omitempty"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// modified time
// Read Only: true
ModifiedTime int64 `json:"modifiedTime,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// rules
// Required: true
Rules []*Rule `json:"rules"`
// status
// Read Only: true
Status Status `json:"status,omitempty"`
}
Policy policy swagger:model Policy
func (*Policy) MarshalBinary ¶ added in v0.1.13
MarshalBinary interface implementation
func (*Policy) UnmarshalBinary ¶ added in v0.1.13
UnmarshalBinary interface implementation
type Redirect ¶
type Redirect struct {
// location
// Required: true
Location *string `json:"location"`
}
Redirect redirect swagger:model Redirect
func (*Redirect) MarshalBinary ¶
MarshalBinary interface implementation
func (*Redirect) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Rule ¶ added in v0.1.13
type Rule struct {
// actions
// Required: true
Actions []string `json:"actions"`
// resources
// Required: true
Resources []string `json:"resources"`
// subjects
// Required: true
Subjects []string `json:"subjects"`
}
Rule rule swagger:model Rule
func (*Rule) MarshalBinary ¶ added in v0.1.13
MarshalBinary interface implementation
func (*Rule) UnmarshalBinary ¶ added in v0.1.13
UnmarshalBinary interface implementation
type ServiceAccount ¶ added in v0.1.13
type ServiceAccount struct {
// created time
// Read Only: true
CreatedTime int64 `json:"createdTime,omitempty"`
// domain
// Pattern: ^[\w\d\-\.]+$
Domain string `json:"domain,omitempty"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// modified time
// Read Only: true
ModifiedTime int64 `json:"modifiedTime,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-\.]+$
Name *string `json:"name"`
// public key
// Required: true
PublicKey *string `json:"publicKey"`
// status
// Read Only: true
Status Status `json:"status,omitempty"`
}
ServiceAccount service account swagger:model ServiceAccount
func (*ServiceAccount) MarshalBinary ¶ added in v0.1.13
func (m *ServiceAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccount) UnmarshalBinary ¶ added in v0.1.13
func (m *ServiceAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Status ¶ added in v0.1.13
type Status string
Status status swagger:model Status
const ( // StatusCREATING captures enum value "CREATING" StatusCREATING Status = "CREATING" // StatusREADY captures enum value "READY" StatusREADY Status = "READY" // StatusUPDATING captures enum value "UPDATING" StatusUPDATING Status = "UPDATING" // StatusDELETING captures enum value "DELETING" StatusDELETING Status = "DELETING" // StatusERROR captures enum value "ERROR" StatusERROR Status = "ERROR" )