models

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: AGPL-3.0 Imports: 6 Imported by: 70

Documentation

Index

Constants

View Source
const (

	// BucketReplicationRuleStatusEnabled captures enum value "Enabled"
	BucketReplicationRuleStatusEnabled string = "Enabled"

	// BucketReplicationRuleStatusDisabled captures enum value "Disabled"
	BucketReplicationRuleStatusDisabled string = "Disabled"
)
View Source
const (

	// BucketReplicationRuleMarkerStatusEnabled captures enum value "Enabled"
	BucketReplicationRuleMarkerStatusEnabled string = "Enabled"

	// BucketReplicationRuleMarkerStatusDisabled captures enum value "Disabled"
	BucketReplicationRuleMarkerStatusDisabled string = "Disabled"
)
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 (

	// SetBucketQuotaQuotaTypeFifo captures enum value "fifo"
	SetBucketQuotaQuotaTypeFifo string = "fifo"

	// SetBucketQuotaQuotaTypeHard captures enum value "hard"
	SetBucketQuotaQuotaTypeHard string = "hard"
)
View Source
const (

	// RemoteBucketServiceReplication captures enum value "replication"
	RemoteBucketServiceReplication string = "replication"
)
View Source
const (

	// SessionResponseStatusOk captures enum value "ok"
	SessionResponseStatusOk string = "ok"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountChangePasswordRequest added in v0.5.0

type AccountChangePasswordRequest struct {

	// current secret key
	// Required: true
	CurrentSecretKey *string `json:"current_secret_key"`

	// new secret key
	// Required: true
	NewSecretKey *string `json:"new_secret_key"`
}

AccountChangePasswordRequest account change password request

swagger:model accountChangePasswordRequest

func (*AccountChangePasswordRequest) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*AccountChangePasswordRequest) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*AccountChangePasswordRequest) Validate added in v0.5.0

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

Validate validates this account change password request

type AddBucketReplication added in v0.4.0

type AddBucketReplication struct {

	// arn
	Arn string `json:"arn,omitempty"`

	// destination bucket
	DestinationBucket string `json:"destination_bucket,omitempty"`
}

AddBucketReplication add bucket replication

swagger:model addBucketReplication

func (*AddBucketReplication) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*AddBucketReplication) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*AddBucketReplication) Validate added in v0.4.0

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

Validate validates this add bucket replication

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

	// widgets
	Widgets []*Widget `json:"widgets"`
}

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 BucketEncryptionInfo added in v0.4.4

type BucketEncryptionInfo struct {

	// algorithm
	Algorithm string `json:"algorithm,omitempty"`

	// kms master key ID
	KmsMasterKeyID string `json:"kmsMasterKeyID,omitempty"`
}

BucketEncryptionInfo bucket encryption info

swagger:model bucketEncryptionInfo

func (*BucketEncryptionInfo) MarshalBinary added in v0.4.4

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

MarshalBinary interface implementation

func (*BucketEncryptionInfo) UnmarshalBinary added in v0.4.4

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

UnmarshalBinary interface implementation

func (*BucketEncryptionInfo) Validate added in v0.4.4

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

Validate validates this bucket encryption info

type BucketEncryptionRequest added in v0.4.4

type BucketEncryptionRequest struct {

	// enc type
	EncType BucketEncryptionType `json:"encType,omitempty"`

	// kms key ID
	KmsKeyID string `json:"kmsKeyID,omitempty"`
}

BucketEncryptionRequest bucket encryption request

swagger:model bucketEncryptionRequest

func (*BucketEncryptionRequest) MarshalBinary added in v0.4.4

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

MarshalBinary interface implementation

func (*BucketEncryptionRequest) UnmarshalBinary added in v0.4.4

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

UnmarshalBinary interface implementation

func (*BucketEncryptionRequest) Validate added in v0.4.4

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

Validate validates this bucket encryption request

type BucketEncryptionType added in v0.4.4

type BucketEncryptionType string

BucketEncryptionType bucket encryption type

swagger:model bucketEncryptionType

const (

	// BucketEncryptionTypeSseS3 captures enum value "sse-s3"
	BucketEncryptionTypeSseS3 BucketEncryptionType = "sse-s3"

	// BucketEncryptionTypeSseKms captures enum value "sse-kms"
	BucketEncryptionTypeSseKms BucketEncryptionType = "sse-kms"
)

func (BucketEncryptionType) Validate added in v0.4.4

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

Validate validates this bucket encryption type

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 BucketObject added in v0.4.0

type BucketObject struct {

	// content type
	ContentType string `json:"content_type,omitempty"`

	// expiration
	Expiration string `json:"expiration,omitempty"`

	// expiration rule id
	ExpirationRuleID string `json:"expiration_rule_id,omitempty"`

	// is delete marker
	IsDeleteMarker bool `json:"is_delete_marker,omitempty"`

	// is latest
	IsLatest bool `json:"is_latest,omitempty"`

	// last modified
	LastModified string `json:"last_modified,omitempty"`

	// legal hold status
	LegalHoldStatus string `json:"legal_hold_status,omitempty"`

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

	// retention mode
	RetentionMode string `json:"retention_mode,omitempty"`

	// retention until date
	RetentionUntilDate string `json:"retention_until_date,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`

	// user tags
	UserTags map[string]string `json:"user_tags,omitempty"`

	// version id
	VersionID string `json:"version_id,omitempty"`
}

BucketObject bucket object

swagger:model bucketObject

func (*BucketObject) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*BucketObject) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*BucketObject) Validate added in v0.4.0

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

Validate validates this bucket object

type BucketReplicationDestination added in v0.4.0

type BucketReplicationDestination struct {

	// bucket
	Bucket string `json:"bucket,omitempty"`
}

BucketReplicationDestination bucket replication destination

swagger:model bucketReplicationDestination

func (*BucketReplicationDestination) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*BucketReplicationDestination) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*BucketReplicationDestination) Validate added in v0.4.0

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

Validate validates this bucket replication destination

type BucketReplicationResponse added in v0.4.0

type BucketReplicationResponse struct {

	// rules
	Rules []*BucketReplicationRule `json:"rules"`
}

BucketReplicationResponse bucket replication response

swagger:model bucketReplicationResponse

func (*BucketReplicationResponse) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*BucketReplicationResponse) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*BucketReplicationResponse) Validate added in v0.4.0

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

Validate validates this bucket replication response

type BucketReplicationRule added in v0.4.0

type BucketReplicationRule struct {

	// delete marker replication
	DeleteMarkerReplication *BucketReplicationRuleMarker `json:"delete_marker_replication,omitempty"`

	// destination
	Destination *BucketReplicationDestination `json:"destination,omitempty"`

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

	// priority
	Priority int32 `json:"priority,omitempty"`

	// status
	// Enum: [Enabled Disabled]
	Status string `json:"status,omitempty"`
}

BucketReplicationRule bucket replication rule

swagger:model bucketReplicationRule

func (*BucketReplicationRule) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*BucketReplicationRule) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*BucketReplicationRule) Validate added in v0.4.0

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

Validate validates this bucket replication rule

type BucketReplicationRuleMarker added in v0.4.0

type BucketReplicationRuleMarker struct {

	// status
	// Enum: [Enabled Disabled]
	Status string `json:"status,omitempty"`
}

BucketReplicationRuleMarker bucket replication rule marker

swagger:model bucketReplicationRuleMarker

func (*BucketReplicationRuleMarker) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*BucketReplicationRuleMarker) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*BucketReplicationRuleMarker) Validate added in v0.4.0

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

Validate validates this bucket replication rule marker

type BucketVersioningResponse added in v0.4.0

type BucketVersioningResponse struct {

	// is versioned
	IsVersioned bool `json:"is_versioned,omitempty"`
}

BucketVersioningResponse bucket versioning response

swagger:model bucketVersioningResponse

func (*BucketVersioningResponse) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*BucketVersioningResponse) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*BucketVersioningResponse) Validate added in v0.4.0

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

Validate validates this bucket versioning response

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 ConsoleConfiguration added in v0.3.26

type ConsoleConfiguration struct {
	MetadataFields

	// image
	Image string `json:"image,omitempty"`
}

ConsoleConfiguration console configuration

swagger:model consoleConfiguration

func (*ConsoleConfiguration) MarshalBinary added in v0.3.26

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

MarshalBinary interface implementation

func (ConsoleConfiguration) MarshalJSON added in v0.3.26

func (m ConsoleConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ConsoleConfiguration) UnmarshalBinary added in v0.3.26

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

UnmarshalBinary interface implementation

func (*ConsoleConfiguration) UnmarshalJSON added in v0.3.26

func (m *ConsoleConfiguration) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ConsoleConfiguration) Validate added in v0.3.26

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

Validate validates this console configuration

type CreateRemoteBucket added in v0.4.0

type CreateRemoteBucket struct {

	// access key
	// Required: true
	// Min Length: 3
	AccessKey *string `json:"accessKey"`

	// region
	Region string `json:"region,omitempty"`

	// secret key
	// Required: true
	// Min Length: 8
	SecretKey *string `json:"secretKey"`

	// source bucket
	// Required: true
	SourceBucket *string `json:"sourceBucket"`

	// target bucket
	// Required: true
	TargetBucket *string `json:"targetBucket"`

	// target URL
	// Required: true
	TargetURL *string `json:"targetURL"`
}

CreateRemoteBucket create remote bucket

swagger:model createRemoteBucket

func (*CreateRemoteBucket) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*CreateRemoteBucket) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CreateRemoteBucket) Validate added in v0.4.0

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

Validate validates this create remote bucket

type CreateTenantRequest

type CreateTenantRequest struct {

	// access key
	AccessKey string `json:"access_key,omitempty"`

	// annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// console
	Console *ConsoleConfiguration `json:"console,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"`

	// expose console
	ExposeConsole bool `json:"expose_console,omitempty"`

	// expose minio
	ExposeMinio bool `json:"expose_minio,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"`

	// labels
	Labels map[string]string `json:"labels,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"`

	// pools
	// Required: true
	Pools []*Pool `json:"pools"`

	// secret key
	SecretKey string `json:"secret_key,omitempty"`

	// tls
	TLS *TLSConfiguration `json:"tls,omitempty"`
}

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 {

	// console
	Console *CreateTenantResponseConsole `json:"console,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 {
	MetadataFields

	// aws
	Aws *AwsConfiguration `json:"aws,omitempty"`

	// client
	Client *KeyPairConfiguration `json:"client,omitempty"`

	// gcp
	Gcp *GcpConfiguration `json:"gcp,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) MarshalJSON added in v0.3.26

func (m EncryptionConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*EncryptionConfiguration) UnmarshalBinary added in v0.3.4

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

UnmarshalBinary interface implementation

func (*EncryptionConfiguration) UnmarshalJSON added in v0.3.26

func (m *EncryptionConfiguration) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

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 GcpConfiguration added in v0.6.0

type GcpConfiguration struct {

	// secretmanager
	// Required: true
	Secretmanager *GcpConfigurationSecretmanager `json:"secretmanager"`
}

GcpConfiguration gcp configuration

swagger:model gcpConfiguration

func (*GcpConfiguration) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*GcpConfiguration) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*GcpConfiguration) Validate added in v0.6.0

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

Validate validates this gcp configuration

type GcpConfigurationSecretmanager added in v0.6.0

type GcpConfigurationSecretmanager struct {

	// credentials
	Credentials *GcpConfigurationSecretmanagerCredentials `json:"credentials,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// project id
	// Required: true
	ProjectID *string `json:"project_id"`
}

GcpConfigurationSecretmanager gcp configuration secretmanager

swagger:model GcpConfigurationSecretmanager

func (*GcpConfigurationSecretmanager) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*GcpConfigurationSecretmanager) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*GcpConfigurationSecretmanager) Validate added in v0.6.0

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

Validate validates this gcp configuration secretmanager

type GcpConfigurationSecretmanagerCredentials added in v0.6.0

type GcpConfigurationSecretmanagerCredentials struct {

	// client email
	ClientEmail string `json:"client_email,omitempty"`

	// client id
	ClientID string `json:"client_id,omitempty"`

	// private key
	PrivateKey string `json:"private_key,omitempty"`

	// private key id
	PrivateKeyID string `json:"private_key_id,omitempty"`
}

GcpConfigurationSecretmanagerCredentials gcp configuration secretmanager credentials

swagger:model GcpConfigurationSecretmanagerCredentials

func (*GcpConfigurationSecretmanagerCredentials) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*GcpConfigurationSecretmanagerCredentials) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*GcpConfigurationSecretmanagerCredentials) Validate added in v0.6.0

Validate validates this gcp configuration secretmanager credentials

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 GetBucketRetentionConfig added in v0.5.0

type GetBucketRetentionConfig struct {

	// mode
	Mode ObjectRetentionMode `json:"mode,omitempty"`

	// unit
	Unit ObjectRetentionUnit `json:"unit,omitempty"`

	// validity
	Validity int32 `json:"validity,omitempty"`
}

GetBucketRetentionConfig get bucket retention config

swagger:model getBucketRetentionConfig

func (*GetBucketRetentionConfig) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*GetBucketRetentionConfig) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*GetBucketRetentionConfig) Validate added in v0.5.0

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

Validate validates this get bucket retention config

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 IamEntity added in v0.5.0

type IamEntity string

IamEntity iam entity

swagger:model iamEntity

func (IamEntity) Validate added in v0.5.0

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

Validate validates this iam entity

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 License added in v0.5.0

type License struct {

	// account id
	AccountID int64 `json:"account_id,omitempty"`

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

	// expires at
	ExpiresAt string `json:"expires_at,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// plan
	Plan string `json:"plan,omitempty"`

	// storage capacity
	StorageCapacity int64 `json:"storage_capacity,omitempty"`
}

License license

swagger:model license

func (*License) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*License) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*License) Validate added in v0.5.0

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

Validate validates this license

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 ListObjectsResponse added in v0.4.0

type ListObjectsResponse struct {

	// list of resulting objects
	Objects []*BucketObject `json:"objects"`

	// number of objects
	Total int64 `json:"total,omitempty"`
}

ListObjectsResponse list objects response

swagger:model listObjectsResponse

func (*ListObjectsResponse) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*ListObjectsResponse) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ListObjectsResponse) Validate added in v0.4.0

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

Validate validates this list objects 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 ListRemoteBucketsResponse added in v0.4.0

type ListRemoteBucketsResponse struct {

	// list of remote buckets
	Buckets []*RemoteBucket `json:"buckets"`

	// number of remote buckets accessible to user
	Total int64 `json:"total,omitempty"`
}

ListRemoteBucketsResponse list remote buckets response

swagger:model listRemoteBucketsResponse

func (*ListRemoteBucketsResponse) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*ListRemoteBucketsResponse) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ListRemoteBucketsResponse) Validate added in v0.4.0

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

Validate validates this list remote buckets 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 LogSearchResponse added in v0.5.0

type LogSearchResponse struct {

	// list of log search responses
	Results interface{} `json:"results,omitempty"`
}

LogSearchResponse log search response

swagger:model logSearchResponse

func (*LogSearchResponse) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*LogSearchResponse) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*LogSearchResponse) Validate added in v0.5.0

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

Validate validates this log search 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"`

	// quota
	Quota *SetBucketQuota `json:"quota,omitempty"`

	// retention
	Retention *PutBucketRetentionRequest `json:"retention,omitempty"`

	// versioning
	Versioning bool `json:"versioning,omitempty"`
}

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 MetadataFields added in v0.3.26

type MetadataFields struct {

	// annotations
	Annotations map[string]string `json:"annotations,omitempty"`

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

	// node selector
	NodeSelector map[string]string `json:"node_selector,omitempty"`
}

MetadataFields metadata fields

swagger:model metadataFields

func (*MetadataFields) MarshalBinary added in v0.3.26

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

MarshalBinary interface implementation

func (*MetadataFields) UnmarshalBinary added in v0.3.26

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

UnmarshalBinary interface implementation

func (*MetadataFields) Validate added in v0.3.26

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

Validate validates this metadata fields

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 ObjectLegalHoldStatus added in v0.4.3

type ObjectLegalHoldStatus string

ObjectLegalHoldStatus object legal hold status

swagger:model objectLegalHoldStatus

const (

	// ObjectLegalHoldStatusEnabled captures enum value "enabled"
	ObjectLegalHoldStatusEnabled ObjectLegalHoldStatus = "enabled"

	// ObjectLegalHoldStatusDisabled captures enum value "disabled"
	ObjectLegalHoldStatusDisabled ObjectLegalHoldStatus = "disabled"
)

func (ObjectLegalHoldStatus) Validate added in v0.4.3

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

Validate validates this object legal hold status

type ObjectRetentionMode added in v0.4.4

type ObjectRetentionMode string

ObjectRetentionMode object retention mode

swagger:model objectRetentionMode

const (

	// ObjectRetentionModeGovernance captures enum value "governance"
	ObjectRetentionModeGovernance ObjectRetentionMode = "governance"

	// ObjectRetentionModeCompliance captures enum value "compliance"
	ObjectRetentionModeCompliance ObjectRetentionMode = "compliance"
)

func (ObjectRetentionMode) Validate added in v0.4.4

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

Validate validates this object retention mode

type ObjectRetentionUnit added in v0.5.0

type ObjectRetentionUnit string

ObjectRetentionUnit object retention unit

swagger:model objectRetentionUnit

const (

	// ObjectRetentionUnitDays captures enum value "days"
	ObjectRetentionUnitDays ObjectRetentionUnit = "days"

	// ObjectRetentionUnitYears captures enum value "years"
	ObjectRetentionUnitYears ObjectRetentionUnit = "years"
)

func (ObjectRetentionUnit) Validate added in v0.5.0

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

Validate validates this object retention unit

type ParityResponse added in v0.3.26

type ParityResponse []string

ParityResponse parity response

swagger:model parityResponse

func (ParityResponse) Validate added in v0.3.26

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

Validate validates this parity response

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 Pool added in v0.5.0

type Pool struct {

	// affinity
	Affinity *PoolAffinity `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 *PoolResources `json:"resources,omitempty"`

	// servers
	// Required: true
	Servers *int64 `json:"servers"`

	// tolerations
	Tolerations PoolTolerations `json:"tolerations,omitempty"`

	// volume configuration
	// Required: true
	VolumeConfiguration *PoolVolumeConfiguration `json:"volume_configuration"`

	// volumes per server
	// Required: true
	VolumesPerServer *int32 `json:"volumes_per_server"`
}

Pool pool

swagger:model pool

func (*Pool) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*Pool) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Pool) Validate added in v0.5.0

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

Validate validates this pool

type PoolAffinity added in v0.5.0

type PoolAffinity struct {

	// node affinity
	NodeAffinity *PoolAffinityNodeAffinity `json:"nodeAffinity,omitempty"`

	// pod affinity
	PodAffinity *PoolAffinityPodAffinity `json:"podAffinity,omitempty"`

	// pod anti affinity
	PodAntiAffinity *PoolAffinityPodAntiAffinity `json:"podAntiAffinity,omitempty"`
}

PoolAffinity If specified, affinity will define the pod's scheduling constraints

swagger:model poolAffinity

func (*PoolAffinity) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*PoolAffinity) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PoolAffinity) Validate added in v0.5.0

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

Validate validates this pool affinity

type PoolAffinityNodeAffinity added in v0.5.0

type PoolAffinityNodeAffinity 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 []*PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 `json:"preferredDuringSchedulingIgnoredDuringExecution"`

	// required during scheduling ignored during execution
	RequiredDuringSchedulingIgnoredDuringExecution *PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

PoolAffinityNodeAffinity Describes node affinity scheduling rules for the pod.

swagger:model PoolAffinityNodeAffinity

func (*PoolAffinityNodeAffinity) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*PoolAffinityNodeAffinity) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PoolAffinityNodeAffinity) Validate added in v0.5.0

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

Validate validates this pool affinity node affinity

type PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 added in v0.5.0

type PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 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"`
}

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

func (*PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary added in v0.5.0

MarshalBinary interface implementation

func (*PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary added in v0.5.0

UnmarshalBinary interface implementation

func (*PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate added in v0.5.0

Validate validates this pool affinity node affinity preferred during scheduling ignored during execution items0

type PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution added in v0.5.0

type PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution struct {

	// Required. A list of node selector terms. The terms are ORed.
	// Required: true
	NodeSelectorTerms []*NodeSelectorTerm `json:"nodeSelectorTerms"`
}

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

func (*PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) MarshalBinary added in v0.5.0

MarshalBinary interface implementation

func (*PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) UnmarshalBinary added in v0.5.0

UnmarshalBinary interface implementation

func (*PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) Validate added in v0.5.0

Validate validates this pool affinity node affinity required during scheduling ignored during execution

type PoolAffinityPodAffinity added in v0.5.0

type PoolAffinityPodAffinity 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 []*PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 `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"`
}

PoolAffinityPodAffinity Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, pool, etc. as some other pod(s)).

swagger:model PoolAffinityPodAffinity

func (*PoolAffinityPodAffinity) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*PoolAffinityPodAffinity) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PoolAffinityPodAffinity) Validate added in v0.5.0

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

Validate validates this pool affinity pod affinity

type PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 added in v0.5.0

type PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 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"`
}

PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)

swagger:model PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0

func (*PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary added in v0.5.0

MarshalBinary interface implementation

func (*PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary added in v0.5.0

UnmarshalBinary interface implementation

func (*PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate added in v0.5.0

Validate validates this pool affinity pod affinity preferred during scheduling ignored during execution items0

type PoolAffinityPodAntiAffinity added in v0.5.0

type PoolAffinityPodAntiAffinity 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 []*PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 `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"`
}

PoolAffinityPodAntiAffinity Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, pool, etc. as some other pod(s)).

swagger:model PoolAffinityPodAntiAffinity

func (*PoolAffinityPodAntiAffinity) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*PoolAffinityPodAntiAffinity) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PoolAffinityPodAntiAffinity) Validate added in v0.5.0

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

Validate validates this pool affinity pod anti affinity

type PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 added in v0.5.0

type PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 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"`
}

PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0 The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)

swagger:model PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0

func (*PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary added in v0.5.0

MarshalBinary interface implementation

func (*PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary added in v0.5.0

UnmarshalBinary interface implementation

func (*PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate added in v0.5.0

Validate validates this pool affinity pod anti affinity preferred during scheduling ignored during execution items0

type PoolResources added in v0.5.0

type PoolResources 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"`
}

PoolResources If provided, use these requests and limit for cpu/memory resource allocation

swagger:model poolResources

func (*PoolResources) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*PoolResources) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PoolResources) Validate added in v0.5.0

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

Validate validates this pool resources

type PoolTolerationSeconds added in v0.5.0

type PoolTolerationSeconds struct {

	// seconds
	// Required: true
	Seconds *int64 `json:"seconds"`
}

PoolTolerationSeconds 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 poolTolerationSeconds

func (*PoolTolerationSeconds) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*PoolTolerationSeconds) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PoolTolerationSeconds) Validate added in v0.5.0

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

Validate validates this pool toleration seconds

type PoolTolerations added in v0.5.0

type PoolTolerations []*PoolTolerationsItems0

PoolTolerations Tolerations allows users to set entries like effect, key, operator, value.

swagger:model poolTolerations

func (PoolTolerations) Validate added in v0.5.0

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

Validate validates this pool tolerations

type PoolTolerationsItems0 added in v0.5.0

type PoolTolerationsItems0 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 *PoolTolerationSeconds `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"`
}

PoolTolerationsItems0 The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.

swagger:model PoolTolerationsItems0

func (*PoolTolerationsItems0) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*PoolTolerationsItems0) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PoolTolerationsItems0) Validate added in v0.5.0

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

Validate validates this pool tolerations items0

type PoolUpdateRequest added in v0.5.0

type PoolUpdateRequest struct {

	// pools
	// Required: true
	Pools []*Pool `json:"pools"`
}

PoolUpdateRequest pool update request

swagger:model poolUpdateRequest

func (*PoolUpdateRequest) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*PoolUpdateRequest) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PoolUpdateRequest) Validate added in v0.5.0

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

Validate validates this pool update request

type PoolVolumeConfiguration added in v0.5.0

type PoolVolumeConfiguration struct {

	// annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// 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"`
}

PoolVolumeConfiguration pool volume configuration

swagger:model PoolVolumeConfiguration

func (*PoolVolumeConfiguration) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*PoolVolumeConfiguration) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PoolVolumeConfiguration) Validate added in v0.5.0

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

Validate validates this pool volume configuration

type Principal

type Principal struct {

	// s t s access key ID
	STSAccessKeyID string `json:"STSAccessKeyID,omitempty"`

	// s t s secret access key
	STSSecretAccessKey string `json:"STSSecretAccessKey,omitempty"`

	// s t s session token
	STSSessionToken string `json:"STSSessionToken,omitempty"`

	// account access key
	AccountAccessKey string `json:"accountAccessKey,omitempty"`

	// account secret key
	AccountSecretKey string `json:"accountSecretKey,omitempty"`

	// actions
	Actions []string `json:"actions"`
}

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 PutBucketRetentionRequest added in v0.5.0

type PutBucketRetentionRequest struct {

	// mode
	// Required: true
	Mode ObjectRetentionMode `json:"mode"`

	// unit
	// Required: true
	Unit ObjectRetentionUnit `json:"unit"`

	// validity
	// Required: true
	Validity *int32 `json:"validity"`
}

PutBucketRetentionRequest put bucket retention request

swagger:model putBucketRetentionRequest

func (*PutBucketRetentionRequest) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*PutBucketRetentionRequest) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PutBucketRetentionRequest) Validate added in v0.5.0

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

Validate validates this put bucket retention request

type PutObjectLegalHoldRequest added in v0.4.3

type PutObjectLegalHoldRequest struct {

	// status
	// Required: true
	Status ObjectLegalHoldStatus `json:"status"`
}

PutObjectLegalHoldRequest put object legal hold request

swagger:model putObjectLegalHoldRequest

func (*PutObjectLegalHoldRequest) MarshalBinary added in v0.4.3

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

MarshalBinary interface implementation

func (*PutObjectLegalHoldRequest) UnmarshalBinary added in v0.4.3

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

UnmarshalBinary interface implementation

func (*PutObjectLegalHoldRequest) Validate added in v0.4.3

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

Validate validates this put object legal hold request

type PutObjectRetentionRequest added in v0.4.4

type PutObjectRetentionRequest struct {

	// expires
	// Required: true
	Expires *string `json:"expires"`

	// governance bypass
	GovernanceBypass bool `json:"governance_bypass,omitempty"`

	// mode
	// Required: true
	Mode ObjectRetentionMode `json:"mode"`
}

PutObjectRetentionRequest put object retention request

swagger:model putObjectRetentionRequest

func (*PutObjectRetentionRequest) MarshalBinary added in v0.4.4

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

MarshalBinary interface implementation

func (*PutObjectRetentionRequest) UnmarshalBinary added in v0.4.4

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

UnmarshalBinary interface implementation

func (*PutObjectRetentionRequest) Validate added in v0.4.4

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

Validate validates this put object retention request

type PutObjectTagsRequest added in v0.4.4

type PutObjectTagsRequest struct {

	// tags
	Tags map[string]string `json:"tags,omitempty"`
}

PutObjectTagsRequest put object tags request

swagger:model putObjectTagsRequest

func (*PutObjectTagsRequest) MarshalBinary added in v0.4.4

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

MarshalBinary interface implementation

func (*PutObjectTagsRequest) UnmarshalBinary added in v0.4.4

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

UnmarshalBinary interface implementation

func (*PutObjectTagsRequest) Validate added in v0.4.4

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

Validate validates this put object tags request

type RemoteBucket added in v0.4.0

type RemoteBucket struct {

	// access key
	// Required: true
	// Min Length: 3
	AccessKey *string `json:"accessKey"`

	// remote a r n
	// Required: true
	RemoteARN *string `json:"remoteARN"`

	// secret key
	// Min Length: 8
	SecretKey string `json:"secretKey,omitempty"`

	// service
	// Enum: [replication]
	Service string `json:"service,omitempty"`

	// source bucket
	// Required: true
	SourceBucket *string `json:"sourceBucket"`

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

	// target bucket
	TargetBucket string `json:"targetBucket,omitempty"`

	// target URL
	TargetURL string `json:"targetURL,omitempty"`
}

RemoteBucket remote bucket

swagger:model remoteBucket

func (*RemoteBucket) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*RemoteBucket) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*RemoteBucket) Validate added in v0.4.0

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

Validate validates this remote bucket

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 ResultTarget added in v0.5.0

type ResultTarget struct {

	// legend format
	LegendFormat string `json:"legendFormat,omitempty"`

	// result
	Result []*WidgetResult `json:"result"`

	// result type
	ResultType string `json:"resultType,omitempty"`
}

ResultTarget result target

swagger:model resultTarget

func (*ResultTarget) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*ResultTarget) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*ResultTarget) Validate added in v0.5.0

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

Validate validates this result target

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 {

	// operator
	Operator bool `json:"operator,omitempty"`

	// 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 SetBucketQuota added in v0.4.0

type SetBucketQuota struct {

	// amount
	Amount int64 `json:"amount,omitempty"`

	// enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// quota type
	// Enum: [fifo hard]
	QuotaType string `json:"quota_type,omitempty"`
}

SetBucketQuota set bucket quota

swagger:model setBucketQuota

func (*SetBucketQuota) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*SetBucketQuota) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SetBucketQuota) Validate added in v0.4.0

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

Validate validates this set bucket quota

type SetBucketVersioning added in v0.4.0

type SetBucketVersioning struct {

	// versioning
	Versioning bool `json:"versioning,omitempty"`
}

SetBucketVersioning set bucket versioning

swagger:model setBucketVersioning

func (*SetBucketVersioning) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*SetBucketVersioning) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SetBucketVersioning) Validate added in v0.4.0

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

Validate validates this set bucket versioning

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 SetConfigResponse added in v0.5.0

type SetConfigResponse struct {

	// Returns wheter server needs to restart to apply changes or not
	Restart bool `json:"restart,omitempty"`
}

SetConfigResponse set config response

swagger:model setConfigResponse

func (*SetConfigResponse) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*SetConfigResponse) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*SetConfigResponse) Validate added in v0.5.0

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

Validate validates this set config response

type SetNotificationEndpointResponse added in v0.5.0

type SetNotificationEndpointResponse struct {

	// account id
	// Required: true
	AccountID *string `json:"account_id"`

	// properties
	// Required: true
	Properties map[string]string `json:"properties"`

	// restart
	Restart bool `json:"restart,omitempty"`

	// service
	// Required: true
	Service NofiticationService `json:"service"`
}

SetNotificationEndpointResponse set notification endpoint response

swagger:model setNotificationEndpointResponse

func (*SetNotificationEndpointResponse) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*SetNotificationEndpointResponse) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*SetNotificationEndpointResponse) Validate added in v0.5.0

Validate validates this set notification endpoint response

type SetPolicyMultipleRequest added in v0.5.0

type SetPolicyMultipleRequest struct {

	// groups
	Groups []IamEntity `json:"groups"`

	// users
	Users []IamEntity `json:"users"`
}

SetPolicyMultipleRequest set policy multiple request

swagger:model setPolicyMultipleRequest

func (*SetPolicyMultipleRequest) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*SetPolicyMultipleRequest) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*SetPolicyMultipleRequest) Validate added in v0.5.0

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

Validate validates this set policy multiple 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 SubscriptionValidateRequest added in v0.5.0

type SubscriptionValidateRequest struct {

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

	// license
	License string `json:"license,omitempty"`

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

SubscriptionValidateRequest subscription validate request

swagger:model subscriptionValidateRequest

func (*SubscriptionValidateRequest) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*SubscriptionValidateRequest) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*SubscriptionValidateRequest) Validate added in v0.5.0

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

Validate validates this subscription validate request

type TLSConfiguration added in v0.3.4

type TLSConfiguration struct {

	// ca certificates
	CaCertificates []string `json:"ca_certificates"`

	// console
	Console *KeyPairConfiguration `json:"console,omitempty"`

	// minio
	Minio []*KeyPairConfiguration `json:"minio"`
}

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

	// endpoints
	Endpoints *TenantEndpoints `json:"endpoints,omitempty"`

	// image
	Image string `json:"image,omitempty"`

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

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// pools
	Pools []*Pool `json:"pools"`

	// subnet license
	SubnetLicense *License `json:"subnet_license,omitempty"`

	// total size
	TotalSize int64 `json:"total_size,omitempty"`
}

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 TenantEndpoints added in v0.5.0

type TenantEndpoints struct {

	// console
	Console string `json:"console,omitempty"`

	// minio
	Minio string `json:"minio,omitempty"`
}

TenantEndpoints tenant endpoints

swagger:model TenantEndpoints

func (*TenantEndpoints) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*TenantEndpoints) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*TenantEndpoints) Validate added in v0.5.0

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

Validate validates this tenant endpoints

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

	// pool count
	PoolCount int64 `json:"pool_count,omitempty"`

	// total size
	TotalSize int64 `json:"total_size,omitempty"`

	// volume count
	VolumeCount int64 `json:"volume_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 Widget added in v0.5.0

type Widget struct {

	// options
	Options *WidgetOptions `json:"options,omitempty"`

	// targets
	Targets []*ResultTarget `json:"targets"`

	// title
	Title string `json:"title,omitempty"`

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

Widget widget

swagger:model widget

func (*Widget) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*Widget) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Widget) Validate added in v0.5.0

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

Validate validates this widget

type WidgetOptions added in v0.5.0

type WidgetOptions struct {

	// reduce options
	ReduceOptions *WidgetOptionsReduceOptions `json:"reduceOptions,omitempty"`
}

WidgetOptions widget options

swagger:model WidgetOptions

func (*WidgetOptions) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*WidgetOptions) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*WidgetOptions) Validate added in v0.5.0

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

Validate validates this widget options

type WidgetOptionsReduceOptions added in v0.5.0

type WidgetOptionsReduceOptions struct {

	// calcs
	Calcs []string `json:"calcs"`
}

WidgetOptionsReduceOptions widget options reduce options

swagger:model WidgetOptionsReduceOptions

func (*WidgetOptionsReduceOptions) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*WidgetOptionsReduceOptions) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*WidgetOptionsReduceOptions) Validate added in v0.5.0

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

Validate validates this widget options reduce options

type WidgetResult added in v0.5.0

type WidgetResult struct {

	// metric
	Metric map[string]string `json:"metric,omitempty"`

	// values
	Values []interface{} `json:"values"`
}

WidgetResult widget result

swagger:model widgetResult

func (*WidgetResult) MarshalBinary added in v0.5.0

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

MarshalBinary interface implementation

func (*WidgetResult) UnmarshalBinary added in v0.5.0

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

UnmarshalBinary interface implementation

func (*WidgetResult) Validate added in v0.5.0

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

Validate validates this widget result

Source Files

Jump to

Keyboard shortcuts

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