models

package
v0.3.21 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: AGPL-3.0 Imports: 6 Imported by: 70

Documentation

Index

Constants

View Source
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"
)
View Source
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

func (*AddGroupRequest) Validate

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

Validate validates this add group request

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

func (*AddPolicyRequest) Validate

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

Validate validates this add policy request

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

func (*AddUserRequest) Validate

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

Validate validates this add user request

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

func (*AdminInfoResponse) Validate

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

Validate validates this admin info response

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

func (*ArnsResponse) Validate

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

Validate validates this arns response

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

func (*AwsConfiguration) Validate added in v0.3.4

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

Validate validates this aws configuration

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

func (*AwsConfigurationSecretsmanager) Validate added in v0.3.4

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

Validate validates this aws configuration secretsmanager

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

func (*AwsConfigurationSecretsmanagerCredentials) Validate added in v0.3.4

Validate validates this aws configuration secretsmanager credentials

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

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

MarshalBinary interface implementation

func (*Bucket) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Bucket) Validate

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

Validate validates this bucket

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"
)

func (BucketAccess) Validate

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

Validate validates this bucket access

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

func (*BucketEventRequest) Validate

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

Validate validates this bucket event request

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

func (*BulkUserGroups) Validate

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

Validate validates this bulk user groups

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

func (*ConfigDescription) Validate

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

Validate validates this config description

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

func (*Configuration) Validate

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

Validate validates this configuration

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

func (*ConfigurationKV) Validate

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

Validate validates this configuration k v

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 prometheus
	EnablePrometheus *bool `json:"enable_prometheus,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

func (*CreateTenantRequest) Validate

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

Validate validates this create tenant request

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

func (*CreateTenantResponse) Validate

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

Validate validates this create tenant response

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

func (*CreateTenantResponseConsole) Validate added in v0.3.2

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

Validate validates this create tenant response console

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

func (*DeleteTenantRequest) Validate added in v0.3.14

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

Validate validates this delete tenant request

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

func (*EncryptionConfiguration) Validate added in v0.3.4

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

Validate validates this encryption configuration

type Error

type Error struct {

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

	// message
	// Required: true
	Message *string `json:"message"`
}

Error error

swagger:model error

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type 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

func (*GemaltoConfiguration) Validate added in v0.3.4

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

Validate validates this gemalto configuration

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

func (*GemaltoConfigurationKeysecure) Validate added in v0.3.4

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

Validate validates this gemalto configuration keysecure

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

func (*GemaltoConfigurationKeysecureCredentials) Validate added in v0.3.4

Validate validates this gemalto configuration keysecure credentials

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

func (*GemaltoConfigurationKeysecureTLS) Validate added in v0.3.4

Validate validates this gemalto configuration keysecure TLS

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

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

MarshalBinary interface implementation

func (*Group) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Group) Validate

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

Validate validates this group

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

func (*IdpConfiguration) Validate added in v0.3.5

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

Validate validates this idp configuration

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

func (*IdpConfigurationActiveDirectory) Validate added in v0.3.5

Validate validates this idp configuration active directory

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

func (*IdpConfigurationOidc) Validate added in v0.3.5

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

Validate validates this idp configuration oidc

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

func (*ImageRegistry) Validate added in v0.3.7

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

Validate validates this image registry

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

func (*KeyPairConfiguration) Validate added in v0.3.10

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

Validate validates this key pair configuration

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

func (*ListBucketEventsResponse) Validate

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

Validate validates this list bucket events response

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

func (*ListBucketsResponse) Validate

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

Validate validates this list buckets response

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

func (*ListConfigResponse) Validate

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

Validate validates this list config response

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

func (*ListGroupsResponse) Validate

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

Validate validates this list groups response

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

func (*ListPoliciesResponse) Validate

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

Validate validates this list policies response

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

func (*ListTenantsResponse) Validate

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

Validate validates this list tenants response

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

func (*ListUsersResponse) Validate

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

Validate validates this list users response

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

func (*LoginDetails) Validate

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

Validate validates this login details

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

func (*LoginOauth2AuthRequest) Validate

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

Validate validates this login oauth2 auth request

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

func (*LoginOperatorRequest) Validate

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

Validate validates this login operator request

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

func (*LoginRequest) Validate

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

Validate validates this login request

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

func (*LoginResponse) Validate

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

Validate validates this login response

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

func (*MakeBucketRequest) Validate

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

Validate validates this make bucket request

type MaxAllocatableMemResponse added in v0.3.19

type MaxAllocatableMemResponse struct {

	// max memory
	MaxMemory int64 `json:"max_memory,omitempty"`
}

MaxAllocatableMemResponse max allocatable mem response

swagger:model maxAllocatableMemResponse

func (*MaxAllocatableMemResponse) MarshalBinary added in v0.3.19

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

MarshalBinary interface implementation

func (*MaxAllocatableMemResponse) UnmarshalBinary added in v0.3.19

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

UnmarshalBinary interface implementation

func (*MaxAllocatableMemResponse) Validate added in v0.3.19

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

Validate validates this max allocatable mem response

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

func (*NodeSelectorTerm) Validate added in v0.3.1

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

Validate validates this node selector term

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

func (*NodeSelectorTermMatchExpressionsItems0) Validate added in v0.3.1

Validate validates this node selector term match expressions items0

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

func (*NodeSelectorTermMatchFieldsItems0) Validate added in v0.3.1

Validate validates this node selector term match fields items0

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"
)

func (NofiticationService) Validate

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

Validate validates this nofitication service

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

func (*NotifEndpointResponse) Validate

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

Validate validates this notif endpoint response

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

func (*NotificationConfig) Validate

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

Validate validates this notification config

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

func (*NotificationDeleteRequest) Validate

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

Validate validates this notification delete request

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

func (*NotificationEndpoint) Validate

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

Validate validates this notification endpoint

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

func (*NotificationEndpointItem) Validate

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

Validate validates this notification endpoint item

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"
)

func (NotificationEventType) Validate

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

Validate validates this notification event type

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

func (*PodAffinityTerm) Validate added in v0.3.1

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

Validate validates this pod affinity term

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

func (*PodAffinityTermLabelSelector) Validate added in v0.3.1

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

Validate validates this pod affinity term label selector

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

MarshalBinary interface implementation

func (*PodAffinityTermLabelSelectorMatchExpressionsItems0) UnmarshalBinary added in v0.3.1

UnmarshalBinary interface implementation

func (*PodAffinityTermLabelSelectorMatchExpressionsItems0) Validate added in v0.3.1

Validate validates this pod affinity term label selector match expressions items0

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

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

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Policy) Validate

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

Validate validates this policy

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"
)

func (PolicyEntity) Validate

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

Validate validates this policy entity

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

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

MarshalBinary interface implementation

func (*Principal) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Principal) Validate

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

Validate validates this principal

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"
)

func (ProfilerType) Validate

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

Validate validates this profiler type

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

func (*ProfilingStartRequest) Validate

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

Validate validates this profiling start request

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

func (*ResourceQuota) Validate

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

Validate validates this resource quota

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

func (*ResourceQuotaElement) Validate

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

Validate validates this resource quota element

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

func (*ServiceAccountCreds) Validate

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

Validate validates this service account creds

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

func (*ServiceAccountRequest) Validate

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

Validate validates this service account request

type ServiceAccounts

type ServiceAccounts []string

ServiceAccounts service accounts

swagger:model serviceAccounts

func (ServiceAccounts) Validate

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

Validate validates this service accounts

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

func (*SessionResponse) Validate

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

Validate validates this session response

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

func (*SetBucketPolicyRequest) Validate

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

Validate validates this set bucket policy request

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

func (*SetConfigRequest) Validate

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

Validate validates this set config request

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

func (*SetPolicyRequest) Validate

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

Validate validates this set policy request

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

func (*StartProfilingItem) Validate

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

Validate validates this start profiling item

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

func (*StartProfilingList) Validate

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

Validate validates this start profiling list

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

func (*TLSConfiguration) Validate added in v0.3.4

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

Validate validates this tls configuration

type Tenant

type Tenant struct {

	// console image
	ConsoleImage string `json:"console_image,omitempty"`

	// creation date
	CreationDate string `json:"creation_date,omitempty"`

	// current state
	CurrentState string `json:"currentState,omitempty"`

	// deletion date
	DeletionDate string `json:"deletion_date,omitempty"`

	// enable prometheus
	EnablePrometheus bool `json:"enable_prometheus,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

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

MarshalBinary interface implementation

func (*Tenant) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Tenant) Validate

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

Validate validates this tenant

type TenantList

type TenantList struct {

	// creation date
	CreationDate string `json:"creation_date,omitempty"`

	// current state
	CurrentState string `json:"currentState,omitempty"`

	// deletion date
	DeletionDate string `json:"deletion_date,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

func (*TenantList) Validate

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

Validate validates this tenant list

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

func (*TenantUsage) Validate added in v0.3.1

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

Validate validates this tenant usage

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

func (*UpdateGroupRequest) Validate

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

Validate validates this update group request

type UpdateTenantRequest

type UpdateTenantRequest struct {

	// console image
	// Pattern: ^((.*?)/(.*?):(.+))$
	ConsoleImage string `json:"console_image,omitempty"`

	// enable prometheus
	EnablePrometheus bool `json:"enable_prometheus,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

func (*UpdateTenantRequest) Validate

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

Validate validates this update tenant request

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

func (*UpdateUser) Validate

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

Validate validates this update user

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

func (*UpdateUserGroups) Validate

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

Validate validates this update user groups

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

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

MarshalBinary interface implementation

func (*User) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*User) Validate

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

Validate validates this user

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

func (*VaultConfiguration) Validate added in v0.3.4

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

Validate validates this vault configuration

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

func (*VaultConfigurationApprole) Validate added in v0.3.4

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

Validate validates this vault configuration approle

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

func (*VaultConfigurationStatus) Validate added in v0.3.4

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

Validate validates this vault configuration status

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

func (*VaultConfigurationTLS) Validate added in v0.3.9

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

Validate validates this vault configuration TLS

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

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

MarshalBinary interface implementation

func (*Zone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Zone) Validate

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

Validate validates this zone

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

func (*ZoneAffinity) Validate added in v0.3.1

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

Validate validates this zone affinity

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

func (*ZoneAffinityNodeAffinity) Validate added in v0.3.1

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

Validate validates this zone affinity node affinity

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

MarshalBinary interface implementation

func (*ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary added in v0.3.1

UnmarshalBinary interface implementation

func (*ZoneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate added in v0.3.1

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

MarshalBinary interface implementation

func (*ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) UnmarshalBinary added in v0.3.1

UnmarshalBinary interface implementation

func (*ZoneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) Validate added in v0.3.1

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

func (*ZoneAffinityPodAffinity) Validate added in v0.3.1

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

Validate validates this zone affinity pod affinity

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

MarshalBinary interface implementation

func (*ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary added in v0.3.1

UnmarshalBinary interface implementation

func (*ZoneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate added in v0.3.1

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

func (*ZoneAffinityPodAntiAffinity) Validate added in v0.3.1

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

Validate validates this zone affinity pod anti affinity

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

MarshalBinary interface implementation

func (*ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary added in v0.3.1

UnmarshalBinary interface implementation

func (*ZoneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate added in v0.3.1

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

func (*ZoneResources) Validate added in v0.3.1

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

Validate validates this zone resources

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

func (*ZoneTolerationSeconds) Validate added in v0.3.9

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

Validate validates this zone toleration seconds

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

func (ZoneTolerations) Validate added in v0.3.1

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

Validate validates this zone tolerations

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

func (*ZoneTolerationsItems0) Validate added in v0.3.1

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

Validate validates this zone tolerations items0

type ZoneUpdateRequest added in v0.3.18

type ZoneUpdateRequest struct {

	// zones
	// Required: true
	Zones []*Zone `json:"zones"`
}

ZoneUpdateRequest zone update request

swagger:model zoneUpdateRequest

func (*ZoneUpdateRequest) MarshalBinary added in v0.3.18

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

MarshalBinary interface implementation

func (*ZoneUpdateRequest) UnmarshalBinary added in v0.3.18

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

UnmarshalBinary interface implementation

func (*ZoneUpdateRequest) Validate added in v0.3.18

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

Validate validates this zone update request

type ZoneVolumeConfiguration

type ZoneVolumeConfiguration struct {

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// 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

func (*ZoneVolumeConfiguration) Validate

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

Validate validates this zone volume configuration

Source Files

Jump to

Keyboard shortcuts

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