Documentation
¶
Index ¶
- Constants
- type AccountChangePasswordRequest
- type AddBucketReplication
- type AddGroupRequest
- type AddPolicyRequest
- type AddUserRequest
- type AdminInfoResponse
- type ArnsResponse
- type AwsConfiguration
- type AwsConfigurationSecretsmanager
- type AwsConfigurationSecretsmanagerCredentials
- type Bucket
- type BucketAccess
- type BucketEncryptionInfo
- type BucketEncryptionRequest
- type BucketEncryptionType
- type BucketEventRequest
- type BucketObLockingResponse
- type BucketObject
- type BucketReplicationDestination
- type BucketReplicationResponse
- type BucketReplicationRule
- type BucketReplicationRuleMarker
- type BucketVersioningResponse
- type BulkUserGroups
- type ConfigDescription
- type Configuration
- type ConfigurationKV
- type ConsoleConfiguration
- func (m *ConsoleConfiguration) MarshalBinary() ([]byte, error)
- func (m ConsoleConfiguration) MarshalJSON() ([]byte, error)
- func (m *ConsoleConfiguration) UnmarshalBinary(b []byte) error
- func (m *ConsoleConfiguration) UnmarshalJSON(raw []byte) error
- func (m *ConsoleConfiguration) Validate(formats strfmt.Registry) error
- type CreateRemoteBucket
- type CreateTenantRequest
- type CreateTenantResponse
- type CreateTenantResponseConsole
- type DeleteTenantRequest
- type DirectCSIDriveInfo
- type DirectCSIVolumeInfo
- type EncryptionConfiguration
- func (m *EncryptionConfiguration) MarshalBinary() ([]byte, error)
- func (m EncryptionConfiguration) MarshalJSON() ([]byte, error)
- func (m *EncryptionConfiguration) UnmarshalBinary(b []byte) error
- func (m *EncryptionConfiguration) UnmarshalJSON(raw []byte) error
- func (m *EncryptionConfiguration) Validate(formats strfmt.Registry) error
- type Error
- type GcpConfiguration
- type GcpConfigurationSecretmanager
- type GcpConfigurationSecretmanagerCredentials
- type GemaltoConfiguration
- type GemaltoConfigurationKeysecure
- type GemaltoConfigurationKeysecureCredentials
- type GemaltoConfigurationKeysecureTLS
- type GetBucketRetentionConfig
- type GetDirectCSIDriveListResponse
- type GetDirectCSIVolumeListResponse
- type Group
- type HasPermissionRequest
- type HasPermissionResponse
- type IamEntity
- type IdpConfiguration
- type IdpConfigurationActiveDirectory
- type IdpConfigurationOidc
- type ImageRegistry
- type KeyPairConfiguration
- type License
- type ListBucketEventsResponse
- type ListBucketsResponse
- type ListConfigResponse
- type ListExternalBucketsParams
- type ListGroupsResponse
- type ListObjectsResponse
- type ListPoliciesResponse
- type ListRemoteBucketsResponse
- type ListTenantsResponse
- type ListUsersResponse
- type LogSearchResponse
- type LoginDetails
- type LoginOauth2AuthRequest
- type LoginOperatorRequest
- type LoginRequest
- type LoginResponse
- type MakeBucketRequest
- type MaxAllocatableMemResponse
- type MetadataFields
- type MultiBucketReplication
- type MultiBucketResponseItem
- type MultiBucketResponseState
- type MultiBucketsRelation
- type NodeSelectorTerm
- type NodeSelectorTermMatchExpressionsItems0
- type NodeSelectorTermMatchFieldsItems0
- type NofiticationService
- type NotifEndpointResponse
- type NotificationConfig
- type NotificationDeleteRequest
- type NotificationEndpoint
- type NotificationEndpointItem
- type NotificationEventType
- type ObjectLegalHoldStatus
- type ObjectRetentionMode
- type ObjectRetentionUnit
- type ParityResponse
- type PermissionAction
- type PodAffinityTerm
- type PodAffinityTermLabelSelector
- type PodAffinityTermLabelSelectorMatchExpressionsItems0
- type Policy
- type PolicyArgs
- type PolicyEntity
- type Pool
- type PoolAffinity
- type PoolAffinityNodeAffinity
- type PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0
- func (m *PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
- func (m *PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
- func (m *PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
- type PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution
- func (m *PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) MarshalBinary() ([]byte, error)
- func (m *PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) UnmarshalBinary(b []byte) error
- func (m *PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) Validate(formats strfmt.Registry) error
- type PoolAffinityPodAffinity
- type PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0
- func (m *PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
- func (m *PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
- func (m *PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
- type PoolAffinityPodAntiAffinity
- type PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0
- func (m *PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
- func (m *PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
- func (m *PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
- type PoolResources
- type PoolTolerationSeconds
- type PoolTolerations
- type PoolTolerationsItems0
- type PoolUpdateRequest
- type PoolVolumeConfiguration
- type Principal
- type ProfilerType
- type ProfilingStartRequest
- type PutBucketRetentionRequest
- type PutObjectLegalHoldRequest
- type PutObjectRetentionRequest
- type PutObjectTagsRequest
- type RemoteBucket
- type ResourceQuota
- type ResourceQuotaElement
- type ResultTarget
- type ServiceAccountCreds
- type ServiceAccountRequest
- type ServiceAccounts
- type SessionResponse
- type SetBucketPolicyRequest
- type SetBucketQuota
- type SetBucketVersioning
- type SetConfigRequest
- type SetConfigResponse
- type SetNotificationEndpointResponse
- type SetPolicyMultipleRequest
- type SetPolicyRequest
- type StartProfilingItem
- type StartProfilingList
- type SubscriptionValidateRequest
- type TLSConfiguration
- type Tenant
- type TenantEndpoints
- type TenantList
- type TenantUsage
- type UpdateGroupRequest
- type UpdateTenantRequest
- type UpdateUser
- type UpdateUserGroups
- type User
- type VaultConfiguration
- type VaultConfigurationApprole
- type VaultConfigurationStatus
- type VaultConfigurationTLS
- type Widget
- type WidgetOptions
- type WidgetOptionsReduceOptions
- type WidgetResult
Constants ¶
const ( // BucketReplicationRuleStatusEnabled captures enum value "Enabled" BucketReplicationRuleStatusEnabled string = "Enabled" // BucketReplicationRuleStatusDisabled captures enum value "Disabled" BucketReplicationRuleStatusDisabled string = "Disabled" )
const ( // BucketReplicationRuleMarkerStatusEnabled captures enum value "Enabled" BucketReplicationRuleMarkerStatusEnabled string = "Enabled" // BucketReplicationRuleMarkerStatusDisabled captures enum value "Disabled" BucketReplicationRuleMarkerStatusDisabled string = "Disabled" )
const ( // LoginDetailsLoginStrategyForm captures enum value "form" LoginDetailsLoginStrategyForm string = "form" // LoginDetailsLoginStrategyRedirect captures enum value "redirect" LoginDetailsLoginStrategyRedirect string = "redirect" // LoginDetailsLoginStrategyServiceAccount captures enum value "service-account" LoginDetailsLoginStrategyServiceAccount string = "service-account" )
const ( // SetBucketQuotaQuotaTypeFifo captures enum value "fifo" SetBucketQuotaQuotaTypeFifo string = "fifo" // SetBucketQuotaQuotaTypeHard captures enum value "hard" SetBucketQuotaQuotaTypeHard string = "hard" )
const ( // RemoteBucketServiceReplication captures enum value "replication" RemoteBucketServiceReplication string = "replication" )
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
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
type AddGroupRequest ¶
type AddGroupRequest struct {
// group
// Required: true
Group *string `json:"group"`
// members
// Required: true
Members []string `json:"members"`
}
AddGroupRequest add group request
swagger:model addGroupRequest
func (*AddGroupRequest) MarshalBinary ¶
func (m *AddGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddGroupRequest) UnmarshalBinary ¶
func (m *AddGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddPolicyRequest ¶
type AddPolicyRequest struct {
// name
// Required: true
Name *string `json:"name"`
// policy
// Required: true
Policy *string `json:"policy"`
}
AddPolicyRequest add policy request
swagger:model addPolicyRequest
func (*AddPolicyRequest) MarshalBinary ¶
func (m *AddPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddPolicyRequest) UnmarshalBinary ¶
func (m *AddPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddUserRequest ¶
type AddUserRequest struct {
// access key
// Required: true
AccessKey *string `json:"accessKey"`
// groups
// Required: true
Groups []string `json:"groups"`
// secret key
// Required: true
SecretKey *string `json:"secretKey"`
}
AddUserRequest add user request
swagger:model addUserRequest
func (*AddUserRequest) MarshalBinary ¶
func (m *AddUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddUserRequest) UnmarshalBinary ¶
func (m *AddUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminInfoResponse ¶
type AdminInfoResponse struct {
// buckets
Buckets int64 `json:"buckets,omitempty"`
// objects
Objects int64 `json:"objects,omitempty"`
// usage
Usage int64 `json:"usage,omitempty"`
// 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
type ArnsResponse ¶
type ArnsResponse struct {
// arns
Arns []string `json:"arns"`
}
ArnsResponse arns response
swagger:model arnsResponse
func (*ArnsResponse) MarshalBinary ¶
func (m *ArnsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ArnsResponse) UnmarshalBinary ¶
func (m *ArnsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsConfiguration ¶ added in v0.3.4
type AwsConfiguration struct {
// secretsmanager
// Required: true
Secretsmanager *AwsConfigurationSecretsmanager `json:"secretsmanager"`
}
AwsConfiguration aws configuration
swagger:model awsConfiguration
func (*AwsConfiguration) MarshalBinary ¶ added in v0.3.4
func (m *AwsConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsConfiguration) UnmarshalBinary ¶ added in v0.3.4
func (m *AwsConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsConfigurationSecretsmanager ¶ added in v0.3.4
type AwsConfigurationSecretsmanager struct {
// credentials
// Required: true
Credentials *AwsConfigurationSecretsmanagerCredentials `json:"credentials"`
// endpoint
// Required: true
Endpoint *string `json:"endpoint"`
// kmskey
Kmskey string `json:"kmskey,omitempty"`
// region
// Required: true
Region *string `json:"region"`
}
AwsConfigurationSecretsmanager aws configuration secretsmanager
swagger:model AwsConfigurationSecretsmanager
func (*AwsConfigurationSecretsmanager) MarshalBinary ¶ added in v0.3.4
func (m *AwsConfigurationSecretsmanager) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsConfigurationSecretsmanager) UnmarshalBinary ¶ added in v0.3.4
func (m *AwsConfigurationSecretsmanager) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsConfigurationSecretsmanagerCredentials ¶ added in v0.3.4
type AwsConfigurationSecretsmanagerCredentials struct {
// accesskey
// Required: true
Accesskey *string `json:"accesskey"`
// secretkey
// Required: true
Secretkey *string `json:"secretkey"`
// token
Token string `json:"token,omitempty"`
}
AwsConfigurationSecretsmanagerCredentials aws configuration secretsmanager credentials
swagger:model AwsConfigurationSecretsmanagerCredentials
func (*AwsConfigurationSecretsmanagerCredentials) MarshalBinary ¶ added in v0.3.4
func (m *AwsConfigurationSecretsmanagerCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsConfigurationSecretsmanagerCredentials) UnmarshalBinary ¶ added in v0.3.4
func (m *AwsConfigurationSecretsmanagerCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Bucket ¶
type Bucket struct {
// access
Access BucketAccess `json:"access,omitempty"`
// creation date
CreationDate string `json:"creation_date,omitempty"`
// name
// Required: true
// Min Length: 3
Name *string `json:"name"`
// size
Size int64 `json:"size,omitempty"`
}
Bucket bucket
swagger:model bucket
func (*Bucket) MarshalBinary ¶
MarshalBinary interface implementation
func (*Bucket) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BucketAccess ¶
type BucketAccess string
BucketAccess bucket access
swagger:model bucketAccess
const ( // BucketAccessPRIVATE captures enum value "PRIVATE" BucketAccessPRIVATE BucketAccess = "PRIVATE" // BucketAccessPUBLIC captures enum value "PUBLIC" BucketAccessPUBLIC BucketAccess = "PUBLIC" // BucketAccessCUSTOM captures enum value "CUSTOM" BucketAccessCUSTOM BucketAccess = "CUSTOM" )
type 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
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
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" )
type BucketEventRequest ¶
type BucketEventRequest struct {
// configuration
// Required: true
Configuration *NotificationConfig `json:"configuration"`
// ignore existing
IgnoreExisting bool `json:"ignoreExisting,omitempty"`
}
BucketEventRequest bucket event request
swagger:model bucketEventRequest
func (*BucketEventRequest) MarshalBinary ¶
func (m *BucketEventRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketEventRequest) UnmarshalBinary ¶
func (m *BucketEventRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BucketObLockingResponse ¶ added in v0.6.4
type BucketObLockingResponse struct {
// object locking enabled
ObjectLockingEnabled bool `json:"object_locking_enabled,omitempty"`
}
BucketObLockingResponse bucket ob locking response
swagger:model bucketObLockingResponse
func (*BucketObLockingResponse) MarshalBinary ¶ added in v0.6.4
func (m *BucketObLockingResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketObLockingResponse) UnmarshalBinary ¶ added in v0.6.4
func (m *BucketObLockingResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
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
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
type BulkUserGroups ¶
type BulkUserGroups struct {
// groups
// Required: true
Groups []string `json:"groups"`
// users
// Required: true
Users []string `json:"users"`
}
BulkUserGroups bulk user groups
swagger:model bulkUserGroups
func (*BulkUserGroups) MarshalBinary ¶
func (m *BulkUserGroups) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkUserGroups) UnmarshalBinary ¶
func (m *BulkUserGroups) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigDescription ¶
type ConfigDescription struct {
// description
Description string `json:"description,omitempty"`
// key
Key string `json:"key,omitempty"`
}
ConfigDescription config description
swagger:model configDescription
func (*ConfigDescription) MarshalBinary ¶
func (m *ConfigDescription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigDescription) UnmarshalBinary ¶
func (m *ConfigDescription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Configuration ¶
type Configuration struct {
// key values
KeyValues []*ConfigurationKV `json:"key_values"`
// name
Name string `json:"name,omitempty"`
}
Configuration configuration
swagger:model configuration
func (*Configuration) MarshalBinary ¶
func (m *Configuration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Configuration) UnmarshalBinary ¶
func (m *Configuration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigurationKV ¶
type ConfigurationKV struct {
// key
Key string `json:"key,omitempty"`
// value
Value string `json:"value,omitempty"`
}
ConfigurationKV configuration k v
swagger:model configurationKV
func (*ConfigurationKV) MarshalBinary ¶
func (m *ConfigurationKV) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigurationKV) UnmarshalBinary ¶
func (m *ConfigurationKV) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
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
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
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
type CreateTenantResponseConsole ¶ added in v0.3.2
type CreateTenantResponseConsole struct {
// access key
AccessKey string `json:"access_key,omitempty"`
// secret key
SecretKey string `json:"secret_key,omitempty"`
}
CreateTenantResponseConsole create tenant response console
swagger:model CreateTenantResponseConsole
func (*CreateTenantResponseConsole) MarshalBinary ¶ added in v0.3.2
func (m *CreateTenantResponseConsole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTenantResponseConsole) UnmarshalBinary ¶ added in v0.3.2
func (m *CreateTenantResponseConsole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteTenantRequest ¶ added in v0.3.14
type DeleteTenantRequest struct {
// delete pvcs
DeletePvcs bool `json:"delete_pvcs,omitempty"`
}
DeleteTenantRequest delete tenant request
swagger:model deleteTenantRequest
func (*DeleteTenantRequest) MarshalBinary ¶ added in v0.3.14
func (m *DeleteTenantRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteTenantRequest) UnmarshalBinary ¶ added in v0.3.14
func (m *DeleteTenantRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DirectCSIDriveInfo ¶ added in v0.6.4
type DirectCSIDriveInfo struct {
// allocated
Allocated int64 `json:"allocated,omitempty"`
// capacity
Capacity int64 `json:"capacity,omitempty"`
// drive
Drive string `json:"drive,omitempty"`
// message
Message string `json:"message,omitempty"`
// node
Node string `json:"node,omitempty"`
// status
Status string `json:"status,omitempty"`
// volumes
Volumes int64 `json:"volumes,omitempty"`
}
DirectCSIDriveInfo direct c s i drive info
swagger:model directCSIDriveInfo
func (*DirectCSIDriveInfo) MarshalBinary ¶ added in v0.6.4
func (m *DirectCSIDriveInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DirectCSIDriveInfo) UnmarshalBinary ¶ added in v0.6.4
func (m *DirectCSIDriveInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DirectCSIVolumeInfo ¶ added in v0.6.4
type DirectCSIVolumeInfo struct {
// capacity
Capacity int64 `json:"capacity,omitempty"`
// drive
Drive string `json:"drive,omitempty"`
// node
Node string `json:"node,omitempty"`
// volume
Volume string `json:"volume,omitempty"`
}
DirectCSIVolumeInfo direct c s i volume info
swagger:model directCSIVolumeInfo
func (*DirectCSIVolumeInfo) MarshalBinary ¶ added in v0.6.4
func (m *DirectCSIVolumeInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DirectCSIVolumeInfo) UnmarshalBinary ¶ added in v0.6.4
func (m *DirectCSIVolumeInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
type GemaltoConfiguration ¶ added in v0.3.4
type GemaltoConfiguration struct {
// keysecure
// Required: true
Keysecure *GemaltoConfigurationKeysecure `json:"keysecure"`
}
GemaltoConfiguration gemalto configuration
swagger:model gemaltoConfiguration
func (*GemaltoConfiguration) MarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GemaltoConfiguration) UnmarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GemaltoConfigurationKeysecure ¶ added in v0.3.4
type GemaltoConfigurationKeysecure struct {
// credentials
// Required: true
Credentials *GemaltoConfigurationKeysecureCredentials `json:"credentials"`
// endpoint
// Required: true
Endpoint *string `json:"endpoint"`
// tls
TLS *GemaltoConfigurationKeysecureTLS `json:"tls,omitempty"`
}
GemaltoConfigurationKeysecure gemalto configuration keysecure
swagger:model GemaltoConfigurationKeysecure
func (*GemaltoConfigurationKeysecure) MarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecure) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GemaltoConfigurationKeysecure) UnmarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecure) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GemaltoConfigurationKeysecureCredentials ¶ added in v0.3.4
type GemaltoConfigurationKeysecureCredentials struct {
// domain
// Required: true
Domain *string `json:"domain"`
// retry
Retry int64 `json:"retry,omitempty"`
// token
// Required: true
Token *string `json:"token"`
}
GemaltoConfigurationKeysecureCredentials gemalto configuration keysecure credentials
swagger:model GemaltoConfigurationKeysecureCredentials
func (*GemaltoConfigurationKeysecureCredentials) MarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecureCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GemaltoConfigurationKeysecureCredentials) UnmarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecureCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GemaltoConfigurationKeysecureTLS ¶ added in v0.3.4
type GemaltoConfigurationKeysecureTLS struct {
// ca
// Required: true
Ca *string `json:"ca"`
}
GemaltoConfigurationKeysecureTLS gemalto configuration keysecure TLS
swagger:model GemaltoConfigurationKeysecureTLS
func (*GemaltoConfigurationKeysecureTLS) MarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecureTLS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GemaltoConfigurationKeysecureTLS) UnmarshalBinary ¶ added in v0.3.4
func (m *GemaltoConfigurationKeysecureTLS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
type GetDirectCSIDriveListResponse ¶ added in v0.6.4
type GetDirectCSIDriveListResponse struct {
// drives
Drives []*DirectCSIDriveInfo `json:"drives"`
}
GetDirectCSIDriveListResponse get direct c s i drive list response
swagger:model getDirectCSIDriveListResponse
func (*GetDirectCSIDriveListResponse) MarshalBinary ¶ added in v0.6.4
func (m *GetDirectCSIDriveListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDirectCSIDriveListResponse) UnmarshalBinary ¶ added in v0.6.4
func (m *GetDirectCSIDriveListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDirectCSIVolumeListResponse ¶ added in v0.6.4
type GetDirectCSIVolumeListResponse struct {
// volumes
Volumes []*DirectCSIVolumeInfo `json:"volumes"`
}
GetDirectCSIVolumeListResponse get direct c s i volume list response
swagger:model getDirectCSIVolumeListResponse
func (*GetDirectCSIVolumeListResponse) MarshalBinary ¶ added in v0.6.4
func (m *GetDirectCSIVolumeListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDirectCSIVolumeListResponse) UnmarshalBinary ¶ added in v0.6.4
func (m *GetDirectCSIVolumeListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Group ¶
type Group struct {
// members
Members []string `json:"members"`
// name
Name string `json:"name,omitempty"`
// policy
Policy string `json:"policy,omitempty"`
// status
Status string `json:"status,omitempty"`
}
Group group
swagger:model group
func (*Group) MarshalBinary ¶
MarshalBinary interface implementation
func (*Group) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HasPermissionRequest ¶ added in v0.6.5
type HasPermissionRequest struct {
// actions
Actions []*PolicyArgs `json:"actions"`
}
HasPermissionRequest has permission request
swagger:model hasPermissionRequest
func (*HasPermissionRequest) MarshalBinary ¶ added in v0.6.5
func (m *HasPermissionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HasPermissionRequest) UnmarshalBinary ¶ added in v0.6.5
func (m *HasPermissionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HasPermissionResponse ¶ added in v0.6.5
type HasPermissionResponse struct {
// permissions
Permissions []*PermissionAction `json:"permissions"`
}
HasPermissionResponse has permission response
swagger:model hasPermissionResponse
func (*HasPermissionResponse) MarshalBinary ¶ added in v0.6.5
func (m *HasPermissionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HasPermissionResponse) UnmarshalBinary ¶ added in v0.6.5
func (m *HasPermissionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdpConfiguration ¶ added in v0.3.5
type IdpConfiguration struct {
// active directory
ActiveDirectory *IdpConfigurationActiveDirectory `json:"active_directory,omitempty"`
// oidc
Oidc *IdpConfigurationOidc `json:"oidc,omitempty"`
}
IdpConfiguration idp configuration
swagger:model idpConfiguration
func (*IdpConfiguration) MarshalBinary ¶ added in v0.3.5
func (m *IdpConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdpConfiguration) UnmarshalBinary ¶ added in v0.3.5
func (m *IdpConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdpConfigurationActiveDirectory ¶ added in v0.3.5
type IdpConfigurationActiveDirectory struct {
// group name attribute
GroupNameAttribute string `json:"group_name_attribute,omitempty"`
// group search base dn
GroupSearchBaseDn string `json:"group_search_base_dn,omitempty"`
// group search filter
GroupSearchFilter string `json:"group_search_filter,omitempty"`
// server insecure
ServerInsecure bool `json:"server_insecure,omitempty"`
// skip tls verification
SkipTLSVerification bool `json:"skip_tls_verification,omitempty"`
// url
// Required: true
URL *string `json:"url"`
// user search filter
// Required: true
UserSearchFilter *string `json:"user_search_filter"`
// username format
// Required: true
UsernameFormat *string `json:"username_format"`
}
IdpConfigurationActiveDirectory idp configuration active directory
swagger:model IdpConfigurationActiveDirectory
func (*IdpConfigurationActiveDirectory) MarshalBinary ¶ added in v0.3.5
func (m *IdpConfigurationActiveDirectory) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdpConfigurationActiveDirectory) UnmarshalBinary ¶ added in v0.3.5
func (m *IdpConfigurationActiveDirectory) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdpConfigurationOidc ¶ added in v0.3.5
type IdpConfigurationOidc struct {
// client id
// Required: true
ClientID *string `json:"client_id"`
// secret id
// Required: true
SecretID *string `json:"secret_id"`
// url
// Required: true
URL *string `json:"url"`
}
IdpConfigurationOidc idp configuration oidc
swagger:model IdpConfigurationOidc
func (*IdpConfigurationOidc) MarshalBinary ¶ added in v0.3.5
func (m *IdpConfigurationOidc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdpConfigurationOidc) UnmarshalBinary ¶ added in v0.3.5
func (m *IdpConfigurationOidc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageRegistry ¶ added in v0.3.7
type ImageRegistry struct {
// password
// Required: true
Password *string `json:"password"`
// registry
// Required: true
Registry *string `json:"registry"`
// username
// Required: true
Username *string `json:"username"`
}
ImageRegistry image registry
swagger:model imageRegistry
func (*ImageRegistry) MarshalBinary ¶ added in v0.3.7
func (m *ImageRegistry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageRegistry) UnmarshalBinary ¶ added in v0.3.7
func (m *ImageRegistry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyPairConfiguration ¶ added in v0.3.10
type KeyPairConfiguration struct {
// crt
// Required: true
Crt *string `json:"crt"`
// key
// Required: true
Key *string `json:"key"`
}
KeyPairConfiguration key pair configuration
swagger:model keyPairConfiguration
func (*KeyPairConfiguration) MarshalBinary ¶ added in v0.3.10
func (m *KeyPairConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeyPairConfiguration) UnmarshalBinary ¶ added in v0.3.10
func (m *KeyPairConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
MarshalBinary interface implementation
func (*License) UnmarshalBinary ¶ added in v0.5.0
UnmarshalBinary interface implementation
type ListBucketEventsResponse ¶
type ListBucketEventsResponse struct {
// events
Events []*NotificationConfig `json:"events"`
// total number of bucket events
Total int64 `json:"total,omitempty"`
}
ListBucketEventsResponse list bucket events response
swagger:model listBucketEventsResponse
func (*ListBucketEventsResponse) MarshalBinary ¶
func (m *ListBucketEventsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListBucketEventsResponse) UnmarshalBinary ¶
func (m *ListBucketEventsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListBucketsResponse ¶
type ListBucketsResponse struct {
// list of resulting buckets
Buckets []*Bucket `json:"buckets"`
// number of buckets accessible to tenant user
Total int64 `json:"total,omitempty"`
}
ListBucketsResponse list buckets response
swagger:model listBucketsResponse
func (*ListBucketsResponse) MarshalBinary ¶
func (m *ListBucketsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListBucketsResponse) UnmarshalBinary ¶
func (m *ListBucketsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListConfigResponse ¶
type ListConfigResponse struct {
// configurations
Configurations []*ConfigDescription `json:"configurations"`
// total number of configurations
Total int64 `json:"total,omitempty"`
}
ListConfigResponse list config response
swagger:model listConfigResponse
func (*ListConfigResponse) MarshalBinary ¶
func (m *ListConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListConfigResponse) UnmarshalBinary ¶
func (m *ListConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListExternalBucketsParams ¶ added in v0.6.7
type ListExternalBucketsParams 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"`
// target URL
// Required: true
TargetURL *string `json:"targetURL"`
// use TLS
// Required: true
UseTLS *bool `json:"useTLS"`
}
ListExternalBucketsParams list external buckets params
swagger:model listExternalBucketsParams
func (*ListExternalBucketsParams) MarshalBinary ¶ added in v0.6.7
func (m *ListExternalBucketsParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListExternalBucketsParams) UnmarshalBinary ¶ added in v0.6.7
func (m *ListExternalBucketsParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupsResponse ¶
type ListGroupsResponse struct {
// list of groups
Groups []string `json:"groups"`
// total number of groups
Total int64 `json:"total,omitempty"`
}
ListGroupsResponse list groups response
swagger:model listGroupsResponse
func (*ListGroupsResponse) MarshalBinary ¶
func (m *ListGroupsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupsResponse) UnmarshalBinary ¶
func (m *ListGroupsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
type ListPoliciesResponse ¶
type ListPoliciesResponse struct {
// list of policies
Policies []*Policy `json:"policies"`
// total number of policies
Total int64 `json:"total,omitempty"`
}
ListPoliciesResponse list policies response
swagger:model listPoliciesResponse
func (*ListPoliciesResponse) MarshalBinary ¶
func (m *ListPoliciesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPoliciesResponse) UnmarshalBinary ¶
func (m *ListPoliciesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
type ListTenantsResponse ¶
type ListTenantsResponse struct {
// list of resulting tenants
Tenants []*TenantList `json:"tenants"`
// number of tenants accessible to tenant user
Total int64 `json:"total,omitempty"`
}
ListTenantsResponse list tenants response
swagger:model listTenantsResponse
func (*ListTenantsResponse) MarshalBinary ¶
func (m *ListTenantsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTenantsResponse) UnmarshalBinary ¶
func (m *ListTenantsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListUsersResponse ¶
type ListUsersResponse struct {
// list of resulting users
Users []*User `json:"users"`
}
ListUsersResponse list users response
swagger:model listUsersResponse
func (*ListUsersResponse) MarshalBinary ¶
func (m *ListUsersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListUsersResponse) UnmarshalBinary ¶
func (m *ListUsersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
type LoginDetails ¶
type LoginDetails struct {
// login strategy
// Enum: [form redirect service-account]
LoginStrategy string `json:"loginStrategy,omitempty"`
// redirect
Redirect string `json:"redirect,omitempty"`
}
LoginDetails login details
swagger:model loginDetails
func (*LoginDetails) MarshalBinary ¶
func (m *LoginDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginDetails) UnmarshalBinary ¶
func (m *LoginDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginOauth2AuthRequest ¶
type LoginOauth2AuthRequest struct {
// code
// Required: true
Code *string `json:"code"`
// state
// Required: true
State *string `json:"state"`
}
LoginOauth2AuthRequest login oauth2 auth request
swagger:model loginOauth2AuthRequest
func (*LoginOauth2AuthRequest) MarshalBinary ¶
func (m *LoginOauth2AuthRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginOauth2AuthRequest) UnmarshalBinary ¶
func (m *LoginOauth2AuthRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginOperatorRequest ¶
type LoginOperatorRequest struct {
// jwt
// Required: true
Jwt *string `json:"jwt"`
}
LoginOperatorRequest login operator request
swagger:model loginOperatorRequest
func (*LoginOperatorRequest) MarshalBinary ¶
func (m *LoginOperatorRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginOperatorRequest) UnmarshalBinary ¶
func (m *LoginOperatorRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginRequest ¶
type LoginRequest struct {
// access key
// Required: true
AccessKey *string `json:"accessKey"`
// secret key
// Required: true
SecretKey *string `json:"secretKey"`
}
LoginRequest login request
swagger:model loginRequest
func (*LoginRequest) MarshalBinary ¶
func (m *LoginRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginRequest) UnmarshalBinary ¶
func (m *LoginRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginResponse ¶
type LoginResponse struct {
// session Id
SessionID string `json:"sessionId,omitempty"`
}
LoginResponse login response
swagger:model loginResponse
func (*LoginResponse) MarshalBinary ¶
func (m *LoginResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginResponse) UnmarshalBinary ¶
func (m *LoginResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MakeBucketRequest ¶
type MakeBucketRequest struct {
// locking
Locking bool `json:"locking,omitempty"`
// 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
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
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
type MultiBucketReplication ¶ added in v0.6.7
type MultiBucketReplication struct {
// access key
// Required: true
// Min Length: 3
AccessKey *string `json:"accessKey"`
// buckets relation
// Required: true
// Min Length: 1
BucketsRelation []*MultiBucketsRelation `json:"bucketsRelation"`
// region
Region string `json:"region,omitempty"`
// secret key
// Required: true
// Min Length: 8
SecretKey *string `json:"secretKey"`
// target URL
// Required: true
TargetURL *string `json:"targetURL"`
}
MultiBucketReplication multi bucket replication
swagger:model multiBucketReplication
func (*MultiBucketReplication) MarshalBinary ¶ added in v0.6.7
func (m *MultiBucketReplication) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MultiBucketReplication) UnmarshalBinary ¶ added in v0.6.7
func (m *MultiBucketReplication) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MultiBucketResponseItem ¶ added in v0.6.7
type MultiBucketResponseItem struct {
// error string
ErrorString string `json:"errorString,omitempty"`
// origin bucket
OriginBucket string `json:"originBucket,omitempty"`
// target bucket
TargetBucket string `json:"targetBucket,omitempty"`
}
MultiBucketResponseItem multi bucket response item
swagger:model multiBucketResponseItem
func (*MultiBucketResponseItem) MarshalBinary ¶ added in v0.6.7
func (m *MultiBucketResponseItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MultiBucketResponseItem) UnmarshalBinary ¶ added in v0.6.7
func (m *MultiBucketResponseItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MultiBucketResponseState ¶ added in v0.6.7
type MultiBucketResponseState struct {
// replication state
ReplicationState []*MultiBucketResponseItem `json:"replicationState"`
}
MultiBucketResponseState multi bucket response state
swagger:model multiBucketResponseState
func (*MultiBucketResponseState) MarshalBinary ¶ added in v0.6.7
func (m *MultiBucketResponseState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MultiBucketResponseState) UnmarshalBinary ¶ added in v0.6.7
func (m *MultiBucketResponseState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MultiBucketsRelation ¶ added in v0.6.7
type MultiBucketsRelation struct {
// destination bucket
DestinationBucket string `json:"destinationBucket,omitempty"`
// origin bucket
OriginBucket string `json:"originBucket,omitempty"`
}
MultiBucketsRelation multi buckets relation
swagger:model multiBucketsRelation
func (*MultiBucketsRelation) MarshalBinary ¶ added in v0.6.7
func (m *MultiBucketsRelation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MultiBucketsRelation) UnmarshalBinary ¶ added in v0.6.7
func (m *MultiBucketsRelation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeSelectorTerm ¶ added in v0.3.1
type NodeSelectorTerm struct {
// A list of node selector requirements by node's labels.
MatchExpressions []*NodeSelectorTermMatchExpressionsItems0 `json:"matchExpressions"`
// A list of node selector requirements by node's fields.
MatchFields []*NodeSelectorTermMatchFieldsItems0 `json:"matchFields"`
}
NodeSelectorTerm A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
swagger:model nodeSelectorTerm
func (*NodeSelectorTerm) MarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTerm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeSelectorTerm) UnmarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTerm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeSelectorTermMatchExpressionsItems0 ¶ added in v0.3.1
type NodeSelectorTermMatchExpressionsItems0 struct {
// The label key that the selector applies to.
// Required: true
Key *string `json:"key"`
// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
// Required: true
Operator *string `json:"operator"`
// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
Values []string `json:"values"`
}
NodeSelectorTermMatchExpressionsItems0 A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
swagger:model NodeSelectorTermMatchExpressionsItems0
func (*NodeSelectorTermMatchExpressionsItems0) MarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTermMatchExpressionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeSelectorTermMatchExpressionsItems0) UnmarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTermMatchExpressionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeSelectorTermMatchFieldsItems0 ¶ added in v0.3.1
type NodeSelectorTermMatchFieldsItems0 struct {
// The label key that the selector applies to.
// Required: true
Key *string `json:"key"`
// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
// Required: true
Operator *string `json:"operator"`
// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
Values []string `json:"values"`
}
NodeSelectorTermMatchFieldsItems0 A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
swagger:model NodeSelectorTermMatchFieldsItems0
func (*NodeSelectorTermMatchFieldsItems0) MarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTermMatchFieldsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeSelectorTermMatchFieldsItems0) UnmarshalBinary ¶ added in v0.3.1
func (m *NodeSelectorTermMatchFieldsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NofiticationService ¶
type NofiticationService string
NofiticationService nofitication service
swagger:model nofiticationService
const ( // NofiticationServiceWebhook captures enum value "webhook" NofiticationServiceWebhook NofiticationService = "webhook" // NofiticationServiceAmqp captures enum value "amqp" NofiticationServiceAmqp NofiticationService = "amqp" // NofiticationServiceKafka captures enum value "kafka" NofiticationServiceKafka NofiticationService = "kafka" // NofiticationServiceMqtt captures enum value "mqtt" NofiticationServiceMqtt NofiticationService = "mqtt" // NofiticationServiceNats captures enum value "nats" NofiticationServiceNats NofiticationService = "nats" // NofiticationServiceNsq captures enum value "nsq" NofiticationServiceNsq NofiticationService = "nsq" // NofiticationServiceMysql captures enum value "mysql" NofiticationServiceMysql NofiticationService = "mysql" // NofiticationServicePostgres captures enum value "postgres" NofiticationServicePostgres NofiticationService = "postgres" // NofiticationServiceElasticsearch captures enum value "elasticsearch" NofiticationServiceElasticsearch NofiticationService = "elasticsearch" // NofiticationServiceRedis captures enum value "redis" NofiticationServiceRedis NofiticationService = "redis" )
type NotifEndpointResponse ¶
type NotifEndpointResponse struct {
// notification endpoints
NotificationEndpoints []*NotificationEndpointItem `json:"notification_endpoints"`
}
NotifEndpointResponse notif endpoint response
swagger:model notifEndpointResponse
func (*NotifEndpointResponse) MarshalBinary ¶
func (m *NotifEndpointResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotifEndpointResponse) UnmarshalBinary ¶
func (m *NotifEndpointResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationConfig ¶
type NotificationConfig struct {
// arn
// Required: true
Arn *string `json:"arn"`
// filter specific type of event. Defaults to all event (default: '[put,delete,get]')
Events []NotificationEventType `json:"events"`
// id
ID string `json:"id,omitempty"`
// filter event associated to the specified prefix
Prefix string `json:"prefix,omitempty"`
// filter event associated to the specified suffix
Suffix string `json:"suffix,omitempty"`
}
NotificationConfig notification config
swagger:model notificationConfig
func (*NotificationConfig) MarshalBinary ¶
func (m *NotificationConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationConfig) UnmarshalBinary ¶
func (m *NotificationConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationDeleteRequest ¶
type NotificationDeleteRequest struct {
// filter specific type of event. Defaults to all event (default: '[put,delete,get]')
// Required: true
// Min Length: 1
Events []NotificationEventType `json:"events"`
// filter event associated to the specified prefix
// Required: true
Prefix *string `json:"prefix"`
// filter event associated to the specified suffix
// Required: true
Suffix *string `json:"suffix"`
}
NotificationDeleteRequest notification delete request
swagger:model notificationDeleteRequest
func (*NotificationDeleteRequest) MarshalBinary ¶
func (m *NotificationDeleteRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationDeleteRequest) UnmarshalBinary ¶
func (m *NotificationDeleteRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationEndpoint ¶
type NotificationEndpoint struct {
// account id
// Required: true
AccountID *string `json:"account_id"`
// properties
// Required: true
Properties map[string]string `json:"properties"`
// service
// Required: true
Service NofiticationService `json:"service"`
}
NotificationEndpoint notification endpoint
swagger:model notificationEndpoint
func (*NotificationEndpoint) MarshalBinary ¶
func (m *NotificationEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationEndpoint) UnmarshalBinary ¶
func (m *NotificationEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationEndpointItem ¶
type NotificationEndpointItem struct {
// account id
AccountID string `json:"account_id,omitempty"`
// service
Service NofiticationService `json:"service,omitempty"`
// status
Status string `json:"status,omitempty"`
}
NotificationEndpointItem notification endpoint item
swagger:model notificationEndpointItem
func (*NotificationEndpointItem) MarshalBinary ¶
func (m *NotificationEndpointItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationEndpointItem) UnmarshalBinary ¶
func (m *NotificationEndpointItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationEventType ¶
type NotificationEventType string
NotificationEventType notification event type
swagger:model notificationEventType
const ( // NotificationEventTypePut captures enum value "put" NotificationEventTypePut NotificationEventType = "put" // NotificationEventTypeDelete captures enum value "delete" NotificationEventTypeDelete NotificationEventType = "delete" // NotificationEventTypeGet captures enum value "get" NotificationEventTypeGet NotificationEventType = "get" )
type 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" )
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" )
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" )
type ParityResponse ¶ added in v0.3.26
type ParityResponse []string
ParityResponse parity response
swagger:model parityResponse
type PermissionAction ¶ added in v0.6.5
type PermissionAction struct {
// can
Can bool `json:"can,omitempty"`
// id
ID string `json:"id,omitempty"`
}
PermissionAction permission action
swagger:model permissionAction
func (*PermissionAction) MarshalBinary ¶ added in v0.6.5
func (m *PermissionAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PermissionAction) UnmarshalBinary ¶ added in v0.6.5
func (m *PermissionAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PodAffinityTerm ¶ added in v0.3.1
type PodAffinityTerm struct {
// label selector
LabelSelector *PodAffinityTermLabelSelector `json:"labelSelector,omitempty"`
// namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace"
Namespaces []string `json:"namespaces"`
// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
// Required: true
TopologyKey *string `json:"topologyKey"`
}
PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
swagger:model podAffinityTerm
func (*PodAffinityTerm) MarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTerm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PodAffinityTerm) UnmarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTerm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PodAffinityTermLabelSelector ¶ added in v0.3.1
type PodAffinityTermLabelSelector struct {
// matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions []*PodAffinityTermLabelSelectorMatchExpressionsItems0 `json:"matchExpressions"`
// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels map[string]string `json:"matchLabels,omitempty"`
}
PodAffinityTermLabelSelector A label query over a set of resources, in this case pods.
swagger:model PodAffinityTermLabelSelector
func (*PodAffinityTermLabelSelector) MarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTermLabelSelector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PodAffinityTermLabelSelector) UnmarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTermLabelSelector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PodAffinityTermLabelSelectorMatchExpressionsItems0 ¶ added in v0.3.1
type PodAffinityTermLabelSelectorMatchExpressionsItems0 struct {
// key is the label key that the selector applies to.
// Required: true
Key *string `json:"key"`
// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
// Required: true
Operator *string `json:"operator"`
// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
Values []string `json:"values"`
}
PodAffinityTermLabelSelectorMatchExpressionsItems0 A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
swagger:model PodAffinityTermLabelSelectorMatchExpressionsItems0
func (*PodAffinityTermLabelSelectorMatchExpressionsItems0) MarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTermLabelSelectorMatchExpressionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PodAffinityTermLabelSelectorMatchExpressionsItems0) UnmarshalBinary ¶ added in v0.3.1
func (m *PodAffinityTermLabelSelectorMatchExpressionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Policy ¶
type Policy struct {
// name
Name string `json:"name,omitempty"`
// policy
Policy string `json:"policy,omitempty"`
}
Policy policy
swagger:model policy
func (*Policy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Policy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PolicyArgs ¶ added in v0.6.5
type PolicyArgs struct {
// action
Action string `json:"action,omitempty"`
// bucket name
BucketName string `json:"bucket_name,omitempty"`
// id
ID string `json:"id,omitempty"`
}
PolicyArgs policy args
swagger:model policyArgs
func (*PolicyArgs) MarshalBinary ¶ added in v0.6.5
func (m *PolicyArgs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyArgs) UnmarshalBinary ¶ added in v0.6.5
func (m *PolicyArgs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyEntity ¶
type PolicyEntity string
PolicyEntity policy entity
swagger:model policyEntity
const ( // PolicyEntityUser captures enum value "user" PolicyEntityUser PolicyEntity = "user" // PolicyEntityGroup captures enum value "group" PolicyEntityGroup PolicyEntity = "group" )
type 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
MarshalBinary interface implementation
func (*Pool) UnmarshalBinary ¶ added in v0.5.0
UnmarshalBinary interface implementation
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
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
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
func (m *PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary ¶ added in v0.5.0
func (m *PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate ¶ added in v0.5.0
func (m *PoolAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
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
func (m *PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) UnmarshalBinary ¶ added in v0.5.0
func (m *PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) Validate ¶ added in v0.5.0
func (m *PoolAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) Validate(formats strfmt.Registry) error
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
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
func (m *PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary ¶ added in v0.5.0
func (m *PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate ¶ added in v0.5.0
func (m *PoolAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
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
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
func (m *PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary ¶ added in v0.5.0
func (m *PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate ¶ added in v0.5.0
func (m *PoolAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0) Validate(formats strfmt.Registry) error
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
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
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
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
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
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
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"`
// actions
Actions []string `json:"actions"`
}
Principal principal
swagger:model principal
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ProfilerType ¶
type ProfilerType string
ProfilerType profiler type
swagger:model profilerType
const ( // ProfilerTypeCPU captures enum value "cpu" ProfilerTypeCPU ProfilerType = "cpu" // ProfilerTypeMem captures enum value "mem" ProfilerTypeMem ProfilerType = "mem" // ProfilerTypeBlock captures enum value "block" ProfilerTypeBlock ProfilerType = "block" // ProfilerTypeMutex captures enum value "mutex" ProfilerTypeMutex ProfilerType = "mutex" // ProfilerTypeTrace captures enum value "trace" ProfilerTypeTrace ProfilerType = "trace" // ProfilerTypeThreads captures enum value "threads" ProfilerTypeThreads ProfilerType = "threads" // ProfilerTypeGoroutines captures enum value "goroutines" ProfilerTypeGoroutines ProfilerType = "goroutines" )
type ProfilingStartRequest ¶
type ProfilingStartRequest struct {
// type
// Required: true
Type ProfilerType `json:"type"`
}
ProfilingStartRequest profiling start request
swagger:model profilingStartRequest
func (*ProfilingStartRequest) MarshalBinary ¶
func (m *ProfilingStartRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProfilingStartRequest) UnmarshalBinary ¶
func (m *ProfilingStartRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
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
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
type PutObjectTagsRequest ¶ added in v0.4.4
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
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
type ResourceQuota ¶
type ResourceQuota struct {
// elements
Elements []*ResourceQuotaElement `json:"elements"`
// name
Name string `json:"name,omitempty"`
}
ResourceQuota resource quota
swagger:model resourceQuota
func (*ResourceQuota) MarshalBinary ¶
func (m *ResourceQuota) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceQuota) UnmarshalBinary ¶
func (m *ResourceQuota) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceQuotaElement ¶
type ResourceQuotaElement struct {
// hard
Hard int64 `json:"hard,omitempty"`
// name
Name string `json:"name,omitempty"`
// used
Used int64 `json:"used,omitempty"`
}
ResourceQuotaElement resource quota element
swagger:model resourceQuotaElement
func (*ResourceQuotaElement) MarshalBinary ¶
func (m *ResourceQuotaElement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceQuotaElement) UnmarshalBinary ¶
func (m *ResourceQuotaElement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
type ServiceAccountCreds ¶
type ServiceAccountCreds struct {
// access key
AccessKey string `json:"accessKey,omitempty"`
// secret key
SecretKey string `json:"secretKey,omitempty"`
}
ServiceAccountCreds service account creds
swagger:model serviceAccountCreds
func (*ServiceAccountCreds) MarshalBinary ¶
func (m *ServiceAccountCreds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccountCreds) UnmarshalBinary ¶
func (m *ServiceAccountCreds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccountRequest ¶
type ServiceAccountRequest struct {
// policy to be applied to the Service Account if any
Policy string `json:"policy,omitempty"`
}
ServiceAccountRequest service account request
swagger:model serviceAccountRequest
func (*ServiceAccountRequest) MarshalBinary ¶
func (m *ServiceAccountRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccountRequest) UnmarshalBinary ¶
func (m *ServiceAccountRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccounts ¶
type ServiceAccounts []string
ServiceAccounts service accounts
swagger:model serviceAccounts
type SessionResponse ¶
type SessionResponse struct {
// features
Features []string `json:"features"`
// 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
type SetBucketPolicyRequest ¶
type SetBucketPolicyRequest struct {
// access
// Required: true
Access BucketAccess `json:"access"`
}
SetBucketPolicyRequest set bucket policy request
swagger:model setBucketPolicyRequest
func (*SetBucketPolicyRequest) MarshalBinary ¶
func (m *SetBucketPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetBucketPolicyRequest) UnmarshalBinary ¶
func (m *SetBucketPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
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
type SetConfigRequest ¶
type SetConfigRequest struct {
// Used if configuration is an event notification's target
ArnResourceID string `json:"arn_resource_id,omitempty"`
// key values
// Required: true
// Min Items: 1
KeyValues []*ConfigurationKV `json:"key_values"`
}
SetConfigRequest set config request
swagger:model setConfigRequest
func (*SetConfigRequest) MarshalBinary ¶
func (m *SetConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetConfigRequest) UnmarshalBinary ¶
func (m *SetConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
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
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
type SetPolicyRequest ¶
type SetPolicyRequest struct {
// entity name
// Required: true
EntityName *string `json:"entityName"`
// entity type
// Required: true
EntityType PolicyEntity `json:"entityType"`
}
SetPolicyRequest set policy request
swagger:model setPolicyRequest
func (*SetPolicyRequest) MarshalBinary ¶
func (m *SetPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetPolicyRequest) UnmarshalBinary ¶
func (m *SetPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartProfilingItem ¶
type StartProfilingItem struct {
// error
Error string `json:"error,omitempty"`
// node name
NodeName string `json:"nodeName,omitempty"`
// success
Success bool `json:"success,omitempty"`
}
StartProfilingItem start profiling item
swagger:model startProfilingItem
func (*StartProfilingItem) MarshalBinary ¶
func (m *StartProfilingItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartProfilingItem) UnmarshalBinary ¶
func (m *StartProfilingItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartProfilingList ¶
type StartProfilingList struct {
// start results
StartResults []*StartProfilingItem `json:"startResults"`
// number of start results
Total int64 `json:"total,omitempty"`
}
StartProfilingList start profiling list
swagger:model startProfilingList
func (*StartProfilingList) MarshalBinary ¶
func (m *StartProfilingList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartProfilingList) UnmarshalBinary ¶
func (m *StartProfilingList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
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
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 ¶
MarshalBinary interface implementation
func (*Tenant) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
type TenantUsage ¶ added in v0.3.1
type TenantUsage struct {
// disk used
DiskUsed int64 `json:"disk_used,omitempty"`
// used
Used int64 `json:"used,omitempty"`
}
TenantUsage tenant usage
swagger:model tenantUsage
func (*TenantUsage) MarshalBinary ¶ added in v0.3.1
func (m *TenantUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TenantUsage) UnmarshalBinary ¶ added in v0.3.1
func (m *TenantUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateGroupRequest ¶
type UpdateGroupRequest struct {
// members
// Required: true
Members []string `json:"members"`
// status
// Required: true
Status *string `json:"status"`
}
UpdateGroupRequest update group request
swagger:model updateGroupRequest
func (*UpdateGroupRequest) MarshalBinary ¶
func (m *UpdateGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateGroupRequest) UnmarshalBinary ¶
func (m *UpdateGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateTenantRequest ¶
type UpdateTenantRequest struct {
// console image
// Pattern: ^((.*?)/(.*?):(.+))$
ConsoleImage string `json:"console_image,omitempty"`
// 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
type UpdateUser ¶
type UpdateUser struct {
// groups
// Required: true
Groups []string `json:"groups"`
// status
// Required: true
Status *string `json:"status"`
}
UpdateUser update user
swagger:model updateUser
func (*UpdateUser) MarshalBinary ¶
func (m *UpdateUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUser) UnmarshalBinary ¶
func (m *UpdateUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserGroups ¶
type UpdateUserGroups struct {
// groups
// Required: true
Groups []string `json:"groups"`
}
UpdateUserGroups update user groups
swagger:model updateUserGroups
func (*UpdateUserGroups) MarshalBinary ¶
func (m *UpdateUserGroups) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUserGroups) UnmarshalBinary ¶
func (m *UpdateUserGroups) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct {
// access key
AccessKey string `json:"accessKey,omitempty"`
// member of
MemberOf []string `json:"memberOf"`
// policy
Policy string `json:"policy,omitempty"`
// status
Status string `json:"status,omitempty"`
}
User user
swagger:model user
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VaultConfiguration ¶ added in v0.3.4
type VaultConfiguration struct {
// approle
// Required: true
Approle *VaultConfigurationApprole `json:"approle"`
// endpoint
// Required: true
Endpoint *string `json:"endpoint"`
// engine
Engine string `json:"engine,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// prefix
Prefix string `json:"prefix,omitempty"`
// status
Status *VaultConfigurationStatus `json:"status,omitempty"`
// tls
TLS *VaultConfigurationTLS `json:"tls,omitempty"`
}
VaultConfiguration vault configuration
swagger:model vaultConfiguration
func (*VaultConfiguration) MarshalBinary ¶ added in v0.3.4
func (m *VaultConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VaultConfiguration) UnmarshalBinary ¶ added in v0.3.4
func (m *VaultConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VaultConfigurationApprole ¶ added in v0.3.4
type VaultConfigurationApprole struct {
// engine
Engine string `json:"engine,omitempty"`
// id
// Required: true
ID *string `json:"id"`
// retry
Retry int64 `json:"retry,omitempty"`
// secret
// Required: true
Secret *string `json:"secret"`
}
VaultConfigurationApprole vault configuration approle
swagger:model VaultConfigurationApprole
func (*VaultConfigurationApprole) MarshalBinary ¶ added in v0.3.4
func (m *VaultConfigurationApprole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VaultConfigurationApprole) UnmarshalBinary ¶ added in v0.3.4
func (m *VaultConfigurationApprole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VaultConfigurationStatus ¶ added in v0.3.4
type VaultConfigurationStatus struct {
// ping
Ping int64 `json:"ping,omitempty"`
}
VaultConfigurationStatus vault configuration status
swagger:model VaultConfigurationStatus
func (*VaultConfigurationStatus) MarshalBinary ¶ added in v0.3.4
func (m *VaultConfigurationStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VaultConfigurationStatus) UnmarshalBinary ¶ added in v0.3.4
func (m *VaultConfigurationStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VaultConfigurationTLS ¶ added in v0.3.9
type VaultConfigurationTLS struct {
// ca
Ca string `json:"ca,omitempty"`
// crt
Crt string `json:"crt,omitempty"`
// key
Key string `json:"key,omitempty"`
}
VaultConfigurationTLS vault configuration TLS
swagger:model VaultConfigurationTLS
func (*VaultConfigurationTLS) MarshalBinary ¶ added in v0.3.9
func (m *VaultConfigurationTLS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VaultConfigurationTLS) UnmarshalBinary ¶ added in v0.3.9
func (m *VaultConfigurationTLS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
MarshalBinary interface implementation
func (*Widget) UnmarshalBinary ¶ added in v0.5.0
UnmarshalBinary interface implementation
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
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
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
Source Files
¶
- account_change_password_request.go
- add_bucket_replication.go
- add_group_request.go
- add_policy_request.go
- add_user_request.go
- admin_info_response.go
- arns_response.go
- aws_configuration.go
- bucket.go
- bucket_access.go
- bucket_encryption_info.go
- bucket_encryption_request.go
- bucket_encryption_type.go
- bucket_event_request.go
- bucket_ob_locking_response.go
- bucket_object.go
- bucket_replication_destination.go
- bucket_replication_response.go
- bucket_replication_rule.go
- bucket_replication_rule_marker.go
- bucket_versioning_response.go
- bulk_user_groups.go
- config_description.go
- configuration.go
- configuration_k_v.go
- console_configuration.go
- create_remote_bucket.go
- create_tenant_request.go
- create_tenant_response.go
- delete_tenant_request.go
- direct_c_s_i_drive_info.go
- direct_c_s_i_volume_info.go
- encryption_configuration.go
- error.go
- gcp_configuration.go
- gemalto_configuration.go
- get_bucket_retention_config.go
- get_direct_c_s_i_drive_list_response.go
- get_direct_c_s_i_volume_list_response.go
- group.go
- has_permission_request.go
- has_permission_response.go
- iam_entity.go
- idp_configuration.go
- image_registry.go
- key_pair_configuration.go
- license.go
- list_bucket_events_response.go
- list_buckets_response.go
- list_config_response.go
- list_external_buckets_params.go
- list_groups_response.go
- list_objects_response.go
- list_policies_response.go
- list_remote_buckets_response.go
- list_tenants_response.go
- list_users_response.go
- log_search_response.go
- login_details.go
- login_oauth2_auth_request.go
- login_operator_request.go
- login_request.go
- login_response.go
- make_bucket_request.go
- max_allocatable_mem_response.go
- metadata_fields.go
- multi_bucket_replication.go
- multi_bucket_response_item.go
- multi_bucket_response_state.go
- multi_buckets_relation.go
- node_selector_term.go
- nofitication_service.go
- notif_endpoint_response.go
- notification_config.go
- notification_delete_request.go
- notification_endpoint.go
- notification_endpoint_item.go
- notification_event_type.go
- object_legal_hold_status.go
- object_retention_mode.go
- object_retention_unit.go
- parity_response.go
- permission_action.go
- pod_affinity_term.go
- policy.go
- policy_args.go
- policy_entity.go
- pool.go
- pool_affinity.go
- pool_resources.go
- pool_toleration_seconds.go
- pool_tolerations.go
- pool_update_request.go
- principal.go
- profiler_type.go
- profiling_start_request.go
- put_bucket_retention_request.go
- put_object_legal_hold_request.go
- put_object_retention_request.go
- put_object_tags_request.go
- remote_bucket.go
- resource_quota.go
- resource_quota_element.go
- result_target.go
- service_account_creds.go
- service_account_request.go
- service_accounts.go
- session_response.go
- set_bucket_policy_request.go
- set_bucket_quota.go
- set_bucket_versioning.go
- set_config_request.go
- set_config_response.go
- set_notification_endpoint_response.go
- set_policy_multiple_request.go
- set_policy_request.go
- start_profiling_item.go
- start_profiling_list.go
- subscription_validate_request.go
- tenant.go
- tenant_list.go
- tenant_usage.go
- tls_configuration.go
- update_group_request.go
- update_tenant_request.go
- update_user.go
- update_user_groups.go
- user.go
- vault_configuration.go
- widget.go
- widget_result.go