models

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// LoginDetailsLoginStrategyForm captures enum value "form"
	LoginDetailsLoginStrategyForm string = "form"

	// LoginDetailsLoginStrategyRedirect captures enum value "redirect"
	LoginDetailsLoginStrategyRedirect string = "redirect"

	// LoginDetailsLoginStrategyServiceAccount captures enum value "service-account"
	LoginDetailsLoginStrategyServiceAccount string = "service-account"
)
View Source
const (

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

Variables

This section is empty.

Functions

This section is empty.

Types

type AddGroupRequest

type AddGroupRequest struct {

	// group
	// Required: true
	Group *string `json:"group"`

	// members
	// Required: true
	Members []string `json:"members"`
}

AddGroupRequest add group request

swagger:model addGroupRequest

func (*AddGroupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AddGroupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddGroupRequest) Validate

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

Validate validates this add group request

type AddPolicyRequest

type AddPolicyRequest struct {

	// name
	// Required: true
	Name *string `json:"name"`

	// policy
	// Required: true
	Policy *string `json:"policy"`
}

AddPolicyRequest add policy request

swagger:model addPolicyRequest

func (*AddPolicyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPolicyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPolicyRequest) Validate

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

Validate validates this add policy request

type AddUserRequest

type AddUserRequest struct {

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

	// groups
	// Required: true
	Groups []string `json:"groups"`

	// secret key
	// Required: true
	SecretKey *string `json:"secretKey"`
}

AddUserRequest add user request

swagger:model addUserRequest

func (*AddUserRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AddUserRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddUserRequest) Validate

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

Validate validates this add user request

type AdminInfoResponse

type AdminInfoResponse struct {

	// buckets
	Buckets int64 `json:"buckets,omitempty"`

	// objects
	Objects int64 `json:"objects,omitempty"`

	// usage
	Usage int64 `json:"usage,omitempty"`
}

AdminInfoResponse admin info response

swagger:model adminInfoResponse

func (*AdminInfoResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AdminInfoResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AdminInfoResponse) Validate

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

Validate validates this admin info response

type ArnsResponse

type ArnsResponse struct {

	// arns
	Arns []string `json:"arns"`
}

ArnsResponse arns response

swagger:model arnsResponse

func (*ArnsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ArnsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ArnsResponse) Validate

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

Validate validates this arns response

type Bucket

type Bucket struct {

	// access
	Access BucketAccess `json:"access,omitempty"`

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

	// name
	// Required: true
	// Min Length: 3
	Name *string `json:"name"`

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

Bucket bucket

swagger:model bucket

func (*Bucket) MarshalBinary

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

MarshalBinary interface implementation

func (*Bucket) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Bucket) Validate

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

Validate validates this bucket

type BucketAccess

type BucketAccess string

BucketAccess bucket access

swagger:model bucketAccess

const (

	// BucketAccessPRIVATE captures enum value "PRIVATE"
	BucketAccessPRIVATE BucketAccess = "PRIVATE"

	// BucketAccessPUBLIC captures enum value "PUBLIC"
	BucketAccessPUBLIC BucketAccess = "PUBLIC"

	// BucketAccessCUSTOM captures enum value "CUSTOM"
	BucketAccessCUSTOM BucketAccess = "CUSTOM"
)

func (BucketAccess) Validate

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

Validate validates this bucket access

type BucketEventRequest

type BucketEventRequest struct {

	// configuration
	// Required: true
	Configuration *NotificationConfig `json:"configuration"`

	// ignore existing
	IgnoreExisting bool `json:"ignoreExisting,omitempty"`
}

BucketEventRequest bucket event request

swagger:model bucketEventRequest

func (*BucketEventRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*BucketEventRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BucketEventRequest) Validate

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

Validate validates this bucket event request

type BulkUserGroups

type BulkUserGroups struct {

	// groups
	// Required: true
	Groups []string `json:"groups"`

	// users
	// Required: true
	Users []string `json:"users"`
}

BulkUserGroups bulk user groups

swagger:model bulkUserGroups

func (*BulkUserGroups) MarshalBinary

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

MarshalBinary interface implementation

func (*BulkUserGroups) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BulkUserGroups) Validate

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

Validate validates this bulk user groups

type ConfigDescription

type ConfigDescription struct {

	// description
	Description string `json:"description,omitempty"`

	// key
	Key string `json:"key,omitempty"`
}

ConfigDescription config description

swagger:model configDescription

func (*ConfigDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*ConfigDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConfigDescription) Validate

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

Validate validates this config description

type Configuration

type Configuration struct {

	// key values
	KeyValues []*ConfigurationKV `json:"key_values"`

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

Configuration configuration

swagger:model configuration

func (*Configuration) MarshalBinary

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

MarshalBinary interface implementation

func (*Configuration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Configuration) Validate

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

Validate validates this configuration

type ConfigurationKV

type ConfigurationKV struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

ConfigurationKV configuration k v

swagger:model configurationKV

func (*ConfigurationKV) MarshalBinary

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

MarshalBinary interface implementation

func (*ConfigurationKV) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConfigurationKV) Validate

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

Validate validates this configuration k v

type CreateTenantRequest

type CreateTenantRequest struct {

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

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

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

func (*CreateTenantRequest) Validate

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

Validate validates this create tenant request

type CreateTenantResponse

type CreateTenantResponse struct {

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

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

CreateTenantResponse create tenant response

swagger:model createTenantResponse

func (*CreateTenantResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateTenantResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateTenantResponse) Validate

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

Validate validates this create tenant response

type 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

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Group

type Group struct {

	// members
	Members []string `json:"members"`

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

	// policy
	Policy string `json:"policy,omitempty"`

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

Group group

swagger:model group

func (*Group) MarshalBinary

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

MarshalBinary interface implementation

func (*Group) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Group) Validate

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

Validate validates this group

type ListBucketEventsResponse

type ListBucketEventsResponse struct {

	// events
	Events []*NotificationConfig `json:"events"`

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

ListBucketEventsResponse list bucket events response

swagger:model listBucketEventsResponse

func (*ListBucketEventsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListBucketEventsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListBucketEventsResponse) Validate

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

Validate validates this list bucket events response

type ListBucketsResponse

type ListBucketsResponse struct {

	// list of resulting buckets
	Buckets []*Bucket `json:"buckets"`

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

ListBucketsResponse list buckets response

swagger:model listBucketsResponse

func (*ListBucketsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListBucketsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListBucketsResponse) Validate

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

Validate validates this list buckets response

type ListConfigResponse

type ListConfigResponse struct {

	// configurations
	Configurations []*ConfigDescription `json:"configurations"`

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

ListConfigResponse list config response

swagger:model listConfigResponse

func (*ListConfigResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListConfigResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListConfigResponse) Validate

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

Validate validates this list config response

type ListGroupsResponse

type ListGroupsResponse struct {

	// list of groups
	Groups []string `json:"groups"`

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

ListGroupsResponse list groups response

swagger:model listGroupsResponse

func (*ListGroupsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupsResponse) Validate

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

Validate validates this list groups response

type ListPoliciesResponse

type ListPoliciesResponse struct {

	// list of policies
	Policies []*Policy `json:"policies"`

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

ListPoliciesResponse list policies response

swagger:model listPoliciesResponse

func (*ListPoliciesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListPoliciesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListPoliciesResponse) Validate

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

Validate validates this list policies response

type ListTenantsResponse

type ListTenantsResponse struct {

	// list of resulting tenants
	Tenants []*TenantList `json:"tenants"`

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

ListTenantsResponse list tenants response

swagger:model listTenantsResponse

func (*ListTenantsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListTenantsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListTenantsResponse) Validate

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

Validate validates this list tenants response

type ListUsersResponse

type ListUsersResponse struct {

	// list of resulting users
	Users []*User `json:"users"`
}

ListUsersResponse list users response

swagger:model listUsersResponse

func (*ListUsersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListUsersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListUsersResponse) Validate

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

Validate validates this list users response

type LoginDetails

type LoginDetails struct {

	// login strategy
	// Enum: [form redirect service-account]
	LoginStrategy string `json:"loginStrategy,omitempty"`

	// redirect
	Redirect string `json:"redirect,omitempty"`
}

LoginDetails login details

swagger:model loginDetails

func (*LoginDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginDetails) Validate

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

Validate validates this login details

type LoginOauth2AuthRequest

type LoginOauth2AuthRequest struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// state
	// Required: true
	State *string `json:"state"`
}

LoginOauth2AuthRequest login oauth2 auth request

swagger:model loginOauth2AuthRequest

func (*LoginOauth2AuthRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginOauth2AuthRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginOauth2AuthRequest) Validate

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

Validate validates this login oauth2 auth request

type LoginOperatorRequest

type LoginOperatorRequest struct {

	// jwt
	// Required: true
	Jwt *string `json:"jwt"`
}

LoginOperatorRequest login operator request

swagger:model loginOperatorRequest

func (*LoginOperatorRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginOperatorRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginOperatorRequest) Validate

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

Validate validates this login operator request

type LoginRequest

type LoginRequest struct {

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

	// secret key
	// Required: true
	SecretKey *string `json:"secretKey"`
}

LoginRequest login request

swagger:model loginRequest

func (*LoginRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginRequest) Validate

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

Validate validates this login request

type LoginResponse

type LoginResponse struct {

	// session Id
	SessionID string `json:"sessionId,omitempty"`
}

LoginResponse login response

swagger:model loginResponse

func (*LoginResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginResponse) Validate

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

Validate validates this login response

type MakeBucketRequest

type MakeBucketRequest struct {

	// name
	// Required: true
	Name *string `json:"name"`
}

MakeBucketRequest make bucket request

swagger:model makeBucketRequest

func (*MakeBucketRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*MakeBucketRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MakeBucketRequest) Validate

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

Validate validates this make bucket request

type NofiticationService

type NofiticationService string

NofiticationService nofitication service

swagger:model nofiticationService

const (

	// NofiticationServiceWebhook captures enum value "webhook"
	NofiticationServiceWebhook NofiticationService = "webhook"

	// NofiticationServiceAmqp captures enum value "amqp"
	NofiticationServiceAmqp NofiticationService = "amqp"

	// NofiticationServiceKafka captures enum value "kafka"
	NofiticationServiceKafka NofiticationService = "kafka"

	// NofiticationServiceMqtt captures enum value "mqtt"
	NofiticationServiceMqtt NofiticationService = "mqtt"

	// NofiticationServiceNats captures enum value "nats"
	NofiticationServiceNats NofiticationService = "nats"

	// NofiticationServiceNsq captures enum value "nsq"
	NofiticationServiceNsq NofiticationService = "nsq"

	// NofiticationServiceMysql captures enum value "mysql"
	NofiticationServiceMysql NofiticationService = "mysql"

	// NofiticationServicePostgres captures enum value "postgres"
	NofiticationServicePostgres NofiticationService = "postgres"

	// NofiticationServiceElasticsearch captures enum value "elasticsearch"
	NofiticationServiceElasticsearch NofiticationService = "elasticsearch"

	// NofiticationServiceRedis captures enum value "redis"
	NofiticationServiceRedis NofiticationService = "redis"
)

func (NofiticationService) Validate

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

Validate validates this nofitication service

type NotifEndpointResponse

type NotifEndpointResponse struct {

	// notification endpoints
	NotificationEndpoints []*NotificationEndpointItem `json:"notification_endpoints"`
}

NotifEndpointResponse notif endpoint response

swagger:model notifEndpointResponse

func (*NotifEndpointResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*NotifEndpointResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NotifEndpointResponse) Validate

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

Validate validates this notif endpoint response

type NotificationConfig

type NotificationConfig struct {

	// arn
	// Required: true
	Arn *string `json:"arn"`

	// filter specific type of event. Defaults to all event (default: '[put,delete,get]')
	Events []NotificationEventType `json:"events"`

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

	// filter event associated to the specified prefix
	Prefix string `json:"prefix,omitempty"`

	// filter event associated to the specified suffix
	Suffix string `json:"suffix,omitempty"`
}

NotificationConfig notification config

swagger:model notificationConfig

func (*NotificationConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*NotificationConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NotificationConfig) Validate

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

Validate validates this notification config

type NotificationDeleteRequest

type NotificationDeleteRequest struct {

	// filter specific type of event. Defaults to all event (default: '[put,delete,get]')
	// Required: true
	// Min Length: 1
	Events []NotificationEventType `json:"events"`

	// filter event associated to the specified prefix
	// Required: true
	Prefix *string `json:"prefix"`

	// filter event associated to the specified suffix
	// Required: true
	Suffix *string `json:"suffix"`
}

NotificationDeleteRequest notification delete request

swagger:model notificationDeleteRequest

func (*NotificationDeleteRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*NotificationDeleteRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NotificationDeleteRequest) Validate

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

Validate validates this notification delete request

type NotificationEndpoint

type NotificationEndpoint struct {

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

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

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

NotificationEndpoint notification endpoint

swagger:model notificationEndpoint

func (*NotificationEndpoint) MarshalBinary

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

MarshalBinary interface implementation

func (*NotificationEndpoint) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NotificationEndpoint) Validate

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

Validate validates this notification endpoint

type NotificationEndpointItem

type NotificationEndpointItem struct {

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

	// service
	Service NofiticationService `json:"service,omitempty"`

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

NotificationEndpointItem notification endpoint item

swagger:model notificationEndpointItem

func (*NotificationEndpointItem) MarshalBinary

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

MarshalBinary interface implementation

func (*NotificationEndpointItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NotificationEndpointItem) Validate

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

Validate validates this notification endpoint item

type NotificationEventType

type NotificationEventType string

NotificationEventType notification event type

swagger:model notificationEventType

const (

	// NotificationEventTypePut captures enum value "put"
	NotificationEventTypePut NotificationEventType = "put"

	// NotificationEventTypeDelete captures enum value "delete"
	NotificationEventTypeDelete NotificationEventType = "delete"

	// NotificationEventTypeGet captures enum value "get"
	NotificationEventTypeGet NotificationEventType = "get"
)

func (NotificationEventType) Validate

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

Validate validates this notification event type

type Policy

type Policy struct {

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

	// policy
	Policy string `json:"policy,omitempty"`
}

Policy policy

swagger:model policy

func (*Policy) MarshalBinary

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

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Policy) Validate

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

Validate validates this policy

type PolicyEntity

type PolicyEntity string

PolicyEntity policy entity

swagger:model policyEntity

const (

	// PolicyEntityUser captures enum value "user"
	PolicyEntityUser PolicyEntity = "user"

	// PolicyEntityGroup captures enum value "group"
	PolicyEntityGroup PolicyEntity = "group"
)

func (PolicyEntity) Validate

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

Validate validates this policy entity

type Principal

type Principal struct {

	// access key ID
	AccessKeyID string `json:"accessKeyID,omitempty"`

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

	// secret access key
	SecretAccessKey string `json:"secretAccessKey,omitempty"`

	// session token
	SessionToken string `json:"sessionToken,omitempty"`
}

Principal principal

swagger:model principal

func (*Principal) MarshalBinary

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

MarshalBinary interface implementation

func (*Principal) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Principal) Validate

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

Validate validates this principal

type ProfilerType

type ProfilerType string

ProfilerType profiler type

swagger:model profilerType

const (

	// ProfilerTypeCPU captures enum value "cpu"
	ProfilerTypeCPU ProfilerType = "cpu"

	// ProfilerTypeMem captures enum value "mem"
	ProfilerTypeMem ProfilerType = "mem"

	// ProfilerTypeBlock captures enum value "block"
	ProfilerTypeBlock ProfilerType = "block"

	// ProfilerTypeMutex captures enum value "mutex"
	ProfilerTypeMutex ProfilerType = "mutex"

	// ProfilerTypeTrace captures enum value "trace"
	ProfilerTypeTrace ProfilerType = "trace"

	// ProfilerTypeThreads captures enum value "threads"
	ProfilerTypeThreads ProfilerType = "threads"

	// ProfilerTypeGoroutines captures enum value "goroutines"
	ProfilerTypeGoroutines ProfilerType = "goroutines"
)

func (ProfilerType) Validate

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

Validate validates this profiler type

type ProfilingStartRequest

type ProfilingStartRequest struct {

	// type
	// Required: true
	Type ProfilerType `json:"type"`
}

ProfilingStartRequest profiling start request

swagger:model profilingStartRequest

func (*ProfilingStartRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ProfilingStartRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProfilingStartRequest) Validate

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

Validate validates this profiling start request

type ResourceQuota

type ResourceQuota struct {

	// elements
	Elements []*ResourceQuotaElement `json:"elements"`

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

ResourceQuota resource quota

swagger:model resourceQuota

func (*ResourceQuota) MarshalBinary

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

MarshalBinary interface implementation

func (*ResourceQuota) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResourceQuota) Validate

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

Validate validates this resource quota

type ResourceQuotaElement

type ResourceQuotaElement struct {

	// hard
	Hard int64 `json:"hard,omitempty"`

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

	// used
	Used int64 `json:"used,omitempty"`
}

ResourceQuotaElement resource quota element

swagger:model resourceQuotaElement

func (*ResourceQuotaElement) MarshalBinary

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

MarshalBinary interface implementation

func (*ResourceQuotaElement) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResourceQuotaElement) Validate

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

Validate validates this resource quota element

type ServiceAccountCreds

type ServiceAccountCreds struct {

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

	// secret key
	SecretKey string `json:"secretKey,omitempty"`
}

ServiceAccountCreds service account creds

swagger:model serviceAccountCreds

func (*ServiceAccountCreds) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceAccountCreds) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceAccountCreds) Validate

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

Validate validates this service account creds

type ServiceAccountRequest

type ServiceAccountRequest struct {

	// policy to be applied to the Service Account if any
	Policy string `json:"policy,omitempty"`
}

ServiceAccountRequest service account request

swagger:model serviceAccountRequest

func (*ServiceAccountRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceAccountRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceAccountRequest) Validate

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

Validate validates this service account request

type ServiceAccounts

type ServiceAccounts []string

ServiceAccounts service accounts

swagger:model serviceAccounts

func (ServiceAccounts) Validate

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

Validate validates this service accounts

type SessionResponse

type SessionResponse struct {

	// pages
	Pages []string `json:"pages"`

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

SessionResponse session response

swagger:model sessionResponse

func (*SessionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SessionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SessionResponse) Validate

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

Validate validates this session response

type SetBucketPolicyRequest

type SetBucketPolicyRequest struct {

	// access
	// Required: true
	Access BucketAccess `json:"access"`
}

SetBucketPolicyRequest set bucket policy request

swagger:model setBucketPolicyRequest

func (*SetBucketPolicyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SetBucketPolicyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SetBucketPolicyRequest) Validate

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

Validate validates this set bucket policy request

type SetConfigRequest

type SetConfigRequest struct {

	// Used if configuration is an event notification's target
	ArnResourceID string `json:"arn_resource_id,omitempty"`

	// key values
	// Required: true
	// Min Items: 1
	KeyValues []*ConfigurationKV `json:"key_values"`
}

SetConfigRequest set config request

swagger:model setConfigRequest

func (*SetConfigRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SetConfigRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SetConfigRequest) Validate

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

Validate validates this set config request

type SetPolicyRequest

type SetPolicyRequest struct {

	// entity name
	// Required: true
	EntityName *string `json:"entityName"`

	// entity type
	// Required: true
	EntityType PolicyEntity `json:"entityType"`
}

SetPolicyRequest set policy request

swagger:model setPolicyRequest

func (*SetPolicyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SetPolicyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SetPolicyRequest) Validate

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

Validate validates this set policy request

type StartProfilingItem

type StartProfilingItem struct {

	// error
	Error string `json:"error,omitempty"`

	// node name
	NodeName string `json:"nodeName,omitempty"`

	// success
	Success bool `json:"success,omitempty"`
}

StartProfilingItem start profiling item

swagger:model startProfilingItem

func (*StartProfilingItem) MarshalBinary

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

MarshalBinary interface implementation

func (*StartProfilingItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StartProfilingItem) Validate

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

Validate validates this start profiling item

type StartProfilingList

type StartProfilingList struct {

	// start results
	StartResults []*StartProfilingItem `json:"startResults"`

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

StartProfilingList start profiling list

swagger:model startProfilingList

func (*StartProfilingList) MarshalBinary

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

MarshalBinary interface implementation

func (*StartProfilingList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StartProfilingList) Validate

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

Validate validates this start profiling list

type 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

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

MarshalBinary interface implementation

func (*Tenant) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Tenant) Validate

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

Validate validates this tenant

type TenantList

type TenantList struct {

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

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

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

func (*TenantList) Validate

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

Validate validates this tenant list

type UpdateGroupRequest

type UpdateGroupRequest struct {

	// members
	// Required: true
	Members []string `json:"members"`

	// status
	// Required: true
	Status *string `json:"status"`
}

UpdateGroupRequest update group request

swagger:model updateGroupRequest

func (*UpdateGroupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateGroupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateGroupRequest) Validate

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

Validate validates this update group request

type UpdateTenantRequest

type UpdateTenantRequest struct {

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

func (*UpdateTenantRequest) Validate

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

Validate validates this update tenant request

type UpdateUser

type UpdateUser struct {

	// groups
	// Required: true
	Groups []string `json:"groups"`

	// status
	// Required: true
	Status *string `json:"status"`
}

UpdateUser update user

swagger:model updateUser

func (*UpdateUser) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateUser) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateUser) Validate

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

Validate validates this update user

type UpdateUserGroups

type UpdateUserGroups struct {

	// groups
	// Required: true
	Groups []string `json:"groups"`
}

UpdateUserGroups update user groups

swagger:model updateUserGroups

func (*UpdateUserGroups) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateUserGroups) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateUserGroups) Validate

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

Validate validates this update user groups

type User

type User struct {

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

	// member of
	MemberOf []string `json:"memberOf"`

	// policy
	Policy string `json:"policy,omitempty"`

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

User user

swagger:model user

func (*User) MarshalBinary

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

MarshalBinary interface implementation

func (*User) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*User) Validate

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

Validate validates this user

type 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

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

MarshalBinary interface implementation

func (*Zone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Zone) Validate

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

Validate validates this zone

type 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

func (*ZoneVolumeConfiguration) Validate

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

Validate validates this zone volume configuration

Jump to

Keyboard shortcuts

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