Documentation
¶
Index ¶
- Constants
- type AddGroupRequest
- type AddPolicyRequest
- type AddUserRequest
- type AdminInfoResponse
- type ArnsResponse
- type AwsConfiguration
- type AwsConfigurationSecretsmanager
- type AwsConfigurationSecretsmanagerCredentials
- type Bucket
- type BucketAccess
- type BucketEventRequest
- type BulkUserGroups
- type ConfigDescription
- type Configuration
- type ConfigurationKV
- type CreateTenantRequest
- type CreateTenantResponse
- type CreateTenantResponseConsole
- type DeleteTenantRequest
- type EncryptionConfiguration
- type Error
- type GemaltoConfiguration
- type GemaltoConfigurationKeysecure
- type GemaltoConfigurationKeysecureCredentials
- type GemaltoConfigurationKeysecureTLS
- type Group
- type IdpConfiguration
- type IdpConfigurationActiveDirectory
- type IdpConfigurationOidc
- type ImageRegistry
- type KeyPairConfiguration
- type ListBucketEventsResponse
- type ListBucketsResponse
- type ListConfigResponse
- type ListGroupsResponse
- type ListPoliciesResponse
- type ListTenantsResponse
- type ListUsersResponse
- type LoginDetails
- type LoginOauth2AuthRequest
- type LoginOperatorRequest
- type LoginRequest
- type LoginResponse
- type MakeBucketRequest
- type NodeSelectorTerm
- type NodeSelectorTermMatchExpressionsItems0
- type NodeSelectorTermMatchFieldsItems0
- type NofiticationService
- type NotifEndpointResponse
- type NotificationConfig
- type NotificationDeleteRequest
- type NotificationEndpoint
- type NotificationEndpointItem
- type NotificationEventType
- type PodAffinityTerm
- type PodAffinityTermLabelSelector
- type PodAffinityTermLabelSelectorMatchExpressionsItems0
- type Policy
- type PolicyEntity
- type Principal
- type ProfilerType
- type ProfilingStartRequest
- type ResourceQuota
- type ResourceQuotaElement
- type ServiceAccountCreds
- type ServiceAccountRequest
- type ServiceAccounts
- type SessionResponse
- type SetBucketPolicyRequest
- type SetConfigRequest
- type SetPolicyRequest
- type StartProfilingItem
- type StartProfilingList
- type TLSConfiguration
- type Tenant
- type TenantList
- type TenantUsage
- type UpdateGroupRequest
- type UpdateTenantRequest
- type UpdateUser
- type UpdateUserGroups
- type User
- type VaultConfiguration
- type VaultConfigurationApprole
- type VaultConfigurationStatus
- type VaultConfigurationTLS
- type Zone
- type ZoneAffinity
- type ZoneAffinityNodeAffinity
- type ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0
- func (m *ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
- func (m *ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
- func (m *ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
- type ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution
- func (m *ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) MarshalBinary() ([]byte, error)
- func (m *ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) UnmarshalBinary(b []byte) error
- func (m *ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) Validate(formats strfmt.Registry) error
- type ZoneAffinityPodAffinity
- type ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0
- func (m *ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
- func (m *ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
- func (m *ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
- type ZoneAffinityPodAntiAffinity
- type ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0
- func (m *ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
- func (m *ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
- func (m *ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
- type ZoneResources
- type ZoneTolerationSeconds
- type ZoneTolerations
- type ZoneTolerationsItems0
- type ZoneVolumeConfiguration
Constants ¶
const ( // LoginDetailsLoginStrategyForm captures enum value "form" LoginDetailsLoginStrategyForm string = "form" // LoginDetailsLoginStrategyRedirect captures enum value "redirect" LoginDetailsLoginStrategyRedirect string = "redirect" // LoginDetailsLoginStrategyServiceAccount captures enum value "service-account" LoginDetailsLoginStrategyServiceAccount string = "service-account" )
const ( // SessionResponseStatusOk captures enum value "ok" SessionResponseStatusOk string = "ok" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddGroupRequest ¶
type AddGroupRequest struct {
// group
// Required: true
Group *string `json:"group"`
// members
// Required: true
Members []string `json:"members"`
}
AddGroupRequest add group request
swagger:model addGroupRequest
func (*AddGroupRequest) MarshalBinary ¶
func (m *AddGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddGroupRequest) UnmarshalBinary ¶
func (m *AddGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddPolicyRequest ¶
type AddPolicyRequest struct {
// name
// Required: true
Name *string `json:"name"`
// policy
// Required: true
Policy *string `json:"policy"`
}
AddPolicyRequest add policy request
swagger:model addPolicyRequest
func (*AddPolicyRequest) MarshalBinary ¶
func (m *AddPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddPolicyRequest) UnmarshalBinary ¶
func (m *AddPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddUserRequest ¶
type AddUserRequest struct {
// access key
// Required: true
AccessKey *string `json:"accessKey"`
// groups
// Required: true
Groups []string `json:"groups"`
// secret key
// Required: true
SecretKey *string `json:"secretKey"`
}
AddUserRequest add user request
swagger:model addUserRequest
func (*AddUserRequest) MarshalBinary ¶
func (m *AddUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddUserRequest) UnmarshalBinary ¶
func (m *AddUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminInfoResponse ¶
type AdminInfoResponse struct {
// buckets
Buckets int64 `json:"buckets,omitempty"`
// objects
Objects int64 `json:"objects,omitempty"`
// usage
Usage int64 `json:"usage,omitempty"`
}
AdminInfoResponse admin info response
swagger:model adminInfoResponse
func (*AdminInfoResponse) MarshalBinary ¶
func (m *AdminInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminInfoResponse) UnmarshalBinary ¶
func (m *AdminInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ArnsResponse ¶
type ArnsResponse struct {
// arns
Arns []string `json:"arns"`
}
ArnsResponse arns response
swagger:model arnsResponse
func (*ArnsResponse) MarshalBinary ¶
func (m *ArnsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ArnsResponse) UnmarshalBinary ¶
func (m *ArnsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsConfiguration ¶ added in v0.3.4
type AwsConfiguration struct {
// secretsmanager
// Required: true
Secretsmanager *AwsConfigurationSecretsmanager `json:"secretsmanager"`
}
AwsConfiguration aws configuration
swagger:model awsConfiguration
func (*AwsConfiguration) MarshalBinary ¶ added in v0.3.4
func (m *AwsConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsConfiguration) UnmarshalBinary ¶ added in v0.3.4
func (m *AwsConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsConfigurationSecretsmanager ¶ added in v0.3.4
type AwsConfigurationSecretsmanager struct {
// credentials
// Required: true
Credentials *AwsConfigurationSecretsmanagerCredentials `json:"credentials"`
// endpoint
// Required: true
Endpoint *string `json:"endpoint"`
// kmskey
Kmskey string `json:"kmskey,omitempty"`
// region
// Required: true
Region *string `json:"region"`
}
AwsConfigurationSecretsmanager aws configuration secretsmanager
swagger:model AwsConfigurationSecretsmanager
func (*AwsConfigurationSecretsmanager) MarshalBinary ¶ added in v0.3.4
func (m *AwsConfigurationSecretsmanager) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsConfigurationSecretsmanager) UnmarshalBinary ¶ added in v0.3.4
func (m *AwsConfigurationSecretsmanager) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsConfigurationSecretsmanagerCredentials ¶ added in v0.3.4
type AwsConfigurationSecretsmanagerCredentials struct {
// accesskey
// Required: true
Accesskey *string `json:"accesskey"`
// secretkey
// Required: true
Secretkey *string `json:"secretkey"`
// token
Token string `json:"token,omitempty"`
}
AwsConfigurationSecretsmanagerCredentials aws configuration secretsmanager credentials
swagger:model AwsConfigurationSecretsmanagerCredentials
func (*AwsConfigurationSecretsmanagerCredentials) MarshalBinary ¶ added in v0.3.4
func (m *AwsConfigurationSecretsmanagerCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsConfigurationSecretsmanagerCredentials) UnmarshalBinary ¶ added in v0.3.4
func (m *AwsConfigurationSecretsmanagerCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Bucket ¶
type Bucket struct {
// access
Access BucketAccess `json:"access,omitempty"`
// creation date
CreationDate string `json:"creation_date,omitempty"`
// name
// Required: true
// Min Length: 3
Name *string `json:"name"`
// size
Size int64 `json:"size,omitempty"`
}
Bucket bucket
swagger:model bucket
func (*Bucket) MarshalBinary ¶
MarshalBinary interface implementation
func (*Bucket) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BucketAccess ¶
type BucketAccess string
BucketAccess bucket access
swagger:model bucketAccess
const ( // BucketAccessPRIVATE captures enum value "PRIVATE" BucketAccessPRIVATE BucketAccess = "PRIVATE" // BucketAccessPUBLIC captures enum value "PUBLIC" BucketAccessPUBLIC BucketAccess = "PUBLIC" // BucketAccessCUSTOM captures enum value "CUSTOM" BucketAccessCUSTOM BucketAccess = "CUSTOM" )
type BucketEventRequest ¶
type BucketEventRequest struct {
// configuration
// Required: true
Configuration *NotificationConfig `json:"configuration"`
// ignore existing
IgnoreExisting bool `json:"ignoreExisting,omitempty"`
}
BucketEventRequest bucket event request
swagger:model bucketEventRequest
func (*BucketEventRequest) MarshalBinary ¶
func (m *BucketEventRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketEventRequest) UnmarshalBinary ¶
func (m *BucketEventRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkUserGroups ¶
type BulkUserGroups struct {
// groups
// Required: true
Groups []string `json:"groups"`
// users
// Required: true
Users []string `json:"users"`
}
BulkUserGroups bulk user groups
swagger:model bulkUserGroups
func (*BulkUserGroups) MarshalBinary ¶
func (m *BulkUserGroups) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkUserGroups) UnmarshalBinary ¶
func (m *BulkUserGroups) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigDescription ¶
type ConfigDescription struct {
// description
Description string `json:"description,omitempty"`
// key
Key string `json:"key,omitempty"`
}
ConfigDescription config description
swagger:model configDescription
func (*ConfigDescription) MarshalBinary ¶
func (m *ConfigDescription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigDescription) UnmarshalBinary ¶
func (m *ConfigDescription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Configuration ¶
type Configuration struct {
// key values
KeyValues []*ConfigurationKV `json:"key_values"`
// name
Name string `json:"name,omitempty"`
}
Configuration configuration
swagger:model configuration
func (*Configuration) MarshalBinary ¶
func (m *Configuration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Configuration) UnmarshalBinary ¶
func (m *Configuration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigurationKV ¶
type ConfigurationKV struct {
// key
Key string `json:"key,omitempty"`
// value
Value string `json:"value,omitempty"`
}
ConfigurationKV configuration k v
swagger:model configurationKV
func (*ConfigurationKV) MarshalBinary ¶
func (m *ConfigurationKV) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigurationKV) UnmarshalBinary ¶
func (m *ConfigurationKV) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTenantRequest ¶
type CreateTenantRequest struct {
// access key
AccessKey string `json:"access_key,omitempty"`
// annotations
Annotations map[string]string `json:"annotations,omitempty"`
// console image
ConsoleImage string `json:"console_image,omitempty"`
// enable console
EnableConsole *bool `json:"enable_console,omitempty"`
// enable tls
EnableTLS *bool `json:"enable_tls,omitempty"`
// encryption
Encryption *EncryptionConfiguration `json:"encryption,omitempty"`
// erasure coding parity
ErasureCodingParity int64 `json:"erasureCodingParity,omitempty"`
// idp
Idp *IdpConfiguration `json:"idp,omitempty"`
// image
Image string `json:"image,omitempty"`
// image pull secret
ImagePullSecret string `json:"image_pull_secret,omitempty"`
// image registry
ImageRegistry *ImageRegistry `json:"image_registry,omitempty"`
// mounth path
MounthPath string `json:"mounth_path,omitempty"`
// name
// Required: true
// Pattern: ^[a-z0-9-]{3,63}$
Name *string `json:"name"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// secret key
SecretKey string `json:"secret_key,omitempty"`
// service name
ServiceName string `json:"service_name,omitempty"`
// tls
TLS *TLSConfiguration `json:"tls,omitempty"`
// zones
// Required: true
Zones []*Zone `json:"zones"`
}
CreateTenantRequest create tenant request
swagger:model createTenantRequest
func (*CreateTenantRequest) MarshalBinary ¶
func (m *CreateTenantRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTenantRequest) UnmarshalBinary ¶
func (m *CreateTenantRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTenantResponse ¶
type CreateTenantResponse struct {
// access key
AccessKey string `json:"access_key,omitempty"`
// console
Console *CreateTenantResponseConsole `json:"console,omitempty"`
// secret key
SecretKey string `json:"secret_key,omitempty"`
}
CreateTenantResponse create tenant response
swagger:model createTenantResponse
func (*CreateTenantResponse) MarshalBinary ¶
func (m *CreateTenantResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTenantResponse) UnmarshalBinary ¶
func (m *CreateTenantResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTenantResponseConsole ¶ added in v0.3.2
type CreateTenantResponseConsole struct {
// access key
AccessKey string `json:"access_key,omitempty"`
// secret key
SecretKey string `json:"secret_key,omitempty"`
}
CreateTenantResponseConsole create tenant response console
swagger:model CreateTenantResponseConsole
func (*CreateTenantResponseConsole) MarshalBinary ¶ added in v0.3.2
func (m *CreateTenantResponseConsole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTenantResponseConsole) UnmarshalBinary ¶ added in v0.3.2
func (m *CreateTenantResponseConsole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteTenantRequest ¶ added in v0.3.14
type DeleteTenantRequest struct {
// delete pvcs
DeletePvcs bool `json:"delete_pvcs,omitempty"`
}
DeleteTenantRequest delete tenant request
swagger:model deleteTenantRequest
func (*DeleteTenantRequest) MarshalBinary ¶ added in v0.3.14
func (m *DeleteTenantRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteTenantRequest) UnmarshalBinary ¶ added in v0.3.14
func (m *DeleteTenantRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionConfiguration ¶ added in v0.3.4
type EncryptionConfiguration struct {
// aws
Aws *AwsConfiguration `json:"aws,omitempty"`
// client
Client *KeyPairConfiguration `json:"client,omitempty"`
// gemalto
Gemalto *GemaltoConfiguration `json:"gemalto,omitempty"`
// image
Image string `json:"image,omitempty"`
// server
Server *KeyPairConfiguration `json:"server,omitempty"`
// vault
Vault *VaultConfiguration `json:"vault,omitempty"`
}
EncryptionConfiguration encryption configuration
swagger:model encryptionConfiguration
func (*EncryptionConfiguration) MarshalBinary ¶ added in v0.3.4
func (m *EncryptionConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionConfiguration) UnmarshalBinary ¶ added in v0.3.4
func (m *EncryptionConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 GemaltoConfiguration ¶ added in v0.3.4
type GemaltoConfiguration struct {
// keysecure
// Required: true
Keysecure *GemaltoConfigurationKeysecure `json:"keysecure"`
}
GemaltoConfiguration gemalto configuration
swagger:model gemaltoConfiguration
func (*GemaltoConfiguration) MarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GemaltoConfiguration) UnmarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GemaltoConfigurationKeysecure ¶ added in v0.3.4
type GemaltoConfigurationKeysecure struct {
// credentials
// Required: true
Credentials *GemaltoConfigurationKeysecureCredentials `json:"credentials"`
// endpoint
// Required: true
Endpoint *string `json:"endpoint"`
// tls
TLS *GemaltoConfigurationKeysecureTLS `json:"tls,omitempty"`
}
GemaltoConfigurationKeysecure gemalto configuration keysecure
swagger:model GemaltoConfigurationKeysecure
func (*GemaltoConfigurationKeysecure) MarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecure) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GemaltoConfigurationKeysecure) UnmarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecure) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GemaltoConfigurationKeysecureCredentials ¶ added in v0.3.4
type GemaltoConfigurationKeysecureCredentials struct {
// domain
// Required: true
Domain *string `json:"domain"`
// retry
Retry int64 `json:"retry,omitempty"`
// token
// Required: true
Token *string `json:"token"`
}
GemaltoConfigurationKeysecureCredentials gemalto configuration keysecure credentials
swagger:model GemaltoConfigurationKeysecureCredentials
func (*GemaltoConfigurationKeysecureCredentials) MarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecureCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GemaltoConfigurationKeysecureCredentials) UnmarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecureCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GemaltoConfigurationKeysecureTLS ¶ added in v0.3.4
type GemaltoConfigurationKeysecureTLS struct {
// ca
// Required: true
Ca *string `json:"ca"`
}
GemaltoConfigurationKeysecureTLS gemalto configuration keysecure TLS
swagger:model GemaltoConfigurationKeysecureTLS
func (*GemaltoConfigurationKeysecureTLS) MarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecureTLS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GemaltoConfigurationKeysecureTLS) UnmarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecureTLS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Group ¶
type Group struct {
// members
Members []string `json:"members"`
// name
Name string `json:"name,omitempty"`
// policy
Policy string `json:"policy,omitempty"`
// status
Status string `json:"status,omitempty"`
}
Group group
swagger:model group
func (*Group) MarshalBinary ¶
MarshalBinary interface implementation
func (*Group) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IdpConfiguration ¶ added in v0.3.5
type IdpConfiguration struct {
// active directory
ActiveDirectory *IdpConfigurationActiveDirectory `json:"active_directory,omitempty"`
// oidc
Oidc *IdpConfigurationOidc `json:"oidc,omitempty"`
}
IdpConfiguration idp configuration
swagger:model idpConfiguration
func (*IdpConfiguration) MarshalBinary ¶ added in v0.3.5
func (m *IdpConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdpConfiguration) UnmarshalBinary ¶ added in v0.3.5
func (m *IdpConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdpConfigurationActiveDirectory ¶ added in v0.3.5
type IdpConfigurationActiveDirectory struct {
// group name attribute
GroupNameAttribute string `json:"group_name_attribute,omitempty"`
// group search base dn
GroupSearchBaseDn string `json:"group_search_base_dn,omitempty"`
// group search filter
GroupSearchFilter string `json:"group_search_filter,omitempty"`
// server insecure
ServerInsecure bool `json:"server_insecure,omitempty"`
// skip tls verification
SkipTLSVerification bool `json:"skip_tls_verification,omitempty"`
// url
// Required: true
URL *string `json:"url"`
// user search filter
// Required: true
UserSearchFilter *string `json:"user_search_filter"`
// username format
// Required: true
UsernameFormat *string `json:"username_format"`
}
IdpConfigurationActiveDirectory idp configuration active directory
swagger:model IdpConfigurationActiveDirectory
func (*IdpConfigurationActiveDirectory) MarshalBinary ¶ added in v0.3.5
func (m *IdpConfigurationActiveDirectory) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdpConfigurationActiveDirectory) UnmarshalBinary ¶ added in v0.3.5
func (m *IdpConfigurationActiveDirectory) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdpConfigurationOidc ¶ added in v0.3.5
type IdpConfigurationOidc struct {
// client id
// Required: true
ClientID *string `json:"client_id"`
// secret id
// Required: true
SecretID *string `json:"secret_id"`
// url
// Required: true
URL *string `json:"url"`
}
IdpConfigurationOidc idp configuration oidc
swagger:model IdpConfigurationOidc
func (*IdpConfigurationOidc) MarshalBinary ¶ added in v0.3.5
func (m *IdpConfigurationOidc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdpConfigurationOidc) UnmarshalBinary ¶ added in v0.3.5
func (m *IdpConfigurationOidc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageRegistry ¶ added in v0.3.7
type ImageRegistry struct {
// password
// Required: true
Password *string `json:"password"`
// registry
// Required: true
Registry *string `json:"registry"`
// username
// Required: true
Username *string `json:"username"`
}
ImageRegistry image registry
swagger:model imageRegistry
func (*ImageRegistry) MarshalBinary ¶ added in v0.3.7
func (m *ImageRegistry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageRegistry) UnmarshalBinary ¶ added in v0.3.7
func (m *ImageRegistry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyPairConfiguration ¶ added in v0.3.10
type KeyPairConfiguration struct {
// crt
// Required: true
Crt *string `json:"crt"`
// key
// Required: true
Key *string `json:"key"`
}
KeyPairConfiguration key pair configuration
swagger:model keyPairConfiguration
func (*KeyPairConfiguration) MarshalBinary ¶ added in v0.3.10
func (m *KeyPairConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeyPairConfiguration) UnmarshalBinary ¶ added in v0.3.10
func (m *KeyPairConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListBucketEventsResponse ¶
type ListBucketEventsResponse struct {
// events
Events []*NotificationConfig `json:"events"`
// total number of bucket events
Total int64 `json:"total,omitempty"`
}
ListBucketEventsResponse list bucket events response
swagger:model listBucketEventsResponse
func (*ListBucketEventsResponse) MarshalBinary ¶
func (m *ListBucketEventsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListBucketEventsResponse) UnmarshalBinary ¶
func (m *ListBucketEventsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListBucketsResponse ¶
type ListBucketsResponse struct {
// list of resulting buckets
Buckets []*Bucket `json:"buckets"`
// number of buckets accessible to tenant user
Total int64 `json:"total,omitempty"`
}
ListBucketsResponse list buckets response
swagger:model listBucketsResponse
func (*ListBucketsResponse) MarshalBinary ¶
func (m *ListBucketsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListBucketsResponse) UnmarshalBinary ¶
func (m *ListBucketsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListConfigResponse ¶
type ListConfigResponse struct {
// configurations
Configurations []*ConfigDescription `json:"configurations"`
// total number of configurations
Total int64 `json:"total,omitempty"`
}
ListConfigResponse list config response
swagger:model listConfigResponse
func (*ListConfigResponse) MarshalBinary ¶
func (m *ListConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListConfigResponse) UnmarshalBinary ¶
func (m *ListConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupsResponse ¶
type ListGroupsResponse struct {
// list of groups
Groups []string `json:"groups"`
// total number of groups
Total int64 `json:"total,omitempty"`
}
ListGroupsResponse list groups response
swagger:model listGroupsResponse
func (*ListGroupsResponse) MarshalBinary ¶
func (m *ListGroupsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupsResponse) UnmarshalBinary ¶
func (m *ListGroupsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPoliciesResponse ¶
type ListPoliciesResponse struct {
// list of policies
Policies []*Policy `json:"policies"`
// total number of policies
Total int64 `json:"total,omitempty"`
}
ListPoliciesResponse list policies response
swagger:model listPoliciesResponse
func (*ListPoliciesResponse) MarshalBinary ¶
func (m *ListPoliciesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPoliciesResponse) UnmarshalBinary ¶
func (m *ListPoliciesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTenantsResponse ¶
type ListTenantsResponse struct {
// list of resulting tenants
Tenants []*TenantList `json:"tenants"`
// number of tenants accessible to tenant user
Total int64 `json:"total,omitempty"`
}
ListTenantsResponse list tenants response
swagger:model listTenantsResponse
func (*ListTenantsResponse) MarshalBinary ¶
func (m *ListTenantsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTenantsResponse) UnmarshalBinary ¶
func (m *ListTenantsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListUsersResponse ¶
type ListUsersResponse struct {
// list of resulting users
Users []*User `json:"users"`
}
ListUsersResponse list users response
swagger:model listUsersResponse
func (*ListUsersResponse) MarshalBinary ¶
func (m *ListUsersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListUsersResponse) UnmarshalBinary ¶
func (m *ListUsersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginDetails ¶
type LoginDetails struct {
// login strategy
// Enum: [form redirect service-account]
LoginStrategy string `json:"loginStrategy,omitempty"`
// redirect
Redirect string `json:"redirect,omitempty"`
}
LoginDetails login details
swagger:model loginDetails
func (*LoginDetails) MarshalBinary ¶
func (m *LoginDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginDetails) UnmarshalBinary ¶
func (m *LoginDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginOauth2AuthRequest ¶
type LoginOauth2AuthRequest struct {
// code
// Required: true
Code *string `json:"code"`
// state
// Required: true
State *string `json:"state"`
}
LoginOauth2AuthRequest login oauth2 auth request
swagger:model loginOauth2AuthRequest
func (*LoginOauth2AuthRequest) MarshalBinary ¶
func (m *LoginOauth2AuthRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginOauth2AuthRequest) UnmarshalBinary ¶
func (m *LoginOauth2AuthRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginOperatorRequest ¶
type LoginOperatorRequest struct {
// jwt
// Required: true
Jwt *string `json:"jwt"`
}
LoginOperatorRequest login operator request
swagger:model loginOperatorRequest
func (*LoginOperatorRequest) MarshalBinary ¶
func (m *LoginOperatorRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginOperatorRequest) UnmarshalBinary ¶
func (m *LoginOperatorRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginRequest ¶
type LoginRequest struct {
// access key
// Required: true
AccessKey *string `json:"accessKey"`
// secret key
// Required: true
SecretKey *string `json:"secretKey"`
}
LoginRequest login request
swagger:model loginRequest
func (*LoginRequest) MarshalBinary ¶
func (m *LoginRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginRequest) UnmarshalBinary ¶
func (m *LoginRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginResponse ¶
type LoginResponse struct {
// session Id
SessionID string `json:"sessionId,omitempty"`
}
LoginResponse login response
swagger:model loginResponse
func (*LoginResponse) MarshalBinary ¶
func (m *LoginResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginResponse) UnmarshalBinary ¶
func (m *LoginResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MakeBucketRequest ¶
type MakeBucketRequest struct {
// name
// Required: true
Name *string `json:"name"`
}
MakeBucketRequest make bucket request
swagger:model makeBucketRequest
func (*MakeBucketRequest) MarshalBinary ¶
func (m *MakeBucketRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MakeBucketRequest) UnmarshalBinary ¶
func (m *MakeBucketRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeSelectorTerm ¶ added in v0.3.1
type NodeSelectorTerm struct {
// A list of node selector requirements by node's labels.
MatchExpressions []*NodeSelectorTermMatchExpressionsItems0 `json:"matchExpressions"`
// A list of node selector requirements by node's fields.
MatchFields []*NodeSelectorTermMatchFieldsItems0 `json:"matchFields"`
}
NodeSelectorTerm A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
swagger:model nodeSelectorTerm
func (*NodeSelectorTerm) MarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTerm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeSelectorTerm) UnmarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTerm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeSelectorTermMatchExpressionsItems0 ¶ added in v0.3.1
type NodeSelectorTermMatchExpressionsItems0 struct {
// The label key that the selector applies to.
// Required: true
Key *string `json:"key"`
// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
// Required: true
Operator *string `json:"operator"`
// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
Values []string `json:"values"`
}
NodeSelectorTermMatchExpressionsItems0 A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
swagger:model NodeSelectorTermMatchExpressionsItems0
func (*NodeSelectorTermMatchExpressionsItems0) MarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTermMatchExpressionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeSelectorTermMatchExpressionsItems0) UnmarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTermMatchExpressionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeSelectorTermMatchFieldsItems0 ¶ added in v0.3.1
type NodeSelectorTermMatchFieldsItems0 struct {
// The label key that the selector applies to.
// Required: true
Key *string `json:"key"`
// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
// Required: true
Operator *string `json:"operator"`
// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
Values []string `json:"values"`
}
NodeSelectorTermMatchFieldsItems0 A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
swagger:model NodeSelectorTermMatchFieldsItems0
func (*NodeSelectorTermMatchFieldsItems0) MarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTermMatchFieldsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeSelectorTermMatchFieldsItems0) UnmarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTermMatchFieldsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NofiticationService ¶
type NofiticationService string
NofiticationService nofitication service
swagger:model nofiticationService
const ( // NofiticationServiceWebhook captures enum value "webhook" NofiticationServiceWebhook NofiticationService = "webhook" // NofiticationServiceAmqp captures enum value "amqp" NofiticationServiceAmqp NofiticationService = "amqp" // NofiticationServiceKafka captures enum value "kafka" NofiticationServiceKafka NofiticationService = "kafka" // NofiticationServiceMqtt captures enum value "mqtt" NofiticationServiceMqtt NofiticationService = "mqtt" // NofiticationServiceNats captures enum value "nats" NofiticationServiceNats NofiticationService = "nats" // NofiticationServiceNsq captures enum value "nsq" NofiticationServiceNsq NofiticationService = "nsq" // NofiticationServiceMysql captures enum value "mysql" NofiticationServiceMysql NofiticationService = "mysql" // NofiticationServicePostgres captures enum value "postgres" NofiticationServicePostgres NofiticationService = "postgres" // NofiticationServiceElasticsearch captures enum value "elasticsearch" NofiticationServiceElasticsearch NofiticationService = "elasticsearch" // NofiticationServiceRedis captures enum value "redis" NofiticationServiceRedis NofiticationService = "redis" )
type NotifEndpointResponse ¶
type NotifEndpointResponse struct {
// notification endpoints
NotificationEndpoints []*NotificationEndpointItem `json:"notification_endpoints"`
}
NotifEndpointResponse notif endpoint response
swagger:model notifEndpointResponse
func (*NotifEndpointResponse) MarshalBinary ¶
func (m *NotifEndpointResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotifEndpointResponse) UnmarshalBinary ¶
func (m *NotifEndpointResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationConfig ¶
type NotificationConfig struct {
// arn
// Required: true
Arn *string `json:"arn"`
// filter specific type of event. Defaults to all event (default: '[put,delete,get]')
Events []NotificationEventType `json:"events"`
// id
ID string `json:"id,omitempty"`
// filter event associated to the specified prefix
Prefix string `json:"prefix,omitempty"`
// filter event associated to the specified suffix
Suffix string `json:"suffix,omitempty"`
}
NotificationConfig notification config
swagger:model notificationConfig
func (*NotificationConfig) MarshalBinary ¶
func (m *NotificationConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationConfig) UnmarshalBinary ¶
func (m *NotificationConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationDeleteRequest ¶
type NotificationDeleteRequest struct {
// filter specific type of event. Defaults to all event (default: '[put,delete,get]')
// Required: true
// Min Length: 1
Events []NotificationEventType `json:"events"`
// filter event associated to the specified prefix
// Required: true
Prefix *string `json:"prefix"`
// filter event associated to the specified suffix
// Required: true
Suffix *string `json:"suffix"`
}
NotificationDeleteRequest notification delete request
swagger:model notificationDeleteRequest
func (*NotificationDeleteRequest) MarshalBinary ¶
func (m *NotificationDeleteRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationDeleteRequest) UnmarshalBinary ¶
func (m *NotificationDeleteRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationEndpoint ¶
type NotificationEndpoint struct {
// account id
// Required: true
AccountID *string `json:"account_id"`
// properties
// Required: true
Properties map[string]string `json:"properties"`
// service
// Required: true
Service NofiticationService `json:"service"`
}
NotificationEndpoint notification endpoint
swagger:model notificationEndpoint
func (*NotificationEndpoint) MarshalBinary ¶
func (m *NotificationEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationEndpoint) UnmarshalBinary ¶
func (m *NotificationEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationEndpointItem ¶
type NotificationEndpointItem struct {
// account id
AccountID string `json:"account_id,omitempty"`
// service
Service NofiticationService `json:"service,omitempty"`
// status
Status string `json:"status,omitempty"`
}
NotificationEndpointItem notification endpoint item
swagger:model notificationEndpointItem
func (*NotificationEndpointItem) MarshalBinary ¶
func (m *NotificationEndpointItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationEndpointItem) UnmarshalBinary ¶
func (m *NotificationEndpointItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationEventType ¶
type NotificationEventType string
NotificationEventType notification event type
swagger:model notificationEventType
const ( // NotificationEventTypePut captures enum value "put" NotificationEventTypePut NotificationEventType = "put" // NotificationEventTypeDelete captures enum value "delete" NotificationEventTypeDelete NotificationEventType = "delete" // NotificationEventTypeGet captures enum value "get" NotificationEventTypeGet NotificationEventType = "get" )
type PodAffinityTerm ¶ added in v0.3.1
type PodAffinityTerm struct {
// label selector
LabelSelector *PodAffinityTermLabelSelector `json:"labelSelector,omitempty"`
// namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace"
Namespaces []string `json:"namespaces"`
// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
// Required: true
TopologyKey *string `json:"topologyKey"`
}
PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
swagger:model podAffinityTerm
func (*PodAffinityTerm) MarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTerm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PodAffinityTerm) UnmarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTerm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PodAffinityTermLabelSelector ¶ added in v0.3.1
type PodAffinityTermLabelSelector struct {
// matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions []*PodAffinityTermLabelSelectorMatchExpressionsItems0 `json:"matchExpressions"`
// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels map[string]string `json:"matchLabels,omitempty"`
}
PodAffinityTermLabelSelector A label query over a set of resources, in this case pods.
swagger:model PodAffinityTermLabelSelector
func (*PodAffinityTermLabelSelector) MarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTermLabelSelector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PodAffinityTermLabelSelector) UnmarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTermLabelSelector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PodAffinityTermLabelSelectorMatchExpressionsItems0 ¶ added in v0.3.1
type PodAffinityTermLabelSelectorMatchExpressionsItems0 struct {
// key is the label key that the selector applies to.
// Required: true
Key *string `json:"key"`
// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
// Required: true
Operator *string `json:"operator"`
// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
Values []string `json:"values"`
}
PodAffinityTermLabelSelectorMatchExpressionsItems0 A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
swagger:model PodAffinityTermLabelSelectorMatchExpressionsItems0
func (*PodAffinityTermLabelSelectorMatchExpressionsItems0) MarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTermLabelSelectorMatchExpressionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PodAffinityTermLabelSelectorMatchExpressionsItems0) UnmarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTermLabelSelectorMatchExpressionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Policy ¶
type Policy struct {
// name
Name string `json:"name,omitempty"`
// policy
Policy string `json:"policy,omitempty"`
}
Policy policy
swagger:model policy
func (*Policy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Policy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PolicyEntity ¶
type PolicyEntity string
PolicyEntity policy entity
swagger:model policyEntity
const ( // PolicyEntityUser captures enum value "user" PolicyEntityUser PolicyEntity = "user" // PolicyEntityGroup captures enum value "group" PolicyEntityGroup PolicyEntity = "group" )
type Principal ¶
type Principal struct {
// access key ID
AccessKeyID string `json:"accessKeyID,omitempty"`
// actions
Actions []string `json:"actions"`
// secret access key
SecretAccessKey string `json:"secretAccessKey,omitempty"`
// session token
SessionToken string `json:"sessionToken,omitempty"`
}
Principal principal
swagger:model principal
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ProfilerType ¶
type ProfilerType string
ProfilerType profiler type
swagger:model profilerType
const ( // ProfilerTypeCPU captures enum value "cpu" ProfilerTypeCPU ProfilerType = "cpu" // ProfilerTypeMem captures enum value "mem" ProfilerTypeMem ProfilerType = "mem" // ProfilerTypeBlock captures enum value "block" ProfilerTypeBlock ProfilerType = "block" // ProfilerTypeMutex captures enum value "mutex" ProfilerTypeMutex ProfilerType = "mutex" // ProfilerTypeTrace captures enum value "trace" ProfilerTypeTrace ProfilerType = "trace" // ProfilerTypeThreads captures enum value "threads" ProfilerTypeThreads ProfilerType = "threads" // ProfilerTypeGoroutines captures enum value "goroutines" ProfilerTypeGoroutines ProfilerType = "goroutines" )
type ProfilingStartRequest ¶
type ProfilingStartRequest struct {
// type
// Required: true
Type ProfilerType `json:"type"`
}
ProfilingStartRequest profiling start request
swagger:model profilingStartRequest
func (*ProfilingStartRequest) MarshalBinary ¶
func (m *ProfilingStartRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProfilingStartRequest) UnmarshalBinary ¶
func (m *ProfilingStartRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceQuota ¶
type ResourceQuota struct {
// elements
Elements []*ResourceQuotaElement `json:"elements"`
// name
Name string `json:"name,omitempty"`
}
ResourceQuota resource quota
swagger:model resourceQuota
func (*ResourceQuota) MarshalBinary ¶
func (m *ResourceQuota) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceQuota) UnmarshalBinary ¶
func (m *ResourceQuota) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceQuotaElement ¶
type ResourceQuotaElement struct {
// hard
Hard int64 `json:"hard,omitempty"`
// name
Name string `json:"name,omitempty"`
// used
Used int64 `json:"used,omitempty"`
}
ResourceQuotaElement resource quota element
swagger:model resourceQuotaElement
func (*ResourceQuotaElement) MarshalBinary ¶
func (m *ResourceQuotaElement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceQuotaElement) UnmarshalBinary ¶
func (m *ResourceQuotaElement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccountCreds ¶
type ServiceAccountCreds struct {
// access key
AccessKey string `json:"accessKey,omitempty"`
// secret key
SecretKey string `json:"secretKey,omitempty"`
}
ServiceAccountCreds service account creds
swagger:model serviceAccountCreds
func (*ServiceAccountCreds) MarshalBinary ¶
func (m *ServiceAccountCreds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccountCreds) UnmarshalBinary ¶
func (m *ServiceAccountCreds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccountRequest ¶
type ServiceAccountRequest struct {
// policy to be applied to the Service Account if any
Policy string `json:"policy,omitempty"`
}
ServiceAccountRequest service account request
swagger:model serviceAccountRequest
func (*ServiceAccountRequest) MarshalBinary ¶
func (m *ServiceAccountRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccountRequest) UnmarshalBinary ¶
func (m *ServiceAccountRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccounts ¶
type ServiceAccounts []string
ServiceAccounts service accounts
swagger:model serviceAccounts
type SessionResponse ¶
type SessionResponse struct {
// pages
Pages []string `json:"pages"`
// status
// Enum: [ok]
Status string `json:"status,omitempty"`
}
SessionResponse session response
swagger:model sessionResponse
func (*SessionResponse) MarshalBinary ¶
func (m *SessionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SessionResponse) UnmarshalBinary ¶
func (m *SessionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetBucketPolicyRequest ¶
type SetBucketPolicyRequest struct {
// access
// Required: true
Access BucketAccess `json:"access"`
}
SetBucketPolicyRequest set bucket policy request
swagger:model setBucketPolicyRequest
func (*SetBucketPolicyRequest) MarshalBinary ¶
func (m *SetBucketPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetBucketPolicyRequest) UnmarshalBinary ¶
func (m *SetBucketPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetConfigRequest ¶
type SetConfigRequest struct {
// Used if configuration is an event notification's target
ArnResourceID string `json:"arn_resource_id,omitempty"`
// key values
// Required: true
// Min Items: 1
KeyValues []*ConfigurationKV `json:"key_values"`
}
SetConfigRequest set config request
swagger:model setConfigRequest
func (*SetConfigRequest) MarshalBinary ¶
func (m *SetConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetConfigRequest) UnmarshalBinary ¶
func (m *SetConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetPolicyRequest ¶
type SetPolicyRequest struct {
// entity name
// Required: true
EntityName *string `json:"entityName"`
// entity type
// Required: true
EntityType PolicyEntity `json:"entityType"`
}
SetPolicyRequest set policy request
swagger:model setPolicyRequest
func (*SetPolicyRequest) MarshalBinary ¶
func (m *SetPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetPolicyRequest) UnmarshalBinary ¶
func (m *SetPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartProfilingItem ¶
type StartProfilingItem struct {
// error
Error string `json:"error,omitempty"`
// node name
NodeName string `json:"nodeName,omitempty"`
// success
Success bool `json:"success,omitempty"`
}
StartProfilingItem start profiling item
swagger:model startProfilingItem
func (*StartProfilingItem) MarshalBinary ¶
func (m *StartProfilingItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartProfilingItem) UnmarshalBinary ¶
func (m *StartProfilingItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartProfilingList ¶
type StartProfilingList struct {
// start results
StartResults []*StartProfilingItem `json:"startResults"`
// number of start results
Total int64 `json:"total,omitempty"`
}
StartProfilingList start profiling list
swagger:model startProfilingList
func (*StartProfilingList) MarshalBinary ¶
func (m *StartProfilingList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartProfilingList) UnmarshalBinary ¶
func (m *StartProfilingList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TLSConfiguration ¶ added in v0.3.4
type TLSConfiguration struct {
// console
Console *KeyPairConfiguration `json:"console,omitempty"`
// minio
Minio *KeyPairConfiguration `json:"minio,omitempty"`
}
TLSConfiguration tls configuration
swagger:model tlsConfiguration
func (*TLSConfiguration) MarshalBinary ¶ added in v0.3.4
func (m *TLSConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TLSConfiguration) UnmarshalBinary ¶ added in v0.3.4
func (m *TLSConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Tenant ¶
type Tenant struct {
// creation date
CreationDate string `json:"creation_date,omitempty"`
// current state
CurrentState string `json:"currentState,omitempty"`
// image
Image string `json:"image,omitempty"`
// name
Name string `json:"name,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// total size
TotalSize int64 `json:"total_size,omitempty"`
// zones
Zones []*Zone `json:"zones"`
}
Tenant tenant
swagger:model tenant
func (*Tenant) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tenant) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TenantList ¶
type TenantList struct {
// creation date
CreationDate string `json:"creation_date,omitempty"`
// current state
CurrentState string `json:"currentState,omitempty"`
// instance count
InstanceCount int64 `json:"instance_count,omitempty"`
// name
Name string `json:"name,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// total size
TotalSize int64 `json:"total_size,omitempty"`
// volume count
VolumeCount int64 `json:"volume_count,omitempty"`
// zone count
ZoneCount int64 `json:"zone_count,omitempty"`
}
TenantList tenant list
swagger:model tenantList
func (*TenantList) MarshalBinary ¶
func (m *TenantList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TenantList) UnmarshalBinary ¶
func (m *TenantList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TenantUsage ¶ added in v0.3.1
type TenantUsage struct {
// disk used
DiskUsed int64 `json:"disk_used,omitempty"`
// used
Used int64 `json:"used,omitempty"`
}
TenantUsage tenant usage
swagger:model tenantUsage
func (*TenantUsage) MarshalBinary ¶ added in v0.3.1
func (m *TenantUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TenantUsage) UnmarshalBinary ¶ added in v0.3.1
func (m *TenantUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateGroupRequest ¶
type UpdateGroupRequest struct {
// members
// Required: true
Members []string `json:"members"`
// status
// Required: true
Status *string `json:"status"`
}
UpdateGroupRequest update group request
swagger:model updateGroupRequest
func (*UpdateGroupRequest) MarshalBinary ¶
func (m *UpdateGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateGroupRequest) UnmarshalBinary ¶
func (m *UpdateGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateTenantRequest ¶
type UpdateTenantRequest struct {
// console image
// Pattern: ^((.*?)/(.*?):(.+))$
ConsoleImage string `json:"console_image,omitempty"`
// image
// Pattern: ^((.*?)/(.*?):(.+))$
Image string `json:"image,omitempty"`
// image pull secret
ImagePullSecret string `json:"image_pull_secret,omitempty"`
// image registry
ImageRegistry *ImageRegistry `json:"image_registry,omitempty"`
}
UpdateTenantRequest update tenant request
swagger:model updateTenantRequest
func (*UpdateTenantRequest) MarshalBinary ¶
func (m *UpdateTenantRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateTenantRequest) UnmarshalBinary ¶
func (m *UpdateTenantRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUser ¶
type UpdateUser struct {
// groups
// Required: true
Groups []string `json:"groups"`
// status
// Required: true
Status *string `json:"status"`
}
UpdateUser update user
swagger:model updateUser
func (*UpdateUser) MarshalBinary ¶
func (m *UpdateUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUser) UnmarshalBinary ¶
func (m *UpdateUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserGroups ¶
type UpdateUserGroups struct {
// groups
// Required: true
Groups []string `json:"groups"`
}
UpdateUserGroups update user groups
swagger:model updateUserGroups
func (*UpdateUserGroups) MarshalBinary ¶
func (m *UpdateUserGroups) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUserGroups) UnmarshalBinary ¶
func (m *UpdateUserGroups) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct {
// access key
AccessKey string `json:"accessKey,omitempty"`
// member of
MemberOf []string `json:"memberOf"`
// policy
Policy string `json:"policy,omitempty"`
// status
Status string `json:"status,omitempty"`
}
User user
swagger:model user
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VaultConfiguration ¶ added in v0.3.4
type VaultConfiguration struct {
// approle
// Required: true
Approle *VaultConfigurationApprole `json:"approle"`
// endpoint
// Required: true
Endpoint *string `json:"endpoint"`
// engine
Engine string `json:"engine,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// prefix
Prefix string `json:"prefix,omitempty"`
// status
Status *VaultConfigurationStatus `json:"status,omitempty"`
// tls
TLS *VaultConfigurationTLS `json:"tls,omitempty"`
}
VaultConfiguration vault configuration
swagger:model vaultConfiguration
func (*VaultConfiguration) MarshalBinary ¶ added in v0.3.4
func (m *VaultConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VaultConfiguration) UnmarshalBinary ¶ added in v0.3.4
func (m *VaultConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VaultConfigurationApprole ¶ added in v0.3.4
type VaultConfigurationApprole struct {
// engine
Engine string `json:"engine,omitempty"`
// id
// Required: true
ID *string `json:"id"`
// retry
Retry int64 `json:"retry,omitempty"`
// secret
// Required: true
Secret *string `json:"secret"`
}
VaultConfigurationApprole vault configuration approle
swagger:model VaultConfigurationApprole
func (*VaultConfigurationApprole) MarshalBinary ¶ added in v0.3.4
func (m *VaultConfigurationApprole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VaultConfigurationApprole) UnmarshalBinary ¶ added in v0.3.4
func (m *VaultConfigurationApprole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VaultConfigurationStatus ¶ added in v0.3.4
type VaultConfigurationStatus struct {
// ping
Ping int64 `json:"ping,omitempty"`
}
VaultConfigurationStatus vault configuration status
swagger:model VaultConfigurationStatus
func (*VaultConfigurationStatus) MarshalBinary ¶ added in v0.3.4
func (m *VaultConfigurationStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VaultConfigurationStatus) UnmarshalBinary ¶ added in v0.3.4
func (m *VaultConfigurationStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VaultConfigurationTLS ¶ added in v0.3.9
type VaultConfigurationTLS struct {
// ca
Ca string `json:"ca,omitempty"`
// crt
Crt string `json:"crt,omitempty"`
// key
Key string `json:"key,omitempty"`
}
VaultConfigurationTLS vault configuration TLS
swagger:model VaultConfigurationTLS
func (*VaultConfigurationTLS) MarshalBinary ¶ added in v0.3.9
func (m *VaultConfigurationTLS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VaultConfigurationTLS) UnmarshalBinary ¶ added in v0.3.9
func (m *VaultConfigurationTLS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Zone ¶
type Zone struct {
// affinity
Affinity *ZoneAffinity `json:"affinity,omitempty"`
// name
Name string `json:"name,omitempty"`
// NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
NodeSelector map[string]string `json:"node_selector,omitempty"`
// resources
Resources *ZoneResources `json:"resources,omitempty"`
// servers
// Required: true
Servers *int64 `json:"servers"`
// tolerations
Tolerations ZoneTolerations `json:"tolerations,omitempty"`
// volume configuration
// Required: true
VolumeConfiguration *ZoneVolumeConfiguration `json:"volume_configuration"`
// volumes per server
// Required: true
VolumesPerServer *int32 `json:"volumes_per_server"`
}
Zone zone
swagger:model zone
func (*Zone) MarshalBinary ¶
MarshalBinary interface implementation
func (*Zone) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ZoneAffinity ¶ added in v0.3.1
type ZoneAffinity struct {
// node affinity
NodeAffinity *ZoneAffinityNodeAffinity `json:"nodeAffinity,omitempty"`
// pod affinity
PodAffinity *ZoneAffinityPodAffinity `json:"podAffinity,omitempty"`
// pod anti affinity
PodAntiAffinity *ZoneAffinityPodAntiAffinity `json:"podAntiAffinity,omitempty"`
}
ZoneAffinity If specified, affinity will define the pod's scheduling constraints
swagger:model zoneAffinity
func (*ZoneAffinity) MarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneAffinity) UnmarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ZoneAffinityNodeAffinity ¶ added in v0.3.1
type ZoneAffinityNodeAffinity struct {
// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution []*ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 `json:"preferredDuringSchedulingIgnoredDuringExecution"`
// required during scheduling ignored during execution
RequiredDuringSchedulingIgnoredDuringExecution *ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
}
ZoneAffinityNodeAffinity Describes node affinity scheduling rules for the pod.
swagger:model ZoneAffinityNodeAffinity
func (*ZoneAffinityNodeAffinity) MarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityNodeAffinity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneAffinityNodeAffinity) UnmarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityNodeAffinity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 ¶ added in v0.3.1
type ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 struct {
// A node selector term, associated with the corresponding weight.
// Required: true
Preference *NodeSelectorTerm `json:"preference"`
// Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
// Required: true
Weight *int32 `json:"weight"`
}
ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
swagger:model ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0
func (*ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate ¶ added in v0.3.1
func (m *ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
Validate validates this zone affinity node affinity preferred during scheduling ignored during execution items0
type ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution ¶ added in v0.3.1
type ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution struct {
// Required. A list of node selector terms. The terms are ORed.
// Required: true
NodeSelectorTerms []*NodeSelectorTerm `json:"nodeSelectorTerms"`
}
ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.
swagger:model ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution
func (*ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) MarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) UnmarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) Validate ¶ added in v0.3.1
func (m *ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) Validate(formats strfmt.Registry) error
Validate validates this zone affinity node affinity required during scheduling ignored during execution
type ZoneAffinityPodAffinity ¶ added in v0.3.1
type ZoneAffinityPodAffinity struct {
// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution []*ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 `json:"preferredDuringSchedulingIgnoredDuringExecution"`
// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution []*PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution"`
}
ZoneAffinityPodAffinity Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
swagger:model ZoneAffinityPodAffinity
func (*ZoneAffinityPodAffinity) MarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityPodAffinity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneAffinityPodAffinity) UnmarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityPodAffinity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 ¶ added in v0.3.1
type ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 struct {
// pod affinity term
// Required: true
PodAffinityTerm *PodAffinityTerm `json:"podAffinityTerm"`
// weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
// Required: true
Weight *int32 `json:"weight"`
}
ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
swagger:model ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0
func (*ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate ¶ added in v0.3.1
func (m *ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
Validate validates this zone affinity pod affinity preferred during scheduling ignored during execution items0
type ZoneAffinityPodAntiAffinity ¶ added in v0.3.1
type ZoneAffinityPodAntiAffinity struct {
// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution []*ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 `json:"preferredDuringSchedulingIgnoredDuringExecution"`
// If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution []*PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution"`
}
ZoneAffinityPodAntiAffinity Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
swagger:model ZoneAffinityPodAntiAffinity
func (*ZoneAffinityPodAntiAffinity) MarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityPodAntiAffinity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneAffinityPodAntiAffinity) UnmarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityPodAntiAffinity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 ¶ added in v0.3.1
type ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 struct {
// pod affinity term
// Required: true
PodAffinityTerm *PodAffinityTerm `json:"podAffinityTerm"`
// weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
// Required: true
Weight *int32 `json:"weight"`
}
ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
swagger:model ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0
func (*ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary ¶ added in v0.3.1
func (m *ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate ¶ added in v0.3.1
func (m *ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
Validate validates this zone affinity pod anti affinity preferred during scheduling ignored during execution items0
type ZoneResources ¶ added in v0.3.1
type ZoneResources struct {
// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
Limits map[string]int64 `json:"limits,omitempty"`
// Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
Requests map[string]int64 `json:"requests,omitempty"`
}
ZoneResources If provided, use these requests and limit for cpu/memory resource allocation
swagger:model zoneResources
func (*ZoneResources) MarshalBinary ¶ added in v0.3.1
func (m *ZoneResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneResources) UnmarshalBinary ¶ added in v0.3.1
func (m *ZoneResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ZoneTolerationSeconds ¶ added in v0.3.9
type ZoneTolerationSeconds struct {
// seconds
// Required: true
Seconds *int64 `json:"seconds"`
}
ZoneTolerationSeconds TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
swagger:model zoneTolerationSeconds
func (*ZoneTolerationSeconds) MarshalBinary ¶ added in v0.3.9
func (m *ZoneTolerationSeconds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneTolerationSeconds) UnmarshalBinary ¶ added in v0.3.9
func (m *ZoneTolerationSeconds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ZoneTolerations ¶ added in v0.3.1
type ZoneTolerations []*ZoneTolerationsItems0
ZoneTolerations Tolerations allows users to set entries like effect, key, operator, value.
swagger:model zoneTolerations
type ZoneTolerationsItems0 ¶ added in v0.3.1
type ZoneTolerationsItems0 struct {
// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
Effect string `json:"effect,omitempty"`
// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
Key string `json:"key,omitempty"`
// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
Operator string `json:"operator,omitempty"`
// toleration seconds
TolerationSeconds *ZoneTolerationSeconds `json:"tolerationSeconds,omitempty"`
// Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
Value string `json:"value,omitempty"`
}
ZoneTolerationsItems0 The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
swagger:model ZoneTolerationsItems0
func (*ZoneTolerationsItems0) MarshalBinary ¶ added in v0.3.1
func (m *ZoneTolerationsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneTolerationsItems0) UnmarshalBinary ¶ added in v0.3.1
func (m *ZoneTolerationsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ZoneVolumeConfiguration ¶
type ZoneVolumeConfiguration struct {
// size
// Required: true
Size *int64 `json:"size"`
// storage class name
StorageClassName string `json:"storage_class_name,omitempty"`
}
ZoneVolumeConfiguration zone volume configuration
swagger:model ZoneVolumeConfiguration
func (*ZoneVolumeConfiguration) MarshalBinary ¶
func (m *ZoneVolumeConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneVolumeConfiguration) UnmarshalBinary ¶
func (m *ZoneVolumeConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- add_group_request.go
- add_policy_request.go
- add_user_request.go
- admin_info_response.go
- arns_response.go
- aws_configuration.go
- bucket.go
- bucket_access.go
- bucket_event_request.go
- bulk_user_groups.go
- config_description.go
- configuration.go
- configuration_k_v.go
- create_tenant_request.go
- create_tenant_response.go
- delete_tenant_request.go
- encryption_configuration.go
- error.go
- gemalto_configuration.go
- group.go
- idp_configuration.go
- image_registry.go
- key_pair_configuration.go
- list_bucket_events_response.go
- list_buckets_response.go
- list_config_response.go
- list_groups_response.go
- list_policies_response.go
- list_tenants_response.go
- list_users_response.go
- login_details.go
- login_oauth2_auth_request.go
- login_operator_request.go
- login_request.go
- login_response.go
- make_bucket_request.go
- node_selector_term.go
- nofitication_service.go
- notif_endpoint_response.go
- notification_config.go
- notification_delete_request.go
- notification_endpoint.go
- notification_endpoint_item.go
- notification_event_type.go
- pod_affinity_term.go
- policy.go
- policy_entity.go
- principal.go
- profiler_type.go
- profiling_start_request.go
- resource_quota.go
- resource_quota_element.go
- service_account_creds.go
- service_account_request.go
- service_accounts.go
- session_response.go
- set_bucket_policy_request.go
- set_config_request.go
- set_policy_request.go
- start_profiling_item.go
- start_profiling_list.go
- tenant.go
- tenant_list.go
- tenant_usage.go
- tls_configuration.go
- update_group_request.go
- update_tenant_request.go
- update_user.go
- update_user_groups.go
- user.go
- vault_configuration.go
- zone.go
- zone_affinity.go
- zone_resources.go
- zone_toleration_seconds.go
- zone_tolerations.go