Documentation
¶
Index ¶
- Constants
- type AddGroupRequest
- type AddPolicyRequest
- type AddUserRequest
- type AdminInfoResponse
- type ArnsResponse
- type Bucket
- type BucketAccess
- type BucketEventRequest
- type BulkUserGroups
- type ConfigDescription
- type Configuration
- type ConfigurationKV
- type CreateTenantRequest
- type CreateTenantResponse
- type Error
- type Group
- type ListBucketEventsResponse
- type ListBucketsResponse
- type ListConfigResponse
- type ListGroupsResponse
- type ListPoliciesResponse
- type ListTenantsResponse
- type ListUsersResponse
- type LoginDetails
- type LoginOauth2AuthRequest
- type LoginOperatorRequest
- type LoginRequest
- type LoginResponse
- type MakeBucketRequest
- type NofiticationService
- type NotifEndpointResponse
- type NotificationConfig
- type NotificationDeleteRequest
- type NotificationEndpoint
- type NotificationEndpointItem
- type NotificationEventType
- type Policy
- type PolicyEntity
- type Principal
- type ProfilerType
- type ProfilingStartRequest
- type ResourceQuota
- type ResourceQuotaElement
- type ServiceAccountCreds
- type ServiceAccountRequest
- type ServiceAccounts
- type SessionResponse
- type SetBucketPolicyRequest
- type SetConfigRequest
- type SetPolicyRequest
- type StartProfilingItem
- type StartProfilingList
- type Tenant
- type TenantList
- type UpdateGroupRequest
- type UpdateTenantRequest
- type UpdateUser
- type UpdateUserGroups
- type User
- type Zone
- type ZoneVolumeConfiguration
Constants ¶
const ( // LoginDetailsLoginStrategyForm captures enum value "form" LoginDetailsLoginStrategyForm string = "form" // LoginDetailsLoginStrategyRedirect captures enum value "redirect" LoginDetailsLoginStrategyRedirect string = "redirect" // LoginDetailsLoginStrategyServiceAccount captures enum value "service-account" LoginDetailsLoginStrategyServiceAccount string = "service-account" )
const ( // SessionResponseStatusOk captures enum value "ok" SessionResponseStatusOk string = "ok" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddGroupRequest ¶
type AddGroupRequest struct { // group // Required: true Group *string `json:"group"` // members // Required: true Members []string `json:"members"` }
AddGroupRequest add group request
swagger:model addGroupRequest
func (*AddGroupRequest) MarshalBinary ¶
func (m *AddGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddGroupRequest) UnmarshalBinary ¶
func (m *AddGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddPolicyRequest ¶
type AddPolicyRequest struct { // name // Required: true Name *string `json:"name"` // policy // Required: true Policy *string `json:"policy"` }
AddPolicyRequest add policy request
swagger:model addPolicyRequest
func (*AddPolicyRequest) MarshalBinary ¶
func (m *AddPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddPolicyRequest) UnmarshalBinary ¶
func (m *AddPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddUserRequest ¶
type AddUserRequest struct { // access key // Required: true AccessKey *string `json:"accessKey"` // groups // Required: true Groups []string `json:"groups"` // secret key // Required: true SecretKey *string `json:"secretKey"` }
AddUserRequest add user request
swagger:model addUserRequest
func (*AddUserRequest) MarshalBinary ¶
func (m *AddUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddUserRequest) UnmarshalBinary ¶
func (m *AddUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminInfoResponse ¶
type AdminInfoResponse struct { // buckets Buckets int64 `json:"buckets,omitempty"` // objects Objects int64 `json:"objects,omitempty"` // usage Usage int64 `json:"usage,omitempty"` }
AdminInfoResponse admin info response
swagger:model adminInfoResponse
func (*AdminInfoResponse) MarshalBinary ¶
func (m *AdminInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminInfoResponse) UnmarshalBinary ¶
func (m *AdminInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ArnsResponse ¶
type ArnsResponse struct { // arns Arns []string `json:"arns"` }
ArnsResponse arns response
swagger:model arnsResponse
func (*ArnsResponse) MarshalBinary ¶
func (m *ArnsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ArnsResponse) UnmarshalBinary ¶
func (m *ArnsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Bucket ¶
type Bucket struct { // access Access BucketAccess `json:"access,omitempty"` // creation date CreationDate string `json:"creation_date,omitempty"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // size Size int64 `json:"size,omitempty"` }
Bucket bucket
swagger:model bucket
func (*Bucket) MarshalBinary ¶
MarshalBinary interface implementation
func (*Bucket) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BucketAccess ¶
type BucketAccess string
BucketAccess bucket access
swagger:model bucketAccess
const ( // BucketAccessPRIVATE captures enum value "PRIVATE" BucketAccessPRIVATE BucketAccess = "PRIVATE" // BucketAccessPUBLIC captures enum value "PUBLIC" BucketAccessPUBLIC BucketAccess = "PUBLIC" // BucketAccessCUSTOM captures enum value "CUSTOM" BucketAccessCUSTOM BucketAccess = "CUSTOM" )
type BucketEventRequest ¶
type BucketEventRequest struct { // configuration // Required: true Configuration *NotificationConfig `json:"configuration"` // ignore existing IgnoreExisting bool `json:"ignoreExisting,omitempty"` }
BucketEventRequest bucket event request
swagger:model bucketEventRequest
func (*BucketEventRequest) MarshalBinary ¶
func (m *BucketEventRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketEventRequest) UnmarshalBinary ¶
func (m *BucketEventRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkUserGroups ¶
type BulkUserGroups struct { // groups // Required: true Groups []string `json:"groups"` // users // Required: true Users []string `json:"users"` }
BulkUserGroups bulk user groups
swagger:model bulkUserGroups
func (*BulkUserGroups) MarshalBinary ¶
func (m *BulkUserGroups) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkUserGroups) UnmarshalBinary ¶
func (m *BulkUserGroups) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigDescription ¶
type ConfigDescription struct { // description Description string `json:"description,omitempty"` // key Key string `json:"key,omitempty"` }
ConfigDescription config description
swagger:model configDescription
func (*ConfigDescription) MarshalBinary ¶
func (m *ConfigDescription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigDescription) UnmarshalBinary ¶
func (m *ConfigDescription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Configuration ¶
type Configuration struct { // key values KeyValues []*ConfigurationKV `json:"key_values"` // name Name string `json:"name,omitempty"` }
Configuration configuration
swagger:model configuration
func (*Configuration) MarshalBinary ¶
func (m *Configuration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Configuration) UnmarshalBinary ¶
func (m *Configuration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigurationKV ¶
type ConfigurationKV struct { // key Key string `json:"key,omitempty"` // value Value string `json:"value,omitempty"` }
ConfigurationKV configuration k v
swagger:model configurationKV
func (*ConfigurationKV) MarshalBinary ¶
func (m *ConfigurationKV) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigurationKV) UnmarshalBinary ¶
func (m *ConfigurationKV) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTenantRequest ¶
type CreateTenantRequest struct { // access key AccessKey string `json:"access_key,omitempty"` // annotations Annotations map[string]string `json:"annotations,omitempty"` // enable console EnableConsole *bool `json:"enable_console,omitempty"` // enable ssl EnableSsl *bool `json:"enable_ssl,omitempty"` // image Image string `json:"image,omitempty"` // mounth path MounthPath string `json:"mounth_path,omitempty"` // name // Required: true // Pattern: ^[a-z0-9-]{3,63}$ Name *string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // secret key SecretKey string `json:"secret_key,omitempty"` // service name ServiceName string `json:"service_name,omitempty"` // zones // Required: true Zones []*Zone `json:"zones"` }
CreateTenantRequest create tenant request
swagger:model createTenantRequest
func (*CreateTenantRequest) MarshalBinary ¶
func (m *CreateTenantRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTenantRequest) UnmarshalBinary ¶
func (m *CreateTenantRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTenantResponse ¶
type CreateTenantResponse struct { // access key AccessKey string `json:"access_key,omitempty"` // secret key SecretKey string `json:"secret_key,omitempty"` }
CreateTenantResponse create tenant response
swagger:model createTenantResponse
func (*CreateTenantResponse) MarshalBinary ¶
func (m *CreateTenantResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTenantResponse) UnmarshalBinary ¶
func (m *CreateTenantResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // code Code int64 `json:"code,omitempty"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type 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 ListBucketEventsResponse ¶
type ListBucketEventsResponse struct { // events Events []*NotificationConfig `json:"events"` // total number of bucket events Total int64 `json:"total,omitempty"` }
ListBucketEventsResponse list bucket events response
swagger:model listBucketEventsResponse
func (*ListBucketEventsResponse) MarshalBinary ¶
func (m *ListBucketEventsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListBucketEventsResponse) UnmarshalBinary ¶
func (m *ListBucketEventsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListBucketsResponse ¶
type ListBucketsResponse struct { // list of resulting buckets Buckets []*Bucket `json:"buckets"` // number of buckets accessible to tenant user Total int64 `json:"total,omitempty"` }
ListBucketsResponse list buckets response
swagger:model listBucketsResponse
func (*ListBucketsResponse) MarshalBinary ¶
func (m *ListBucketsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListBucketsResponse) UnmarshalBinary ¶
func (m *ListBucketsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListConfigResponse ¶
type ListConfigResponse struct { // configurations Configurations []*ConfigDescription `json:"configurations"` // total number of configurations Total int64 `json:"total,omitempty"` }
ListConfigResponse list config response
swagger:model listConfigResponse
func (*ListConfigResponse) MarshalBinary ¶
func (m *ListConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListConfigResponse) UnmarshalBinary ¶
func (m *ListConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupsResponse ¶
type ListGroupsResponse struct { // list of groups Groups []string `json:"groups"` // total number of groups Total int64 `json:"total,omitempty"` }
ListGroupsResponse list groups response
swagger:model listGroupsResponse
func (*ListGroupsResponse) MarshalBinary ¶
func (m *ListGroupsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupsResponse) UnmarshalBinary ¶
func (m *ListGroupsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPoliciesResponse ¶
type ListPoliciesResponse struct { // list of policies Policies []*Policy `json:"policies"` // total number of policies Total int64 `json:"total,omitempty"` }
ListPoliciesResponse list policies response
swagger:model listPoliciesResponse
func (*ListPoliciesResponse) MarshalBinary ¶
func (m *ListPoliciesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPoliciesResponse) UnmarshalBinary ¶
func (m *ListPoliciesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTenantsResponse ¶
type ListTenantsResponse struct { // list of resulting tenants Tenants []*TenantList `json:"tenants"` // number of tenants accessible to tenant user Total int64 `json:"total,omitempty"` }
ListTenantsResponse list tenants response
swagger:model listTenantsResponse
func (*ListTenantsResponse) MarshalBinary ¶
func (m *ListTenantsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTenantsResponse) UnmarshalBinary ¶
func (m *ListTenantsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListUsersResponse ¶
type ListUsersResponse struct { // list of resulting users Users []*User `json:"users"` }
ListUsersResponse list users response
swagger:model listUsersResponse
func (*ListUsersResponse) MarshalBinary ¶
func (m *ListUsersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListUsersResponse) UnmarshalBinary ¶
func (m *ListUsersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginDetails ¶
type LoginDetails struct { // login strategy // Enum: [form redirect service-account] LoginStrategy string `json:"loginStrategy,omitempty"` // redirect Redirect string `json:"redirect,omitempty"` }
LoginDetails login details
swagger:model loginDetails
func (*LoginDetails) MarshalBinary ¶
func (m *LoginDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginDetails) UnmarshalBinary ¶
func (m *LoginDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginOauth2AuthRequest ¶
type LoginOauth2AuthRequest struct { // code // Required: true Code *string `json:"code"` // state // Required: true State *string `json:"state"` }
LoginOauth2AuthRequest login oauth2 auth request
swagger:model loginOauth2AuthRequest
func (*LoginOauth2AuthRequest) MarshalBinary ¶
func (m *LoginOauth2AuthRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginOauth2AuthRequest) UnmarshalBinary ¶
func (m *LoginOauth2AuthRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginOperatorRequest ¶
type LoginOperatorRequest struct { // jwt // Required: true Jwt *string `json:"jwt"` }
LoginOperatorRequest login operator request
swagger:model loginOperatorRequest
func (*LoginOperatorRequest) MarshalBinary ¶
func (m *LoginOperatorRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginOperatorRequest) UnmarshalBinary ¶
func (m *LoginOperatorRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginRequest ¶
type LoginRequest struct { // access key // Required: true AccessKey *string `json:"accessKey"` // secret key // Required: true SecretKey *string `json:"secretKey"` }
LoginRequest login request
swagger:model loginRequest
func (*LoginRequest) MarshalBinary ¶
func (m *LoginRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginRequest) UnmarshalBinary ¶
func (m *LoginRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginResponse ¶
type LoginResponse struct { // session Id SessionID string `json:"sessionId,omitempty"` }
LoginResponse login response
swagger:model loginResponse
func (*LoginResponse) MarshalBinary ¶
func (m *LoginResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginResponse) UnmarshalBinary ¶
func (m *LoginResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MakeBucketRequest ¶
type MakeBucketRequest struct { // name // Required: true Name *string `json:"name"` }
MakeBucketRequest make bucket request
swagger:model makeBucketRequest
func (*MakeBucketRequest) MarshalBinary ¶
func (m *MakeBucketRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MakeBucketRequest) UnmarshalBinary ¶
func (m *MakeBucketRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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 Policy ¶
type Policy struct { // name Name string `json:"name,omitempty"` // policy Policy string `json:"policy,omitempty"` }
Policy policy
swagger:model policy
func (*Policy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Policy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PolicyEntity ¶
type PolicyEntity string
PolicyEntity policy entity
swagger:model policyEntity
const ( // PolicyEntityUser captures enum value "user" PolicyEntityUser PolicyEntity = "user" // PolicyEntityGroup captures enum value "group" PolicyEntityGroup PolicyEntity = "group" )
type Principal ¶
type Principal struct { // access key ID AccessKeyID string `json:"accessKeyID,omitempty"` // actions Actions []string `json:"actions"` // secret access key SecretAccessKey string `json:"secretAccessKey,omitempty"` // session token SessionToken string `json:"sessionToken,omitempty"` }
Principal principal
swagger:model principal
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ProfilerType ¶
type ProfilerType string
ProfilerType profiler type
swagger:model profilerType
const ( // ProfilerTypeCPU captures enum value "cpu" ProfilerTypeCPU ProfilerType = "cpu" // ProfilerTypeMem captures enum value "mem" ProfilerTypeMem ProfilerType = "mem" // ProfilerTypeBlock captures enum value "block" ProfilerTypeBlock ProfilerType = "block" // ProfilerTypeMutex captures enum value "mutex" ProfilerTypeMutex ProfilerType = "mutex" // ProfilerTypeTrace captures enum value "trace" ProfilerTypeTrace ProfilerType = "trace" // ProfilerTypeThreads captures enum value "threads" ProfilerTypeThreads ProfilerType = "threads" // ProfilerTypeGoroutines captures enum value "goroutines" ProfilerTypeGoroutines ProfilerType = "goroutines" )
type ProfilingStartRequest ¶
type ProfilingStartRequest struct { // type // Required: true Type ProfilerType `json:"type"` }
ProfilingStartRequest profiling start request
swagger:model profilingStartRequest
func (*ProfilingStartRequest) MarshalBinary ¶
func (m *ProfilingStartRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProfilingStartRequest) UnmarshalBinary ¶
func (m *ProfilingStartRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceQuota ¶
type ResourceQuota struct { // elements Elements []*ResourceQuotaElement `json:"elements"` // name Name string `json:"name,omitempty"` }
ResourceQuota resource quota
swagger:model resourceQuota
func (*ResourceQuota) MarshalBinary ¶
func (m *ResourceQuota) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceQuota) UnmarshalBinary ¶
func (m *ResourceQuota) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceQuotaElement ¶
type ResourceQuotaElement struct { // hard Hard int64 `json:"hard,omitempty"` // name Name string `json:"name,omitempty"` // used Used int64 `json:"used,omitempty"` }
ResourceQuotaElement resource quota element
swagger:model resourceQuotaElement
func (*ResourceQuotaElement) MarshalBinary ¶
func (m *ResourceQuotaElement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceQuotaElement) UnmarshalBinary ¶
func (m *ResourceQuotaElement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccountCreds ¶
type ServiceAccountCreds struct { // access key AccessKey string `json:"accessKey,omitempty"` // secret key SecretKey string `json:"secretKey,omitempty"` }
ServiceAccountCreds service account creds
swagger:model serviceAccountCreds
func (*ServiceAccountCreds) MarshalBinary ¶
func (m *ServiceAccountCreds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccountCreds) UnmarshalBinary ¶
func (m *ServiceAccountCreds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccountRequest ¶
type ServiceAccountRequest struct { // policy to be applied to the Service Account if any Policy string `json:"policy,omitempty"` }
ServiceAccountRequest service account request
swagger:model serviceAccountRequest
func (*ServiceAccountRequest) MarshalBinary ¶
func (m *ServiceAccountRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccountRequest) UnmarshalBinary ¶
func (m *ServiceAccountRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccounts ¶
type ServiceAccounts []string
ServiceAccounts service accounts
swagger:model serviceAccounts
type SessionResponse ¶
type SessionResponse struct { // pages Pages []string `json:"pages"` // status // Enum: [ok] Status string `json:"status,omitempty"` }
SessionResponse session response
swagger:model sessionResponse
func (*SessionResponse) MarshalBinary ¶
func (m *SessionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SessionResponse) UnmarshalBinary ¶
func (m *SessionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetBucketPolicyRequest ¶
type SetBucketPolicyRequest struct { // access // Required: true Access BucketAccess `json:"access"` }
SetBucketPolicyRequest set bucket policy request
swagger:model setBucketPolicyRequest
func (*SetBucketPolicyRequest) MarshalBinary ¶
func (m *SetBucketPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetBucketPolicyRequest) UnmarshalBinary ¶
func (m *SetBucketPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetConfigRequest ¶
type SetConfigRequest struct { // Used if configuration is an event notification's target ArnResourceID string `json:"arn_resource_id,omitempty"` // key values // Required: true // Min Items: 1 KeyValues []*ConfigurationKV `json:"key_values"` }
SetConfigRequest set config request
swagger:model setConfigRequest
func (*SetConfigRequest) MarshalBinary ¶
func (m *SetConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetConfigRequest) UnmarshalBinary ¶
func (m *SetConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetPolicyRequest ¶
type SetPolicyRequest struct { // entity name // Required: true EntityName *string `json:"entityName"` // entity type // Required: true EntityType PolicyEntity `json:"entityType"` }
SetPolicyRequest set policy request
swagger:model setPolicyRequest
func (*SetPolicyRequest) MarshalBinary ¶
func (m *SetPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetPolicyRequest) UnmarshalBinary ¶
func (m *SetPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartProfilingItem ¶
type StartProfilingItem struct { // error Error string `json:"error,omitempty"` // node name NodeName string `json:"nodeName,omitempty"` // success Success bool `json:"success,omitempty"` }
StartProfilingItem start profiling item
swagger:model startProfilingItem
func (*StartProfilingItem) MarshalBinary ¶
func (m *StartProfilingItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartProfilingItem) UnmarshalBinary ¶
func (m *StartProfilingItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartProfilingList ¶
type StartProfilingList struct { // start results StartResults []*StartProfilingItem `json:"startResults"` // number of start results Total int64 `json:"total,omitempty"` }
StartProfilingList start profiling list
swagger:model startProfilingList
func (*StartProfilingList) MarshalBinary ¶
func (m *StartProfilingList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartProfilingList) UnmarshalBinary ¶
func (m *StartProfilingList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Tenant ¶
type Tenant struct { // creation date CreationDate string `json:"creation_date,omitempty"` // current state CurrentState string `json:"currentState,omitempty"` // image Image string `json:"image,omitempty"` // name Name string `json:"name,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // total size TotalSize int64 `json:"total_size,omitempty"` // used size UsedSize int64 `json:"used_size,omitempty"` // zones Zones []*Zone `json:"zones"` }
Tenant tenant
swagger:model tenant
func (*Tenant) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tenant) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TenantList ¶
type TenantList struct { // creation date CreationDate string `json:"creation_date,omitempty"` // current state CurrentState string `json:"currentState,omitempty"` // instance count InstanceCount int64 `json:"instance_count,omitempty"` // name Name string `json:"name,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // volume count VolumeCount int64 `json:"volume_count,omitempty"` // volume size VolumeSize int64 `json:"volume_size,omitempty"` // zone count ZoneCount int64 `json:"zone_count,omitempty"` }
TenantList tenant list
swagger:model tenantList
func (*TenantList) MarshalBinary ¶
func (m *TenantList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TenantList) UnmarshalBinary ¶
func (m *TenantList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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 { // image // Pattern: ^((.*?)/(.*?):(.+))$ Image string `json:"image,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 Zone ¶
type Zone struct { // name Name string `json:"name,omitempty"` // servers // Required: true Servers *int64 `json:"servers"` // volume configuration // Required: true VolumeConfiguration *ZoneVolumeConfiguration `json:"volume_configuration"` // volumes per server // Required: true VolumesPerServer *int32 `json:"volumes_per_server"` }
Zone zone
swagger:model zone
func (*Zone) MarshalBinary ¶
MarshalBinary interface implementation
func (*Zone) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ZoneVolumeConfiguration ¶
type ZoneVolumeConfiguration struct { // size // Required: true Size *int64 `json:"size"` // storage class name StorageClassName string `json:"storage_class_name,omitempty"` }
ZoneVolumeConfiguration zone volume configuration
swagger:model ZoneVolumeConfiguration
func (*ZoneVolumeConfiguration) MarshalBinary ¶
func (m *ZoneVolumeConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZoneVolumeConfiguration) UnmarshalBinary ¶
func (m *ZoneVolumeConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- add_group_request.go
- add_policy_request.go
- add_user_request.go
- admin_info_response.go
- arns_response.go
- bucket.go
- bucket_access.go
- bucket_event_request.go
- bulk_user_groups.go
- config_description.go
- configuration.go
- configuration_k_v.go
- create_tenant_request.go
- create_tenant_response.go
- error.go
- group.go
- list_bucket_events_response.go
- list_buckets_response.go
- list_config_response.go
- list_groups_response.go
- list_policies_response.go
- list_tenants_response.go
- list_users_response.go
- login_details.go
- login_oauth2_auth_request.go
- login_operator_request.go
- login_request.go
- login_response.go
- make_bucket_request.go
- 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
- policy.go
- policy_entity.go
- principal.go
- profiler_type.go
- profiling_start_request.go
- resource_quota.go
- resource_quota_element.go
- service_account_creds.go
- service_account_request.go
- service_accounts.go
- session_response.go
- set_bucket_policy_request.go
- set_config_request.go
- set_policy_request.go
- start_profiling_item.go
- start_profiling_list.go
- tenant.go
- tenant_list.go
- update_group_request.go
- update_tenant_request.go
- update_user.go
- update_user_groups.go
- user.go
- zone.go