Documentation
¶
Index ¶
- Constants
- type AddGroupRequest
- type AddPolicyRequest
- type AddUserRequest
- type Bucket
- type BucketAccess
- type ConfigDescription
- type Configuration
- type ConfigurationKV
- type Error
- type Group
- type ListBucketEventsResponse
- type ListBucketsResponse
- type ListConfigResponse
- type ListGroupsResponse
- type ListPoliciesResponse
- type ListUsersResponse
- type LoginDetails
- type LoginRequest
- type LoginResponse
- type MakeBucketRequest
- type NotificationConfig
- type NotificationEventType
- type Policy
- type PolicyEntity
- type Principal
- type ProfilerType
- type ProfilingStartRequest
- type ProfilingType
- type SetBucketPolicyRequest
- type SetConfigRequest
- type SetPolicyRequest
- type StartProfilingItem
- type StartProfilingList
- type Statement
- type UpdateGroupRequest
- type User
Constants ¶
const ( // LoginDetailsLoginStrategyForm captures enum value "form" LoginDetailsLoginStrategyForm string = "form" // LoginDetailsLoginStrategyRedirect captures enum value "redirect" LoginDetailsLoginStrategyRedirect string = "redirect" )
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 { // definition Definition string `json:"definition,omitempty"` // name // Required: true Name *string `json:"name"` }
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"` // 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 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 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 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 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] 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 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 { // access Access BucketAccess `json:"access,omitempty"` // 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 NotificationConfig ¶
type NotificationConfig struct { // arn Arn string `json:"arn,omitempty"` // 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 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"` // statements Statements []*Statement `json:"statements"` // version Version string `json:"version,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 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 ProfilingType ¶
type ProfilingType string
ProfilingType profiling type
swagger:model profilingType
const ( // ProfilingTypeCPU captures enum value "cpu" ProfilingTypeCPU ProfilingType = "cpu" // ProfilingTypeMem captures enum value "mem" ProfilingTypeMem ProfilingType = "mem" // ProfilingTypeBlock captures enum value "block" ProfilingTypeBlock ProfilingType = "block" // ProfilingTypeMutex captures enum value "mutex" ProfilingTypeMutex ProfilingType = "mutex" // ProfilingTypeTrace captures enum value "trace" ProfilingTypeTrace ProfilingType = "trace" // ProfilingTypeThreads captures enum value "threads" ProfilingTypeThreads ProfilingType = "threads" // ProfilingTypeGoroutines captures enum value "goroutines" ProfilingTypeGoroutines ProfilingType = "goroutines" )
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 Statement ¶
type Statement struct { // actions Actions []string `json:"actions"` // effect Effect string `json:"effect,omitempty"` // resources Resources []string `json:"resources"` }
Statement statement
swagger:model statement
func (*Statement) MarshalBinary ¶
MarshalBinary interface implementation
func (*Statement) UnmarshalBinary ¶
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 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
Source Files
¶
- add_group_request.go
- add_policy_request.go
- add_user_request.go
- bucket.go
- bucket_access.go
- config_description.go
- configuration.go
- configuration_k_v.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_users_response.go
- login_details.go
- login_request.go
- login_response.go
- make_bucket_request.go
- notification_config.go
- notification_event_type.go
- policy.go
- policy_entity.go
- principal.go
- profiler_type.go
- profiling_start_request.go
- profiling_type.go
- set_bucket_policy_request.go
- set_config_request.go
- set_policy_request.go
- start_profiling_item.go
- start_profiling_list.go
- statement.go
- update_group_request.go
- user.go