Documentation
¶
Index ¶
- Constants
- type APIError
- type AdminInfoResponse
- type BackendProperties
- type Bucket
- type BucketAccess
- type BucketDetails
- type BucketDetailsQuota
- type BucketObject
- type BucketQuota
- type BucketRwAccess
- type BucketVersioningResponse
- func (m *BucketVersioningResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BucketVersioningResponse) MarshalBinary() ([]byte, error)
- func (m *BucketVersioningResponse) UnmarshalBinary(b []byte) error
- func (m *BucketVersioningResponse) Validate(formats strfmt.Registry) error
- type BucketVersioningResponseExcludedPrefixesItems0
- func (m *BucketVersioningResponseExcludedPrefixesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BucketVersioningResponseExcludedPrefixesItems0) MarshalBinary() ([]byte, error)
- func (m *BucketVersioningResponseExcludedPrefixesItems0) UnmarshalBinary(b []byte) error
- func (m *BucketVersioningResponseExcludedPrefixesItems0) Validate(formats strfmt.Registry) error
- type DeleteFile
- type EnvironmentConstants
- type GetBucketRetentionConfig
- func (m *GetBucketRetentionConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetBucketRetentionConfig) MarshalBinary() ([]byte, error)
- func (m *GetBucketRetentionConfig) UnmarshalBinary(b []byte) error
- func (m *GetBucketRetentionConfig) Validate(formats strfmt.Registry) error
- type ListBucketsResponse
- type ListObjectsResponse
- type LoginDetails
- type LoginRequest
- type LoginRequestFeatures
- type LoginResponse
- type LogoutRequest
- type MakeBucketRequest
- type MakeBucketsResponse
- type MaxShareLinkExpResponse
- func (m *MaxShareLinkExpResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MaxShareLinkExpResponse) MarshalBinary() ([]byte, error)
- func (m *MaxShareLinkExpResponse) UnmarshalBinary(b []byte) error
- func (m *MaxShareLinkExpResponse) Validate(formats strfmt.Registry) error
- type Metadata
- type ObjectRetentionMode
- type ObjectRetentionUnit
- type PermissionResource
- type Principal
- type PutObjectTagsRequest
- type RedirectRule
- type ResultTarget
- type RewindItem
- type RewindResponse
- type ServerDrives
- type ServerProperties
- type SessionResponse
- type SetBucketVersioning
- type Widget
- type WidgetOptions
- type WidgetOptionsReduceOptions
- func (m *WidgetOptionsReduceOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *WidgetOptionsReduceOptions) MarshalBinary() ([]byte, error)
- func (m *WidgetOptionsReduceOptions) UnmarshalBinary(b []byte) error
- func (m *WidgetOptionsReduceOptions) Validate(formats strfmt.Registry) error
- type WidgetResult
Constants ¶
const ( // AdminInfoResponseAdvancedMetricsStatusNotConfigured captures enum value "not configured" AdminInfoResponseAdvancedMetricsStatusNotConfigured string = "not configured" // AdminInfoResponseAdvancedMetricsStatusAvailable captures enum value "available" AdminInfoResponseAdvancedMetricsStatusAvailable string = "available" AdminInfoResponseAdvancedMetricsStatusUnavailable string = "unavailable" )
const ( // LoginDetailsLoginStrategyForm captures enum value "form" LoginDetailsLoginStrategyForm string = "form" // LoginDetailsLoginStrategyServiceDashAccount captures enum value "service-account" LoginDetailsLoginStrategyServiceDashAccount string = "service-account" // LoginDetailsLoginStrategyRedirectDashServiceDashAccount captures enum value "redirect-service-account" LoginDetailsLoginStrategyRedirectDashServiceDashAccount string = "redirect-service-account" )
const ( // BucketDetailsQuotaTypeHard captures enum value "hard" BucketDetailsQuotaTypeHard string = "hard" )
const ( // BucketQuotaTypeHard captures enum value "hard" BucketQuotaTypeHard string = "hard" )
const ( // SessionResponseStatusOk captures enum value "ok" SessionResponseStatusOk string = "ok" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct {
// detailed message
DetailedMessage string `json:"detailedMessage,omitempty"`
// message
Message string `json:"message,omitempty"`
}
APIError Api error
swagger:model ApiError
func (*APIError) ContextValidate ¶
ContextValidate validates this Api error based on context it is used
func (*APIError) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AdminInfoResponse ¶
type AdminInfoResponse struct {
// advanced metrics status
// Enum: ["not configured","available","unavailable"]
AdvancedMetricsStatus string `json:"advancedMetricsStatus,omitempty"`
// backend
Backend *BackendProperties `json:"backend,omitempty"`
// buckets
Buckets int64 `json:"buckets,omitempty"`
// objects
Objects int64 `json:"objects,omitempty"`
// servers
Servers []*ServerProperties `json:"servers"`
// usage
Usage int64 `json:"usage,omitempty"`
// widgets
Widgets []*Widget `json:"widgets"`
}
AdminInfoResponse admin info response
swagger:model adminInfoResponse
func (*AdminInfoResponse) ContextValidate ¶
ContextValidate validate this admin info response based on the context it is used
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 BackendProperties ¶
type BackendProperties struct {
// backend type
BackendType string `json:"backendType,omitempty"`
// offline drives
OfflineDrives int64 `json:"offlineDrives,omitempty"`
// online drives
OnlineDrives int64 `json:"onlineDrives,omitempty"`
// rr s c parity
RrSCParity int64 `json:"rrSCParity,omitempty"`
// standard s c parity
StandardSCParity int64 `json:"standardSCParity,omitempty"`
}
BackendProperties backend properties
swagger:model BackendProperties
func (*BackendProperties) ContextValidate ¶
ContextValidate validates this backend properties based on context it is used
func (*BackendProperties) MarshalBinary ¶
func (m *BackendProperties) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackendProperties) UnmarshalBinary ¶
func (m *BackendProperties) 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"`
// definition
Definition string `json:"definition,omitempty"`
// details
Details *BucketDetails `json:"details,omitempty"`
// name
// Required: true
// Min Length: 3
Name *string `json:"name"`
// objects
Objects int64 `json:"objects,omitempty"`
// rw access
RwAccess *BucketRwAccess `json:"rw_access,omitempty"`
// size
Size int64 `json:"size,omitempty"`
}
Bucket bucket
swagger:model bucket
func (*Bucket) ContextValidate ¶
ContextValidate validate this bucket based on the context it is used
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" )
func NewBucketAccess ¶
func NewBucketAccess(value BucketAccess) *BucketAccess
func (BucketAccess) ContextValidate ¶
ContextValidate validates this bucket access based on context it is used
func (BucketAccess) Pointer ¶
func (m BucketAccess) Pointer() *BucketAccess
Pointer returns a pointer to a freshly-allocated BucketAccess.
type BucketDetails ¶
type BucketDetails struct {
// locking
Locking bool `json:"locking,omitempty"`
// quota
Quota *BucketDetailsQuota `json:"quota,omitempty"`
// replication
Replication bool `json:"replication,omitempty"`
// tags
Tags map[string]string `json:"tags,omitempty"`
// versioning
Versioning bool `json:"versioning,omitempty"`
// versioning suspended
VersioningSuspended bool `json:"versioningSuspended,omitempty"`
}
BucketDetails bucket details
swagger:model BucketDetails
func (*BucketDetails) ContextValidate ¶
ContextValidate validate this bucket details based on the context it is used
func (*BucketDetails) MarshalBinary ¶
func (m *BucketDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketDetails) UnmarshalBinary ¶
func (m *BucketDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BucketDetailsQuota ¶
type BucketDetailsQuota struct {
// quota
Quota int64 `json:"quota,omitempty"`
// type
// Enum: ["hard"]
Type string `json:"type,omitempty"`
}
BucketDetailsQuota bucket details quota
swagger:model BucketDetailsQuota
func (*BucketDetailsQuota) ContextValidate ¶
ContextValidate validates this bucket details quota based on context it is used
func (*BucketDetailsQuota) MarshalBinary ¶
func (m *BucketDetailsQuota) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketDetailsQuota) UnmarshalBinary ¶
func (m *BucketDetailsQuota) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BucketObject ¶
type BucketObject struct {
// content type
ContentType string `json:"content_type,omitempty"`
// etag
Etag string `json:"etag,omitempty"`
// expiration
Expiration string `json:"expiration,omitempty"`
// expiration rule id
ExpirationRuleID string `json:"expiration_rule_id,omitempty"`
// is delete marker
IsDeleteMarker bool `json:"is_delete_marker,omitempty"`
// is latest
IsLatest bool `json:"is_latest,omitempty"`
// last modified
LastModified string `json:"last_modified,omitempty"`
// legal hold status
LegalHoldStatus string `json:"legal_hold_status,omitempty"`
// metadata
Metadata map[string]string `json:"metadata,omitempty"`
// name
Name string `json:"name,omitempty"`
// retention mode
RetentionMode string `json:"retention_mode,omitempty"`
// retention until date
RetentionUntilDate string `json:"retention_until_date,omitempty"`
// size
Size int64 `json:"size,omitempty"`
// tags
Tags map[string]string `json:"tags,omitempty"`
// user metadata
UserMetadata map[string]string `json:"user_metadata,omitempty"`
// user tags
UserTags map[string]string `json:"user_tags,omitempty"`
// version id
VersionID string `json:"version_id,omitempty"`
}
BucketObject bucket object
swagger:model bucketObject
func (*BucketObject) ContextValidate ¶
ContextValidate validates this bucket object based on context it is used
func (*BucketObject) MarshalBinary ¶
func (m *BucketObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketObject) UnmarshalBinary ¶
func (m *BucketObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BucketQuota ¶
type BucketQuota struct {
// quota
Quota int64 `json:"quota,omitempty"`
// type
// Enum: ["hard"]
Type string `json:"type,omitempty"`
}
BucketQuota bucket quota
swagger:model bucketQuota
func (*BucketQuota) ContextValidate ¶
ContextValidate validates this bucket quota based on context it is used
func (*BucketQuota) MarshalBinary ¶
func (m *BucketQuota) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketQuota) UnmarshalBinary ¶
func (m *BucketQuota) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BucketRwAccess ¶
type BucketRwAccess struct {
// read
Read bool `json:"read,omitempty"`
// write
Write bool `json:"write,omitempty"`
}
BucketRwAccess bucket rw access
swagger:model BucketRwAccess
func (*BucketRwAccess) ContextValidate ¶
ContextValidate validates this bucket rw access based on context it is used
func (*BucketRwAccess) MarshalBinary ¶
func (m *BucketRwAccess) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketRwAccess) UnmarshalBinary ¶
func (m *BucketRwAccess) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BucketVersioningResponse ¶
type BucketVersioningResponse struct {
// m f a delete
MFADelete string `json:"MFADelete,omitempty"`
// exclude folders
ExcludeFolders bool `json:"excludeFolders,omitempty"`
// excluded prefixes
ExcludedPrefixes []*BucketVersioningResponseExcludedPrefixesItems0 `json:"excludedPrefixes"`
// status
Status string `json:"status,omitempty"`
}
BucketVersioningResponse bucket versioning response
swagger:model bucketVersioningResponse
func (*BucketVersioningResponse) ContextValidate ¶
func (m *BucketVersioningResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this bucket versioning response based on the context it is used
func (*BucketVersioningResponse) MarshalBinary ¶
func (m *BucketVersioningResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketVersioningResponse) UnmarshalBinary ¶
func (m *BucketVersioningResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BucketVersioningResponseExcludedPrefixesItems0 ¶
type BucketVersioningResponseExcludedPrefixesItems0 struct {
// prefix
Prefix string `json:"prefix,omitempty"`
}
BucketVersioningResponseExcludedPrefixesItems0 bucket versioning response excluded prefixes items0
swagger:model BucketVersioningResponseExcludedPrefixesItems0
func (*BucketVersioningResponseExcludedPrefixesItems0) ContextValidate ¶
func (m *BucketVersioningResponseExcludedPrefixesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bucket versioning response excluded prefixes items0 based on context it is used
func (*BucketVersioningResponseExcludedPrefixesItems0) MarshalBinary ¶
func (m *BucketVersioningResponseExcludedPrefixesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BucketVersioningResponseExcludedPrefixesItems0) UnmarshalBinary ¶
func (m *BucketVersioningResponseExcludedPrefixesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteFile ¶
type DeleteFile struct {
// path
Path string `json:"path,omitempty"`
// recursive
Recursive bool `json:"recursive,omitempty"`
// version ID
VersionID string `json:"versionID,omitempty"`
}
DeleteFile delete file
swagger:model deleteFile
func (*DeleteFile) ContextValidate ¶
ContextValidate validates this delete file based on context it is used
func (*DeleteFile) MarshalBinary ¶
func (m *DeleteFile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteFile) UnmarshalBinary ¶
func (m *DeleteFile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnvironmentConstants ¶
type EnvironmentConstants struct {
// max concurrent downloads
MaxConcurrentDownloads int64 `json:"maxConcurrentDownloads,omitempty"`
// max concurrent uploads
MaxConcurrentUploads int64 `json:"maxConcurrentUploads,omitempty"`
}
EnvironmentConstants environment constants
swagger:model environmentConstants
func (*EnvironmentConstants) ContextValidate ¶
ContextValidate validates this environment constants based on context it is used
func (*EnvironmentConstants) MarshalBinary ¶
func (m *EnvironmentConstants) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnvironmentConstants) UnmarshalBinary ¶
func (m *EnvironmentConstants) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBucketRetentionConfig ¶
type GetBucketRetentionConfig struct {
// mode
Mode ObjectRetentionMode `json:"mode,omitempty"`
// unit
Unit ObjectRetentionUnit `json:"unit,omitempty"`
// validity
Validity int32 `json:"validity,omitempty"`
}
GetBucketRetentionConfig get bucket retention config
swagger:model getBucketRetentionConfig
func (*GetBucketRetentionConfig) ContextValidate ¶
func (m *GetBucketRetentionConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get bucket retention config based on the context it is used
func (*GetBucketRetentionConfig) MarshalBinary ¶
func (m *GetBucketRetentionConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBucketRetentionConfig) UnmarshalBinary ¶
func (m *GetBucketRetentionConfig) 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 the user
Total int64 `json:"total,omitempty"`
}
ListBucketsResponse list buckets response
swagger:model listBucketsResponse
func (*ListBucketsResponse) ContextValidate ¶
ContextValidate validate this list buckets response based on the context it is used
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 ListObjectsResponse ¶
type ListObjectsResponse struct {
// list of resulting objects
Objects []*BucketObject `json:"objects"`
// number of objects
Total int64 `json:"total,omitempty"`
}
ListObjectsResponse list objects response
swagger:model listObjectsResponse
func (*ListObjectsResponse) ContextValidate ¶
ContextValidate validate this list objects response based on the context it is used
func (*ListObjectsResponse) MarshalBinary ¶
func (m *ListObjectsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListObjectsResponse) UnmarshalBinary ¶
func (m *ListObjectsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginDetails ¶
type LoginDetails struct {
// animated login
AnimatedLogin bool `json:"animatedLogin,omitempty"`
// is k8 s
IsK8S bool `json:"isK8S,omitempty"`
// login strategy
// Enum: ["form","service-account","redirect-service-account"]
LoginStrategy string `json:"loginStrategy,omitempty"`
// redirect rules
RedirectRules []*RedirectRule `json:"redirectRules"`
}
LoginDetails login details
swagger:model loginDetails
func (*LoginDetails) ContextValidate ¶
ContextValidate validate this login details based on the context it is used
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
AccessKey string `json:"accessKey,omitempty"`
// features
Features *LoginRequestFeatures `json:"features,omitempty"`
// secret key
SecretKey string `json:"secretKey,omitempty"`
// sts
Sts string `json:"sts,omitempty"`
}
LoginRequest login request
swagger:model loginRequest
func (*LoginRequest) ContextValidate ¶
ContextValidate validate this login request based on the context it is used
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 LoginRequestFeatures ¶
type LoginRequestFeatures struct {
// hide menu
HideMenu bool `json:"hide_menu,omitempty"`
}
LoginRequestFeatures login request features
swagger:model LoginRequestFeatures
func (*LoginRequestFeatures) ContextValidate ¶
ContextValidate validates this login request features based on context it is used
func (*LoginRequestFeatures) MarshalBinary ¶
func (m *LoginRequestFeatures) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginRequestFeatures) UnmarshalBinary ¶
func (m *LoginRequestFeatures) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginResponse ¶
type LoginResponse struct {
// ID p refresh token
IDPRefreshToken string `json:"IDPRefreshToken,omitempty"`
// session Id
SessionID string `json:"sessionId,omitempty"`
}
LoginResponse login response
swagger:model loginResponse
func (*LoginResponse) ContextValidate ¶
ContextValidate validates this login response based on context it is used
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 LogoutRequest ¶
type LogoutRequest struct {
// state
State string `json:"state,omitempty"`
}
LogoutRequest logout request
swagger:model logoutRequest
func (*LogoutRequest) ContextValidate ¶
ContextValidate validates this logout request based on context it is used
func (*LogoutRequest) MarshalBinary ¶
func (m *LogoutRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogoutRequest) UnmarshalBinary ¶
func (m *LogoutRequest) 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) ContextValidate ¶
ContextValidate validates this make bucket request based on context it is used
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 MakeBucketsResponse ¶
type MakeBucketsResponse struct {
// bucket name
BucketName string `json:"bucketName,omitempty"`
}
MakeBucketsResponse make buckets response
swagger:model makeBucketsResponse
func (*MakeBucketsResponse) ContextValidate ¶
ContextValidate validates this make buckets response based on context it is used
func (*MakeBucketsResponse) MarshalBinary ¶
func (m *MakeBucketsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MakeBucketsResponse) UnmarshalBinary ¶
func (m *MakeBucketsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MaxShareLinkExpResponse ¶
type MaxShareLinkExpResponse struct {
// Required: true
Exp *int64 `json:"exp"`
}
MaxShareLinkExpResponse max share link exp response
swagger:model maxShareLinkExpResponse
func (*MaxShareLinkExpResponse) ContextValidate ¶
func (m *MaxShareLinkExpResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this max share link exp response based on context it is used
func (*MaxShareLinkExpResponse) MarshalBinary ¶
func (m *MaxShareLinkExpResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MaxShareLinkExpResponse) UnmarshalBinary ¶
func (m *MaxShareLinkExpResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Metadata ¶
type Metadata struct {
// object metadata
ObjectMetadata interface{} `json:"objectMetadata,omitempty"`
}
Metadata metadata
swagger:model metadata
func (*Metadata) ContextValidate ¶
ContextValidate validates this metadata based on context it is used
func (*Metadata) MarshalBinary ¶
MarshalBinary interface implementation
func (*Metadata) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ObjectRetentionMode ¶
type ObjectRetentionMode string
ObjectRetentionMode object retention mode
swagger:model objectRetentionMode
const ( // ObjectRetentionModeGovernance captures enum value "governance" ObjectRetentionModeGovernance ObjectRetentionMode = "governance" // ObjectRetentionModeCompliance captures enum value "compliance" ObjectRetentionModeCompliance ObjectRetentionMode = "compliance" )
func NewObjectRetentionMode ¶
func NewObjectRetentionMode(value ObjectRetentionMode) *ObjectRetentionMode
func (ObjectRetentionMode) ContextValidate ¶
ContextValidate validates this object retention mode based on context it is used
func (ObjectRetentionMode) Pointer ¶
func (m ObjectRetentionMode) Pointer() *ObjectRetentionMode
Pointer returns a pointer to a freshly-allocated ObjectRetentionMode.
type ObjectRetentionUnit ¶
type ObjectRetentionUnit string
ObjectRetentionUnit object retention unit
swagger:model objectRetentionUnit
const ( // ObjectRetentionUnitDays captures enum value "days" ObjectRetentionUnitDays ObjectRetentionUnit = "days" // ObjectRetentionUnitYears captures enum value "years" ObjectRetentionUnitYears ObjectRetentionUnit = "years" )
func NewObjectRetentionUnit ¶
func NewObjectRetentionUnit(value ObjectRetentionUnit) *ObjectRetentionUnit
func (ObjectRetentionUnit) ContextValidate ¶
ContextValidate validates this object retention unit based on context it is used
func (ObjectRetentionUnit) Pointer ¶
func (m ObjectRetentionUnit) Pointer() *ObjectRetentionUnit
Pointer returns a pointer to a freshly-allocated ObjectRetentionUnit.
type PermissionResource ¶
type PermissionResource struct {
// condition operator
ConditionOperator string `json:"conditionOperator,omitempty"`
// prefixes
Prefixes []string `json:"prefixes"`
// resource
Resource string `json:"resource,omitempty"`
}
PermissionResource permission resource
swagger:model permissionResource
func (*PermissionResource) ContextValidate ¶
ContextValidate validates this permission resource based on context it is used
func (*PermissionResource) MarshalBinary ¶
func (m *PermissionResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PermissionResource) UnmarshalBinary ¶
func (m *PermissionResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Principal ¶
type Principal struct {
// s t s access key ID
STSAccessKeyID string `json:"STSAccessKeyID,omitempty"`
// s t s secret access key
STSSecretAccessKey string `json:"STSSecretAccessKey,omitempty"`
// s t s session token
STSSessionToken string `json:"STSSessionToken,omitempty"`
// account access key
AccountAccessKey string `json:"accountAccessKey,omitempty"`
// custom style ob
CustomStyleOb string `json:"customStyleOb,omitempty"`
// hm
Hm bool `json:"hm,omitempty"`
// ob
Ob bool `json:"ob,omitempty"`
}
Principal principal
swagger:model principal
func (*Principal) ContextValidate ¶
ContextValidate validates this principal based on context it is used
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PutObjectTagsRequest ¶
PutObjectTagsRequest put object tags request
swagger:model putObjectTagsRequest
func (*PutObjectTagsRequest) ContextValidate ¶
ContextValidate validates this put object tags request based on context it is used
func (*PutObjectTagsRequest) MarshalBinary ¶
func (m *PutObjectTagsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutObjectTagsRequest) UnmarshalBinary ¶
func (m *PutObjectTagsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RedirectRule ¶
type RedirectRule struct {
// display name
DisplayName string `json:"displayName,omitempty"`
// redirect
Redirect string `json:"redirect,omitempty"`
// service type
ServiceType string `json:"serviceType,omitempty"`
}
RedirectRule redirect rule
swagger:model redirectRule
func (*RedirectRule) ContextValidate ¶
ContextValidate validates this redirect rule based on context it is used
func (*RedirectRule) MarshalBinary ¶
func (m *RedirectRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RedirectRule) UnmarshalBinary ¶
func (m *RedirectRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResultTarget ¶
type ResultTarget struct {
// legend format
LegendFormat string `json:"legendFormat,omitempty"`
// result
Result []*WidgetResult `json:"result"`
// result type
ResultType string `json:"resultType,omitempty"`
}
ResultTarget result target
swagger:model resultTarget
func (*ResultTarget) ContextValidate ¶
ContextValidate validate this result target based on the context it is used
func (*ResultTarget) MarshalBinary ¶
func (m *ResultTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResultTarget) UnmarshalBinary ¶
func (m *ResultTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RewindItem ¶
type RewindItem struct {
// action
Action string `json:"action,omitempty"`
// delete flag
DeleteFlag bool `json:"delete_flag,omitempty"`
// is latest
IsLatest bool `json:"is_latest,omitempty"`
// last modified
LastModified string `json:"last_modified,omitempty"`
// name
Name string `json:"name,omitempty"`
// size
Size int64 `json:"size,omitempty"`
// version id
VersionID string `json:"version_id,omitempty"`
}
RewindItem rewind item
swagger:model rewindItem
func (*RewindItem) ContextValidate ¶
ContextValidate validates this rewind item based on context it is used
func (*RewindItem) MarshalBinary ¶
func (m *RewindItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RewindItem) UnmarshalBinary ¶
func (m *RewindItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RewindResponse ¶
type RewindResponse struct {
// objects
Objects []*RewindItem `json:"objects"`
}
RewindResponse rewind response
swagger:model rewindResponse
func (*RewindResponse) ContextValidate ¶
ContextValidate validate this rewind response based on the context it is used
func (*RewindResponse) MarshalBinary ¶
func (m *RewindResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RewindResponse) UnmarshalBinary ¶
func (m *RewindResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerDrives ¶
type ServerDrives struct {
// available space
AvailableSpace int64 `json:"availableSpace,omitempty"`
// drive path
DrivePath string `json:"drivePath,omitempty"`
// endpoint
Endpoint string `json:"endpoint,omitempty"`
// healing
Healing bool `json:"healing,omitempty"`
// model
Model string `json:"model,omitempty"`
// root disk
RootDisk bool `json:"rootDisk,omitempty"`
// state
State string `json:"state,omitempty"`
// total space
TotalSpace int64 `json:"totalSpace,omitempty"`
// used space
UsedSpace int64 `json:"usedSpace,omitempty"`
// uuid
UUID string `json:"uuid,omitempty"`
}
ServerDrives server drives
swagger:model serverDrives
func (*ServerDrives) ContextValidate ¶
ContextValidate validates this server drives based on context it is used
func (*ServerDrives) MarshalBinary ¶
func (m *ServerDrives) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerDrives) UnmarshalBinary ¶
func (m *ServerDrives) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerProperties ¶
type ServerProperties struct {
// commit ID
CommitID string `json:"commitID,omitempty"`
// drives
Drives []*ServerDrives `json:"drives"`
// endpoint
Endpoint string `json:"endpoint,omitempty"`
// network
Network map[string]string `json:"network,omitempty"`
// pool number
PoolNumber int64 `json:"poolNumber,omitempty"`
// state
State string `json:"state,omitempty"`
// uptime
Uptime int64 `json:"uptime,omitempty"`
// version
Version string `json:"version,omitempty"`
}
ServerProperties server properties
swagger:model serverProperties
func (*ServerProperties) ContextValidate ¶
ContextValidate validate this server properties based on the context it is used
func (*ServerProperties) MarshalBinary ¶
func (m *ServerProperties) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerProperties) UnmarshalBinary ¶
func (m *ServerProperties) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SessionResponse ¶
type SessionResponse struct {
// allow resources
AllowResources []*PermissionResource `json:"allowResources"`
// custom styles
CustomStyles string `json:"customStyles,omitempty"`
// distributed mode
DistributedMode bool `json:"distributedMode,omitempty"`
// env constants
EnvConstants *EnvironmentConstants `json:"envConstants,omitempty"`
// features
Features []string `json:"features"`
// operator
Operator bool `json:"operator,omitempty"`
// permissions
Permissions map[string][]string `json:"permissions,omitempty"`
// server end point
ServerEndPoint string `json:"serverEndPoint,omitempty"`
// status
// Enum: ["ok"]
Status string `json:"status,omitempty"`
}
SessionResponse session response
swagger:model sessionResponse
func (*SessionResponse) ContextValidate ¶
ContextValidate validate this session response based on the context it is used
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 SetBucketVersioning ¶
type SetBucketVersioning struct {
// enabled
Enabled bool `json:"enabled,omitempty"`
// exclude folders
ExcludeFolders bool `json:"excludeFolders,omitempty"`
// exclude prefixes
ExcludePrefixes []string `json:"excludePrefixes"`
}
SetBucketVersioning set bucket versioning
swagger:model setBucketVersioning
func (*SetBucketVersioning) ContextValidate ¶
ContextValidate validates this set bucket versioning based on context it is used
func (*SetBucketVersioning) MarshalBinary ¶
func (m *SetBucketVersioning) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetBucketVersioning) UnmarshalBinary ¶
func (m *SetBucketVersioning) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Widget ¶
type Widget struct {
// id
ID int32 `json:"id,omitempty"`
// options
Options *WidgetOptions `json:"options,omitempty"`
// targets
Targets []*ResultTarget `json:"targets"`
// title
Title string `json:"title,omitempty"`
// type
Type string `json:"type,omitempty"`
}
Widget widget
swagger:model widget
func (*Widget) ContextValidate ¶
ContextValidate validate this widget based on the context it is used
func (*Widget) MarshalBinary ¶
MarshalBinary interface implementation
func (*Widget) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WidgetOptions ¶
type WidgetOptions struct {
// reduce options
ReduceOptions *WidgetOptionsReduceOptions `json:"reduceOptions,omitempty"`
}
WidgetOptions widget options
swagger:model WidgetOptions
func (*WidgetOptions) ContextValidate ¶
ContextValidate validate this widget options based on the context it is used
func (*WidgetOptions) MarshalBinary ¶
func (m *WidgetOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WidgetOptions) UnmarshalBinary ¶
func (m *WidgetOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WidgetOptionsReduceOptions ¶
type WidgetOptionsReduceOptions struct {
// calcs
Calcs []string `json:"calcs"`
}
WidgetOptionsReduceOptions widget options reduce options
swagger:model WidgetOptionsReduceOptions
func (*WidgetOptionsReduceOptions) ContextValidate ¶
func (m *WidgetOptionsReduceOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this widget options reduce options based on context it is used
func (*WidgetOptionsReduceOptions) MarshalBinary ¶
func (m *WidgetOptionsReduceOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WidgetOptionsReduceOptions) UnmarshalBinary ¶
func (m *WidgetOptionsReduceOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WidgetResult ¶
type WidgetResult struct {
// metric
Metric map[string]string `json:"metric,omitempty"`
// values
Values []interface{} `json:"values"`
}
WidgetResult widget result
swagger:model widgetResult
func (*WidgetResult) ContextValidate ¶
ContextValidate validates this widget result based on context it is used
func (*WidgetResult) MarshalBinary ¶
func (m *WidgetResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WidgetResult) UnmarshalBinary ¶
func (m *WidgetResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- admin_info_response.go
- api_error.go
- backend_properties.go
- bucket.go
- bucket_access.go
- bucket_object.go
- bucket_quota.go
- bucket_versioning_response.go
- delete_file.go
- environment_constants.go
- get_bucket_retention_config.go
- list_buckets_response.go
- list_objects_response.go
- login_details.go
- login_request.go
- login_response.go
- logout_request.go
- make_bucket_request.go
- make_buckets_response.go
- max_share_link_exp_response.go
- metadata.go
- object_retention_mode.go
- object_retention_unit.go
- permission_resource.go
- principal.go
- put_object_tags_request.go
- redirect_rule.go
- result_target.go
- rewind_item.go
- rewind_response.go
- server_drives.go
- server_properties.go
- session_response.go
- set_bucket_versioning.go
- widget.go
- widget_result.go