Documentation
¶
Overview ¶
Package eiciface provides an interface to enable mocking the EIC service client for testing your code.
It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.
Index ¶
- Constants
- type CreateNamespaceInput
- func (s CreateNamespaceInput) GoString() string
- func (s *CreateNamespaceInput) SetAccessType(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetDiskEvictStrategy(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetDiskTTLSeconds(v int32) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetInstanceId(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetMemEvictStrategy(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetMemTTLSeconds(v int32) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetNamespaceName(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetPromoteStrategy(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetStorageType(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetUnderStorageInstanceId(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetUnderStorageType(v string) *CreateNamespaceInput
- func (s CreateNamespaceInput) String() string
- func (s *CreateNamespaceInput) Validate() error
- type CreateNamespaceOutput
- type DeleteNamespaceInput
- func (s DeleteNamespaceInput) GoString() string
- func (s *DeleteNamespaceInput) SetForce(v bool) *DeleteNamespaceInput
- func (s *DeleteNamespaceInput) SetInstanceId(v string) *DeleteNamespaceInput
- func (s *DeleteNamespaceInput) SetNamespaceName(v string) *DeleteNamespaceInput
- func (s DeleteNamespaceInput) String() string
- func (s *DeleteNamespaceInput) Validate() error
- type DeleteNamespaceOutput
- type DescribeNamespacesInput
- func (s DescribeNamespacesInput) GoString() string
- func (s *DescribeNamespacesInput) SetInstanceId(v string) *DescribeNamespacesInput
- func (s *DescribeNamespacesInput) SetName(v string) *DescribeNamespacesInput
- func (s *DescribeNamespacesInput) SetPageNumber(v int32) *DescribeNamespacesInput
- func (s *DescribeNamespacesInput) SetPageSize(v int32) *DescribeNamespacesInput
- func (s *DescribeNamespacesInput) SetStatus(v []*string) *DescribeNamespacesInput
- func (s DescribeNamespacesInput) String() string
- func (s *DescribeNamespacesInput) Validate() error
- type DescribeNamespacesOutput
- func (s DescribeNamespacesOutput) GoString() string
- func (s *DescribeNamespacesOutput) SetNamespaces(v []*NamespaceForDescribeNamespacesOutput) *DescribeNamespacesOutput
- func (s *DescribeNamespacesOutput) SetPageNumber(v int32) *DescribeNamespacesOutput
- func (s *DescribeNamespacesOutput) SetPageSize(v int32) *DescribeNamespacesOutput
- func (s *DescribeNamespacesOutput) SetTotalCount(v int32) *DescribeNamespacesOutput
- func (s DescribeNamespacesOutput) String() string
- type EIC
- func (c *EIC) CreateNamespace(input *CreateNamespaceInput) (*CreateNamespaceOutput, error)
- func (c *EIC) CreateNamespaceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *EIC) CreateNamespaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *EIC) CreateNamespaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *EIC) CreateNamespaceRequest(input *CreateNamespaceInput) (req *request.Request, output *CreateNamespaceOutput)
- func (c *EIC) CreateNamespaceWithContext(ctx volcengine.Context, input *CreateNamespaceInput, opts ...request.Option) (*CreateNamespaceOutput, error)
- func (c *EIC) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error)
- func (c *EIC) DeleteNamespaceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *EIC) DeleteNamespaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *EIC) DeleteNamespaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *EIC) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput)
- func (c *EIC) DeleteNamespaceWithContext(ctx volcengine.Context, input *DeleteNamespaceInput, opts ...request.Option) (*DeleteNamespaceOutput, error)
- func (c *EIC) DescribeNamespaces(input *DescribeNamespacesInput) (*DescribeNamespacesOutput, error)
- func (c *EIC) DescribeNamespacesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *EIC) DescribeNamespacesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *EIC) DescribeNamespacesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *EIC) DescribeNamespacesRequest(input *DescribeNamespacesInput) (req *request.Request, output *DescribeNamespacesOutput)
- func (c *EIC) DescribeNamespacesWithContext(ctx volcengine.Context, input *DescribeNamespacesInput, opts ...request.Option) (*DescribeNamespacesOutput, error)
- func (c *EIC) ModifyNamespace(input *ModifyNamespaceInput) (*ModifyNamespaceOutput, error)
- func (c *EIC) ModifyNamespaceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *EIC) ModifyNamespaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *EIC) ModifyNamespaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *EIC) ModifyNamespaceRequest(input *ModifyNamespaceInput) (req *request.Request, output *ModifyNamespaceOutput)
- func (c *EIC) ModifyNamespaceWithContext(ctx volcengine.Context, input *ModifyNamespaceInput, opts ...request.Option) (*ModifyNamespaceOutput, error)
- type EICAPI
- type ModifyNamespaceInput
- func (s ModifyNamespaceInput) GoString() string
- func (s *ModifyNamespaceInput) SetDiskTTLSeconds(v int32) *ModifyNamespaceInput
- func (s *ModifyNamespaceInput) SetInstanceId(v string) *ModifyNamespaceInput
- func (s *ModifyNamespaceInput) SetMemTTLSeconds(v int32) *ModifyNamespaceInput
- func (s *ModifyNamespaceInput) SetNamespaceName(v string) *ModifyNamespaceInput
- func (s *ModifyNamespaceInput) SetPromoteStrategy(v string) *ModifyNamespaceInput
- func (s ModifyNamespaceInput) String() string
- func (s *ModifyNamespaceInput) Validate() error
- type ModifyNamespaceOutput
- type NamespaceForDescribeNamespacesOutput
- func (s NamespaceForDescribeNamespacesOutput) GoString() string
- func (s *NamespaceForDescribeNamespacesOutput) SetAccessType(v string) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetCreatedAt(v string) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetDiskEvictStrategy(v string) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetDiskTTLSeconds(v int32) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetInstanceId(v string) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetMemEvictStrategy(v string) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetMemTTLSeconds(v int32) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetNamespaceName(v string) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetPromoteStrategy(v string) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetStatus(v string) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetStorageType(v string) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetUnderStorageInstanceId(v string) *NamespaceForDescribeNamespacesOutput
- func (s *NamespaceForDescribeNamespacesOutput) SetUnderStorageType(v string) *NamespaceForDescribeNamespacesOutput
- func (s NamespaceForDescribeNamespacesOutput) String() string
Constants ¶
const ( // EnumOfDiskEvictStrategyForCreateNamespaceInputTtl is a EnumOfDiskEvictStrategyForCreateNamespaceInput enum value EnumOfDiskEvictStrategyForCreateNamespaceInputTtl = "TTL" // EnumOfDiskEvictStrategyForCreateNamespaceInputLru is a EnumOfDiskEvictStrategyForCreateNamespaceInput enum value EnumOfDiskEvictStrategyForCreateNamespaceInputLru = "LRU" )
const ( // EnumOfMemEvictStrategyForCreateNamespaceInputTtl is a EnumOfMemEvictStrategyForCreateNamespaceInput enum value EnumOfMemEvictStrategyForCreateNamespaceInputTtl = "TTL" // EnumOfMemEvictStrategyForCreateNamespaceInputLru is a EnumOfMemEvictStrategyForCreateNamespaceInput enum value EnumOfMemEvictStrategyForCreateNamespaceInputLru = "LRU" )
const ( // EnumOfPromoteStrategyForCreateNamespaceInputNone is a EnumOfPromoteStrategyForCreateNamespaceInput enum value EnumOfPromoteStrategyForCreateNamespaceInputNone = "NONE" // EnumOfPromoteStrategyForCreateNamespaceInputLazyload is a EnumOfPromoteStrategyForCreateNamespaceInput enum value EnumOfPromoteStrategyForCreateNamespaceInputLazyload = "LAZYLOAD" )
const ( // EnumOfStorageTypeForCreateNamespaceInputDram is a EnumOfStorageTypeForCreateNamespaceInput enum value EnumOfStorageTypeForCreateNamespaceInputDram = "DRAM" // EnumOfStorageTypeForCreateNamespaceInputDramSsd is a EnumOfStorageTypeForCreateNamespaceInput enum value EnumOfStorageTypeForCreateNamespaceInputDramSsd = "DRAM_SSD" // EnumOfStorageTypeForCreateNamespaceInputSsd is a EnumOfStorageTypeForCreateNamespaceInput enum value EnumOfStorageTypeForCreateNamespaceInputSsd = "SSD" )
const ( // EnumOfDiskEvictStrategyForDescribeNamespacesOutputTtl is a EnumOfDiskEvictStrategyForDescribeNamespacesOutput enum value EnumOfDiskEvictStrategyForDescribeNamespacesOutputTtl = "TTL" // EnumOfDiskEvictStrategyForDescribeNamespacesOutputLru is a EnumOfDiskEvictStrategyForDescribeNamespacesOutput enum value EnumOfDiskEvictStrategyForDescribeNamespacesOutputLru = "LRU" )
const ( // EnumOfMemEvictStrategyForDescribeNamespacesOutputTtl is a EnumOfMemEvictStrategyForDescribeNamespacesOutput enum value EnumOfMemEvictStrategyForDescribeNamespacesOutputTtl = "TTL" // EnumOfMemEvictStrategyForDescribeNamespacesOutputLru is a EnumOfMemEvictStrategyForDescribeNamespacesOutput enum value EnumOfMemEvictStrategyForDescribeNamespacesOutputLru = "LRU" )
const ( // EnumOfPromoteStrategyForDescribeNamespacesOutputNone is a EnumOfPromoteStrategyForDescribeNamespacesOutput enum value EnumOfPromoteStrategyForDescribeNamespacesOutputNone = "NONE" // EnumOfPromoteStrategyForDescribeNamespacesOutputLazyload is a EnumOfPromoteStrategyForDescribeNamespacesOutput enum value EnumOfPromoteStrategyForDescribeNamespacesOutputLazyload = "LAZYLOAD" )
const ( // EnumOfStatusForDescribeNamespacesOutputCreating is a EnumOfStatusForDescribeNamespacesOutput enum value EnumOfStatusForDescribeNamespacesOutputCreating = "Creating" // EnumOfStatusForDescribeNamespacesOutputCreateFailed is a EnumOfStatusForDescribeNamespacesOutput enum value EnumOfStatusForDescribeNamespacesOutputCreateFailed = "CreateFailed" // EnumOfStatusForDescribeNamespacesOutputAvailable is a EnumOfStatusForDescribeNamespacesOutput enum value EnumOfStatusForDescribeNamespacesOutputAvailable = "Available" // EnumOfStatusForDescribeNamespacesOutputDeleting is a EnumOfStatusForDescribeNamespacesOutput enum value EnumOfStatusForDescribeNamespacesOutputDeleting = "Deleting" // EnumOfStatusForDescribeNamespacesOutputDeleted is a EnumOfStatusForDescribeNamespacesOutput enum value EnumOfStatusForDescribeNamespacesOutputDeleted = "Deleted" // EnumOfStatusForDescribeNamespacesOutputError is a EnumOfStatusForDescribeNamespacesOutput enum value EnumOfStatusForDescribeNamespacesOutputError = "Error" )
const ( // EnumOfStatusListForDescribeNamespacesInputCreating is a EnumOfStatusListForDescribeNamespacesInput enum value EnumOfStatusListForDescribeNamespacesInputCreating = "Creating" // EnumOfStatusListForDescribeNamespacesInputCreateFailed is a EnumOfStatusListForDescribeNamespacesInput enum value EnumOfStatusListForDescribeNamespacesInputCreateFailed = "CreateFailed" // EnumOfStatusListForDescribeNamespacesInputAvailable is a EnumOfStatusListForDescribeNamespacesInput enum value EnumOfStatusListForDescribeNamespacesInputAvailable = "Available" // EnumOfStatusListForDescribeNamespacesInputDeleting is a EnumOfStatusListForDescribeNamespacesInput enum value EnumOfStatusListForDescribeNamespacesInputDeleting = "Deleting" // EnumOfStatusListForDescribeNamespacesInputDeleted is a EnumOfStatusListForDescribeNamespacesInput enum value EnumOfStatusListForDescribeNamespacesInputDeleted = "Deleted" // EnumOfStatusListForDescribeNamespacesInputError is a EnumOfStatusListForDescribeNamespacesInput enum value EnumOfStatusListForDescribeNamespacesInputError = "Error" )
const ( // EnumOfStorageTypeForDescribeNamespacesOutputDram is a EnumOfStorageTypeForDescribeNamespacesOutput enum value EnumOfStorageTypeForDescribeNamespacesOutputDram = "DRAM" // EnumOfStorageTypeForDescribeNamespacesOutputDramSsd is a EnumOfStorageTypeForDescribeNamespacesOutput enum value EnumOfStorageTypeForDescribeNamespacesOutputDramSsd = "DRAM_SSD" // EnumOfStorageTypeForDescribeNamespacesOutputSsd is a EnumOfStorageTypeForDescribeNamespacesOutput enum value EnumOfStorageTypeForDescribeNamespacesOutputSsd = "SSD" )
const ( // EnumOfPromoteStrategyForModifyNamespaceInputNone is a EnumOfPromoteStrategyForModifyNamespaceInput enum value EnumOfPromoteStrategyForModifyNamespaceInputNone = "NONE" // EnumOfPromoteStrategyForModifyNamespaceInputLazyload is a EnumOfPromoteStrategyForModifyNamespaceInput enum value EnumOfPromoteStrategyForModifyNamespaceInputLazyload = "LAZYLOAD" )
const ( ServiceName = "eic" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "eic" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateNamespaceInput ¶
type CreateNamespaceInput struct {
AccessType *string `type:"string" json:",omitempty"`
DiskEvictStrategy *string `type:"string" json:",omitempty" enum:"EnumOfDiskEvictStrategyForCreateNamespaceInput"`
DiskTTLSeconds *int32 `type:"int32" json:",omitempty"`
// InstanceId is a required field
InstanceId *string `type:"string" json:",omitempty" required:"true"`
MemEvictStrategy *string `type:"string" json:",omitempty" enum:"EnumOfMemEvictStrategyForCreateNamespaceInput"`
MemTTLSeconds *int32 `type:"int32" json:",omitempty"`
// NamespaceName is a required field
NamespaceName *string `min:"1" max:"128" type:"string" json:",omitempty" required:"true"`
PromoteStrategy *string `type:"string" json:",omitempty" enum:"EnumOfPromoteStrategyForCreateNamespaceInput"`
StorageType *string `type:"string" json:",omitempty" enum:"EnumOfStorageTypeForCreateNamespaceInput"`
UnderStorageInstanceId *string `type:"string" json:",omitempty"`
UnderStorageType *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (CreateNamespaceInput) GoString ¶
func (s CreateNamespaceInput) GoString() string
GoString returns the string representation
func (*CreateNamespaceInput) SetAccessType ¶
func (s *CreateNamespaceInput) SetAccessType(v string) *CreateNamespaceInput
SetAccessType sets the AccessType field's value.
func (*CreateNamespaceInput) SetDiskEvictStrategy ¶
func (s *CreateNamespaceInput) SetDiskEvictStrategy(v string) *CreateNamespaceInput
SetDiskEvictStrategy sets the DiskEvictStrategy field's value.
func (*CreateNamespaceInput) SetDiskTTLSeconds ¶
func (s *CreateNamespaceInput) SetDiskTTLSeconds(v int32) *CreateNamespaceInput
SetDiskTTLSeconds sets the DiskTTLSeconds field's value.
func (*CreateNamespaceInput) SetInstanceId ¶
func (s *CreateNamespaceInput) SetInstanceId(v string) *CreateNamespaceInput
SetInstanceId sets the InstanceId field's value.
func (*CreateNamespaceInput) SetMemEvictStrategy ¶
func (s *CreateNamespaceInput) SetMemEvictStrategy(v string) *CreateNamespaceInput
SetMemEvictStrategy sets the MemEvictStrategy field's value.
func (*CreateNamespaceInput) SetMemTTLSeconds ¶
func (s *CreateNamespaceInput) SetMemTTLSeconds(v int32) *CreateNamespaceInput
SetMemTTLSeconds sets the MemTTLSeconds field's value.
func (*CreateNamespaceInput) SetNamespaceName ¶
func (s *CreateNamespaceInput) SetNamespaceName(v string) *CreateNamespaceInput
SetNamespaceName sets the NamespaceName field's value.
func (*CreateNamespaceInput) SetPromoteStrategy ¶
func (s *CreateNamespaceInput) SetPromoteStrategy(v string) *CreateNamespaceInput
SetPromoteStrategy sets the PromoteStrategy field's value.
func (*CreateNamespaceInput) SetStorageType ¶
func (s *CreateNamespaceInput) SetStorageType(v string) *CreateNamespaceInput
SetStorageType sets the StorageType field's value.
func (*CreateNamespaceInput) SetUnderStorageInstanceId ¶
func (s *CreateNamespaceInput) SetUnderStorageInstanceId(v string) *CreateNamespaceInput
SetUnderStorageInstanceId sets the UnderStorageInstanceId field's value.
func (*CreateNamespaceInput) SetUnderStorageType ¶
func (s *CreateNamespaceInput) SetUnderStorageType(v string) *CreateNamespaceInput
SetUnderStorageType sets the UnderStorageType field's value.
func (CreateNamespaceInput) String ¶
func (s CreateNamespaceInput) String() string
String returns the string representation
func (*CreateNamespaceInput) Validate ¶
func (s *CreateNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNamespaceOutput ¶
type CreateNamespaceOutput struct {
Metadata *response.ResponseMetadata
// contains filtered or unexported fields
}
func (CreateNamespaceOutput) GoString ¶
func (s CreateNamespaceOutput) GoString() string
GoString returns the string representation
func (CreateNamespaceOutput) String ¶
func (s CreateNamespaceOutput) String() string
String returns the string representation
type DeleteNamespaceInput ¶
type DeleteNamespaceInput struct {
Force *bool `type:"boolean" json:",omitempty"`
// InstanceId is a required field
InstanceId *string `type:"string" json:",omitempty" required:"true"`
// NamespaceName is a required field
NamespaceName *string `min:"1" max:"128" type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (DeleteNamespaceInput) GoString ¶
func (s DeleteNamespaceInput) GoString() string
GoString returns the string representation
func (*DeleteNamespaceInput) SetForce ¶
func (s *DeleteNamespaceInput) SetForce(v bool) *DeleteNamespaceInput
SetForce sets the Force field's value.
func (*DeleteNamespaceInput) SetInstanceId ¶
func (s *DeleteNamespaceInput) SetInstanceId(v string) *DeleteNamespaceInput
SetInstanceId sets the InstanceId field's value.
func (*DeleteNamespaceInput) SetNamespaceName ¶
func (s *DeleteNamespaceInput) SetNamespaceName(v string) *DeleteNamespaceInput
SetNamespaceName sets the NamespaceName field's value.
func (DeleteNamespaceInput) String ¶
func (s DeleteNamespaceInput) String() string
String returns the string representation
func (*DeleteNamespaceInput) Validate ¶
func (s *DeleteNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNamespaceOutput ¶
type DeleteNamespaceOutput struct {
Metadata *response.ResponseMetadata
// contains filtered or unexported fields
}
func (DeleteNamespaceOutput) GoString ¶
func (s DeleteNamespaceOutput) GoString() string
GoString returns the string representation
func (DeleteNamespaceOutput) String ¶
func (s DeleteNamespaceOutput) String() string
String returns the string representation
type DescribeNamespacesInput ¶
type DescribeNamespacesInput struct {
// InstanceId is a required field
InstanceId *string `type:"string" json:",omitempty" required:"true"`
Name *string `type:"string" json:",omitempty"`
PageNumber *int32 `type:"int32" json:",omitempty"`
PageSize *int32 `type:"int32" json:",omitempty"`
Status []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (DescribeNamespacesInput) GoString ¶
func (s DescribeNamespacesInput) GoString() string
GoString returns the string representation
func (*DescribeNamespacesInput) SetInstanceId ¶
func (s *DescribeNamespacesInput) SetInstanceId(v string) *DescribeNamespacesInput
SetInstanceId sets the InstanceId field's value.
func (*DescribeNamespacesInput) SetName ¶
func (s *DescribeNamespacesInput) SetName(v string) *DescribeNamespacesInput
SetName sets the Name field's value.
func (*DescribeNamespacesInput) SetPageNumber ¶
func (s *DescribeNamespacesInput) SetPageNumber(v int32) *DescribeNamespacesInput
SetPageNumber sets the PageNumber field's value.
func (*DescribeNamespacesInput) SetPageSize ¶
func (s *DescribeNamespacesInput) SetPageSize(v int32) *DescribeNamespacesInput
SetPageSize sets the PageSize field's value.
func (*DescribeNamespacesInput) SetStatus ¶
func (s *DescribeNamespacesInput) SetStatus(v []*string) *DescribeNamespacesInput
SetStatus sets the Status field's value.
func (DescribeNamespacesInput) String ¶
func (s DescribeNamespacesInput) String() string
String returns the string representation
func (*DescribeNamespacesInput) Validate ¶
func (s *DescribeNamespacesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeNamespacesOutput ¶
type DescribeNamespacesOutput struct {
Metadata *response.ResponseMetadata
Namespaces []*NamespaceForDescribeNamespacesOutput `type:"list" json:",omitempty"`
PageNumber *int32 `type:"int32" json:",omitempty"`
PageSize *int32 `type:"int32" json:",omitempty"`
TotalCount *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (DescribeNamespacesOutput) GoString ¶
func (s DescribeNamespacesOutput) GoString() string
GoString returns the string representation
func (*DescribeNamespacesOutput) SetNamespaces ¶
func (s *DescribeNamespacesOutput) SetNamespaces(v []*NamespaceForDescribeNamespacesOutput) *DescribeNamespacesOutput
SetNamespaces sets the Namespaces field's value.
func (*DescribeNamespacesOutput) SetPageNumber ¶
func (s *DescribeNamespacesOutput) SetPageNumber(v int32) *DescribeNamespacesOutput
SetPageNumber sets the PageNumber field's value.
func (*DescribeNamespacesOutput) SetPageSize ¶
func (s *DescribeNamespacesOutput) SetPageSize(v int32) *DescribeNamespacesOutput
SetPageSize sets the PageSize field's value.
func (*DescribeNamespacesOutput) SetTotalCount ¶
func (s *DescribeNamespacesOutput) SetTotalCount(v int32) *DescribeNamespacesOutput
SetTotalCount sets the TotalCount field's value.
func (DescribeNamespacesOutput) String ¶
func (s DescribeNamespacesOutput) String() string
String returns the string representation
type EIC ¶
EIC provides the API operation methods for making requests to EIC. See this package's package overview docs for details on the service.
EIC methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *EIC
New create int can support ssl or region locate set
func (*EIC) CreateNamespace ¶
func (c *EIC) CreateNamespace(input *CreateNamespaceInput) (*CreateNamespaceOutput, error)
CreateNamespace API operation for EIC.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for EIC's API operation CreateNamespace for usage and error information.
func (*EIC) CreateNamespaceCommon ¶
CreateNamespaceCommon API operation for EIC.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for EIC's API operation CreateNamespaceCommon for usage and error information.
func (*EIC) CreateNamespaceCommonRequest ¶
func (c *EIC) CreateNamespaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateNamespaceCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateNamespaceCommon operation. The "output" return value will be populated with the CreateNamespaceCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateNamespaceCommon Request to send the API call to the service. the "output" return value is not valid until after CreateNamespaceCommon Send returns without error.
See CreateNamespaceCommon for more information on using the CreateNamespaceCommon API call, and error handling.
// Example sending a request using the CreateNamespaceCommonRequest method.
req, resp := client.CreateNamespaceCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*EIC) CreateNamespaceCommonWithContext ¶
func (c *EIC) CreateNamespaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateNamespaceCommonWithContext is the same as CreateNamespaceCommon with the addition of the ability to pass a context and additional request options.
See CreateNamespaceCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*EIC) CreateNamespaceRequest ¶
func (c *EIC) CreateNamespaceRequest(input *CreateNamespaceInput) (req *request.Request, output *CreateNamespaceOutput)
CreateNamespaceRequest generates a "volcengine/request.Request" representing the client's request for the CreateNamespace operation. The "output" return value will be populated with the CreateNamespaceCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateNamespaceCommon Request to send the API call to the service. the "output" return value is not valid until after CreateNamespaceCommon Send returns without error.
See CreateNamespace for more information on using the CreateNamespace API call, and error handling.
// Example sending a request using the CreateNamespaceRequest method.
req, resp := client.CreateNamespaceRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*EIC) CreateNamespaceWithContext ¶
func (c *EIC) CreateNamespaceWithContext(ctx volcengine.Context, input *CreateNamespaceInput, opts ...request.Option) (*CreateNamespaceOutput, error)
CreateNamespaceWithContext is the same as CreateNamespace with the addition of the ability to pass a context and additional request options.
See CreateNamespace for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*EIC) DeleteNamespace ¶
func (c *EIC) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error)
DeleteNamespace API operation for EIC.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for EIC's API operation DeleteNamespace for usage and error information.
func (*EIC) DeleteNamespaceCommon ¶
DeleteNamespaceCommon API operation for EIC.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for EIC's API operation DeleteNamespaceCommon for usage and error information.
func (*EIC) DeleteNamespaceCommonRequest ¶
func (c *EIC) DeleteNamespaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteNamespaceCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteNamespaceCommon operation. The "output" return value will be populated with the DeleteNamespaceCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteNamespaceCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteNamespaceCommon Send returns without error.
See DeleteNamespaceCommon for more information on using the DeleteNamespaceCommon API call, and error handling.
// Example sending a request using the DeleteNamespaceCommonRequest method.
req, resp := client.DeleteNamespaceCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*EIC) DeleteNamespaceCommonWithContext ¶
func (c *EIC) DeleteNamespaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteNamespaceCommonWithContext is the same as DeleteNamespaceCommon with the addition of the ability to pass a context and additional request options.
See DeleteNamespaceCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*EIC) DeleteNamespaceRequest ¶
func (c *EIC) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput)
DeleteNamespaceRequest generates a "volcengine/request.Request" representing the client's request for the DeleteNamespace operation. The "output" return value will be populated with the DeleteNamespaceCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteNamespaceCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteNamespaceCommon Send returns without error.
See DeleteNamespace for more information on using the DeleteNamespace API call, and error handling.
// Example sending a request using the DeleteNamespaceRequest method.
req, resp := client.DeleteNamespaceRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*EIC) DeleteNamespaceWithContext ¶
func (c *EIC) DeleteNamespaceWithContext(ctx volcengine.Context, input *DeleteNamespaceInput, opts ...request.Option) (*DeleteNamespaceOutput, error)
DeleteNamespaceWithContext is the same as DeleteNamespace with the addition of the ability to pass a context and additional request options.
See DeleteNamespace for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*EIC) DescribeNamespaces ¶
func (c *EIC) DescribeNamespaces(input *DescribeNamespacesInput) (*DescribeNamespacesOutput, error)
DescribeNamespaces API operation for EIC.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for EIC's API operation DescribeNamespaces for usage and error information.
func (*EIC) DescribeNamespacesCommon ¶
func (c *EIC) DescribeNamespacesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DescribeNamespacesCommon API operation for EIC.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for EIC's API operation DescribeNamespacesCommon for usage and error information.
func (*EIC) DescribeNamespacesCommonRequest ¶
func (c *EIC) DescribeNamespacesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeNamespacesCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeNamespacesCommon operation. The "output" return value will be populated with the DescribeNamespacesCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeNamespacesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeNamespacesCommon Send returns without error.
See DescribeNamespacesCommon for more information on using the DescribeNamespacesCommon API call, and error handling.
// Example sending a request using the DescribeNamespacesCommonRequest method.
req, resp := client.DescribeNamespacesCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*EIC) DescribeNamespacesCommonWithContext ¶
func (c *EIC) DescribeNamespacesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeNamespacesCommonWithContext is the same as DescribeNamespacesCommon with the addition of the ability to pass a context and additional request options.
See DescribeNamespacesCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*EIC) DescribeNamespacesRequest ¶
func (c *EIC) DescribeNamespacesRequest(input *DescribeNamespacesInput) (req *request.Request, output *DescribeNamespacesOutput)
DescribeNamespacesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeNamespaces operation. The "output" return value will be populated with the DescribeNamespacesCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeNamespacesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeNamespacesCommon Send returns without error.
See DescribeNamespaces for more information on using the DescribeNamespaces API call, and error handling.
// Example sending a request using the DescribeNamespacesRequest method.
req, resp := client.DescribeNamespacesRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*EIC) DescribeNamespacesWithContext ¶
func (c *EIC) DescribeNamespacesWithContext(ctx volcengine.Context, input *DescribeNamespacesInput, opts ...request.Option) (*DescribeNamespacesOutput, error)
DescribeNamespacesWithContext is the same as DescribeNamespaces with the addition of the ability to pass a context and additional request options.
See DescribeNamespaces for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*EIC) ModifyNamespace ¶
func (c *EIC) ModifyNamespace(input *ModifyNamespaceInput) (*ModifyNamespaceOutput, error)
ModifyNamespace API operation for EIC.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for EIC's API operation ModifyNamespace for usage and error information.
func (*EIC) ModifyNamespaceCommon ¶
ModifyNamespaceCommon API operation for EIC.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for EIC's API operation ModifyNamespaceCommon for usage and error information.
func (*EIC) ModifyNamespaceCommonRequest ¶
func (c *EIC) ModifyNamespaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ModifyNamespaceCommonRequest generates a "volcengine/request.Request" representing the client's request for the ModifyNamespaceCommon operation. The "output" return value will be populated with the ModifyNamespaceCommon request's response once the request completes successfully.
Use "Send" method on the returned ModifyNamespaceCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyNamespaceCommon Send returns without error.
See ModifyNamespaceCommon for more information on using the ModifyNamespaceCommon API call, and error handling.
// Example sending a request using the ModifyNamespaceCommonRequest method.
req, resp := client.ModifyNamespaceCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*EIC) ModifyNamespaceCommonWithContext ¶
func (c *EIC) ModifyNamespaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ModifyNamespaceCommonWithContext is the same as ModifyNamespaceCommon with the addition of the ability to pass a context and additional request options.
See ModifyNamespaceCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*EIC) ModifyNamespaceRequest ¶
func (c *EIC) ModifyNamespaceRequest(input *ModifyNamespaceInput) (req *request.Request, output *ModifyNamespaceOutput)
ModifyNamespaceRequest generates a "volcengine/request.Request" representing the client's request for the ModifyNamespace operation. The "output" return value will be populated with the ModifyNamespaceCommon request's response once the request completes successfully.
Use "Send" method on the returned ModifyNamespaceCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyNamespaceCommon Send returns without error.
See ModifyNamespace for more information on using the ModifyNamespace API call, and error handling.
// Example sending a request using the ModifyNamespaceRequest method.
req, resp := client.ModifyNamespaceRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*EIC) ModifyNamespaceWithContext ¶
func (c *EIC) ModifyNamespaceWithContext(ctx volcengine.Context, input *ModifyNamespaceInput, opts ...request.Option) (*ModifyNamespaceOutput, error)
ModifyNamespaceWithContext is the same as ModifyNamespace with the addition of the ability to pass a context and additional request options.
See ModifyNamespace for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type EICAPI ¶
type EICAPI interface {
CreateNamespaceCommon(*map[string]interface{}) (*map[string]interface{}, error)
CreateNamespaceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
CreateNamespaceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
CreateNamespace(*CreateNamespaceInput) (*CreateNamespaceOutput, error)
CreateNamespaceWithContext(volcengine.Context, *CreateNamespaceInput, ...request.Option) (*CreateNamespaceOutput, error)
CreateNamespaceRequest(*CreateNamespaceInput) (*request.Request, *CreateNamespaceOutput)
DeleteNamespaceCommon(*map[string]interface{}) (*map[string]interface{}, error)
DeleteNamespaceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DeleteNamespaceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DeleteNamespace(*DeleteNamespaceInput) (*DeleteNamespaceOutput, error)
DeleteNamespaceWithContext(volcengine.Context, *DeleteNamespaceInput, ...request.Option) (*DeleteNamespaceOutput, error)
DeleteNamespaceRequest(*DeleteNamespaceInput) (*request.Request, *DeleteNamespaceOutput)
DescribeNamespacesCommon(*map[string]interface{}) (*map[string]interface{}, error)
DescribeNamespacesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DescribeNamespacesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DescribeNamespaces(*DescribeNamespacesInput) (*DescribeNamespacesOutput, error)
DescribeNamespacesWithContext(volcengine.Context, *DescribeNamespacesInput, ...request.Option) (*DescribeNamespacesOutput, error)
DescribeNamespacesRequest(*DescribeNamespacesInput) (*request.Request, *DescribeNamespacesOutput)
ModifyNamespaceCommon(*map[string]interface{}) (*map[string]interface{}, error)
ModifyNamespaceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ModifyNamespaceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ModifyNamespace(*ModifyNamespaceInput) (*ModifyNamespaceOutput, error)
ModifyNamespaceWithContext(volcengine.Context, *ModifyNamespaceInput, ...request.Option) (*ModifyNamespaceOutput, error)
ModifyNamespaceRequest(*ModifyNamespaceInput) (*request.Request, *ModifyNamespaceOutput)
}
EICAPI provides an interface to enable mocking the eic.EIC service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to
// EIC.
func myFunc(svc EICAPI) bool {
// Make svc.CreateNamespace request
}
func main() {
sess := session.New()
svc := eic.New(sess)
myFunc(svc)
}
type ModifyNamespaceInput ¶
type ModifyNamespaceInput struct {
DiskTTLSeconds *int32 `type:"int32" json:",omitempty"`
// InstanceId is a required field
InstanceId *string `type:"string" json:",omitempty" required:"true"`
MemTTLSeconds *int32 `type:"int32" json:",omitempty"`
// NamespaceName is a required field
NamespaceName *string `min:"1" max:"128" type:"string" json:",omitempty" required:"true"`
PromoteStrategy *string `type:"string" json:",omitempty" enum:"EnumOfPromoteStrategyForModifyNamespaceInput"`
// contains filtered or unexported fields
}
func (ModifyNamespaceInput) GoString ¶
func (s ModifyNamespaceInput) GoString() string
GoString returns the string representation
func (*ModifyNamespaceInput) SetDiskTTLSeconds ¶
func (s *ModifyNamespaceInput) SetDiskTTLSeconds(v int32) *ModifyNamespaceInput
SetDiskTTLSeconds sets the DiskTTLSeconds field's value.
func (*ModifyNamespaceInput) SetInstanceId ¶
func (s *ModifyNamespaceInput) SetInstanceId(v string) *ModifyNamespaceInput
SetInstanceId sets the InstanceId field's value.
func (*ModifyNamespaceInput) SetMemTTLSeconds ¶
func (s *ModifyNamespaceInput) SetMemTTLSeconds(v int32) *ModifyNamespaceInput
SetMemTTLSeconds sets the MemTTLSeconds field's value.
func (*ModifyNamespaceInput) SetNamespaceName ¶
func (s *ModifyNamespaceInput) SetNamespaceName(v string) *ModifyNamespaceInput
SetNamespaceName sets the NamespaceName field's value.
func (*ModifyNamespaceInput) SetPromoteStrategy ¶
func (s *ModifyNamespaceInput) SetPromoteStrategy(v string) *ModifyNamespaceInput
SetPromoteStrategy sets the PromoteStrategy field's value.
func (ModifyNamespaceInput) String ¶
func (s ModifyNamespaceInput) String() string
String returns the string representation
func (*ModifyNamespaceInput) Validate ¶
func (s *ModifyNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyNamespaceOutput ¶
type ModifyNamespaceOutput struct {
Metadata *response.ResponseMetadata
// contains filtered or unexported fields
}
func (ModifyNamespaceOutput) GoString ¶
func (s ModifyNamespaceOutput) GoString() string
GoString returns the string representation
func (ModifyNamespaceOutput) String ¶
func (s ModifyNamespaceOutput) String() string
String returns the string representation
type NamespaceForDescribeNamespacesOutput ¶
type NamespaceForDescribeNamespacesOutput struct {
AccessType *string `type:"string" json:",omitempty"`
CreatedAt *string `type:"string" json:",omitempty"`
DiskEvictStrategy *string `type:"string" json:",omitempty" enum:"EnumOfDiskEvictStrategyForDescribeNamespacesOutput"`
DiskTTLSeconds *int32 `type:"int32" json:",omitempty"`
InstanceId *string `type:"string" json:",omitempty"`
MemEvictStrategy *string `type:"string" json:",omitempty" enum:"EnumOfMemEvictStrategyForDescribeNamespacesOutput"`
MemTTLSeconds *int32 `type:"int32" json:",omitempty"`
NamespaceName *string `type:"string" json:",omitempty"`
PromoteStrategy *string `type:"string" json:",omitempty" enum:"EnumOfPromoteStrategyForDescribeNamespacesOutput"`
Status *string `type:"string" json:",omitempty" enum:"EnumOfStatusForDescribeNamespacesOutput"`
StorageType *string `type:"string" json:",omitempty" enum:"EnumOfStorageTypeForDescribeNamespacesOutput"`
UnderStorageInstanceId *string `type:"string" json:",omitempty"`
UnderStorageType *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (NamespaceForDescribeNamespacesOutput) GoString ¶
func (s NamespaceForDescribeNamespacesOutput) GoString() string
GoString returns the string representation
func (*NamespaceForDescribeNamespacesOutput) SetAccessType ¶
func (s *NamespaceForDescribeNamespacesOutput) SetAccessType(v string) *NamespaceForDescribeNamespacesOutput
SetAccessType sets the AccessType field's value.
func (*NamespaceForDescribeNamespacesOutput) SetCreatedAt ¶
func (s *NamespaceForDescribeNamespacesOutput) SetCreatedAt(v string) *NamespaceForDescribeNamespacesOutput
SetCreatedAt sets the CreatedAt field's value.
func (*NamespaceForDescribeNamespacesOutput) SetDiskEvictStrategy ¶
func (s *NamespaceForDescribeNamespacesOutput) SetDiskEvictStrategy(v string) *NamespaceForDescribeNamespacesOutput
SetDiskEvictStrategy sets the DiskEvictStrategy field's value.
func (*NamespaceForDescribeNamespacesOutput) SetDiskTTLSeconds ¶
func (s *NamespaceForDescribeNamespacesOutput) SetDiskTTLSeconds(v int32) *NamespaceForDescribeNamespacesOutput
SetDiskTTLSeconds sets the DiskTTLSeconds field's value.
func (*NamespaceForDescribeNamespacesOutput) SetInstanceId ¶
func (s *NamespaceForDescribeNamespacesOutput) SetInstanceId(v string) *NamespaceForDescribeNamespacesOutput
SetInstanceId sets the InstanceId field's value.
func (*NamespaceForDescribeNamespacesOutput) SetMemEvictStrategy ¶
func (s *NamespaceForDescribeNamespacesOutput) SetMemEvictStrategy(v string) *NamespaceForDescribeNamespacesOutput
SetMemEvictStrategy sets the MemEvictStrategy field's value.
func (*NamespaceForDescribeNamespacesOutput) SetMemTTLSeconds ¶
func (s *NamespaceForDescribeNamespacesOutput) SetMemTTLSeconds(v int32) *NamespaceForDescribeNamespacesOutput
SetMemTTLSeconds sets the MemTTLSeconds field's value.
func (*NamespaceForDescribeNamespacesOutput) SetNamespaceName ¶
func (s *NamespaceForDescribeNamespacesOutput) SetNamespaceName(v string) *NamespaceForDescribeNamespacesOutput
SetNamespaceName sets the NamespaceName field's value.
func (*NamespaceForDescribeNamespacesOutput) SetPromoteStrategy ¶
func (s *NamespaceForDescribeNamespacesOutput) SetPromoteStrategy(v string) *NamespaceForDescribeNamespacesOutput
SetPromoteStrategy sets the PromoteStrategy field's value.
func (*NamespaceForDescribeNamespacesOutput) SetStatus ¶
func (s *NamespaceForDescribeNamespacesOutput) SetStatus(v string) *NamespaceForDescribeNamespacesOutput
SetStatus sets the Status field's value.
func (*NamespaceForDescribeNamespacesOutput) SetStorageType ¶
func (s *NamespaceForDescribeNamespacesOutput) SetStorageType(v string) *NamespaceForDescribeNamespacesOutput
SetStorageType sets the StorageType field's value.
func (*NamespaceForDescribeNamespacesOutput) SetUnderStorageInstanceId ¶
func (s *NamespaceForDescribeNamespacesOutput) SetUnderStorageInstanceId(v string) *NamespaceForDescribeNamespacesOutput
SetUnderStorageInstanceId sets the UnderStorageInstanceId field's value.
func (*NamespaceForDescribeNamespacesOutput) SetUnderStorageType ¶
func (s *NamespaceForDescribeNamespacesOutput) SetUnderStorageType(v string) *NamespaceForDescribeNamespacesOutput
SetUnderStorageType sets the UnderStorageType field's value.
func (NamespaceForDescribeNamespacesOutput) String ¶
func (s NamespaceForDescribeNamespacesOutput) String() string
String returns the string representation