Documentation
¶
Overview ¶
Package vmpiface provides an interface to enable mocking the VMP 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 CreateWorkspaceInput
- func (s CreateWorkspaceInput) GoString() string
- func (s *CreateWorkspaceInput) SetDeleteProtectionEnabled(v bool) *CreateWorkspaceInput
- func (s *CreateWorkspaceInput) SetDescription(v string) *CreateWorkspaceInput
- func (s *CreateWorkspaceInput) SetInstanceTypeId(v string) *CreateWorkspaceInput
- func (s *CreateWorkspaceInput) SetName(v string) *CreateWorkspaceInput
- func (s *CreateWorkspaceInput) SetPassword(v string) *CreateWorkspaceInput
- func (s *CreateWorkspaceInput) SetProjectName(v string) *CreateWorkspaceInput
- func (s *CreateWorkspaceInput) SetTags(v []*TagForCreateWorkspaceInput) *CreateWorkspaceInput
- func (s *CreateWorkspaceInput) SetUsername(v string) *CreateWorkspaceInput
- func (s CreateWorkspaceInput) String() string
- func (s *CreateWorkspaceInput) Validate() error
- type CreateWorkspaceOutput
- type DeleteWorkspaceInput
- type DeleteWorkspaceOutput
- type FiltersForListWorkspaceStatusInput
- func (s FiltersForListWorkspaceStatusInput) GoString() string
- func (s *FiltersForListWorkspaceStatusInput) SetIds(v []*string) *FiltersForListWorkspaceStatusInput
- func (s *FiltersForListWorkspaceStatusInput) SetInstanceTypeIds(v []*string) *FiltersForListWorkspaceStatusInput
- func (s *FiltersForListWorkspaceStatusInput) SetName(v string) *FiltersForListWorkspaceStatusInput
- func (s FiltersForListWorkspaceStatusInput) String() string
- type FiltersForListWorkspacesInput
- func (s FiltersForListWorkspacesInput) GoString() string
- func (s *FiltersForListWorkspacesInput) SetIds(v []*string) *FiltersForListWorkspacesInput
- func (s *FiltersForListWorkspacesInput) SetInstanceTypeIds(v []*string) *FiltersForListWorkspacesInput
- func (s *FiltersForListWorkspacesInput) SetName(v string) *FiltersForListWorkspacesInput
- func (s FiltersForListWorkspacesInput) String() string
- type ItemForListWorkspaceStatusOutput
- func (s ItemForListWorkspaceStatusOutput) GoString() string
- func (s *ItemForListWorkspaceStatusOutput) SetId(v string) *ItemForListWorkspaceStatusOutput
- func (s *ItemForListWorkspaceStatusOutput) SetInstanceTypeId(v string) *ItemForListWorkspaceStatusOutput
- func (s *ItemForListWorkspaceStatusOutput) SetName(v string) *ItemForListWorkspaceStatusOutput
- func (s *ItemForListWorkspaceStatusOutput) SetStatus(v string) *ItemForListWorkspaceStatusOutput
- func (s *ItemForListWorkspaceStatusOutput) SetUsage(v *UsageForListWorkspaceStatusOutput) *ItemForListWorkspaceStatusOutput
- func (s ItemForListWorkspaceStatusOutput) String() string
- type ItemForListWorkspacesOutput
- func (s ItemForListWorkspacesOutput) GoString() string
- func (s *ItemForListWorkspacesOutput) SetCreateTime(v string) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetDeleteProtectionEnabled(v bool) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetDescription(v string) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetId(v string) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetInstanceTypeId(v string) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetName(v string) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetOverdueReclaimTime(v string) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetProjectName(v string) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetPrometheusQueryIntranetEndpoint(v string) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetPrometheusWriteIntranetEndpoint(v string) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetStatus(v string) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetTags(v []*TagForListWorkspacesOutput) *ItemForListWorkspacesOutput
- func (s *ItemForListWorkspacesOutput) SetUsername(v string) *ItemForListWorkspacesOutput
- func (s ItemForListWorkspacesOutput) String() string
- type ListWorkspaceStatusInput
- func (s ListWorkspaceStatusInput) GoString() string
- func (s *ListWorkspaceStatusInput) SetFilters(v *FiltersForListWorkspaceStatusInput) *ListWorkspaceStatusInput
- func (s *ListWorkspaceStatusInput) SetPageNumber(v int64) *ListWorkspaceStatusInput
- func (s *ListWorkspaceStatusInput) SetPageSize(v int64) *ListWorkspaceStatusInput
- func (s *ListWorkspaceStatusInput) SetProjectName(v string) *ListWorkspaceStatusInput
- func (s ListWorkspaceStatusInput) String() string
- type ListWorkspaceStatusOutput
- type ListWorkspacesInput
- func (s ListWorkspacesInput) GoString() string
- func (s *ListWorkspacesInput) SetFilters(v *FiltersForListWorkspacesInput) *ListWorkspacesInput
- func (s *ListWorkspacesInput) SetPageNumber(v int64) *ListWorkspacesInput
- func (s *ListWorkspacesInput) SetPageSize(v int64) *ListWorkspacesInput
- func (s *ListWorkspacesInput) SetProjectName(v string) *ListWorkspacesInput
- func (s *ListWorkspacesInput) SetTagFilters(v []*TagFilterForListWorkspacesInput) *ListWorkspacesInput
- func (s ListWorkspacesInput) String() string
- type ListWorkspacesOutput
- type TagFilterForListWorkspacesInput
- func (s TagFilterForListWorkspacesInput) GoString() string
- func (s *TagFilterForListWorkspacesInput) SetKey(v string) *TagFilterForListWorkspacesInput
- func (s *TagFilterForListWorkspacesInput) SetValues(v []*string) *TagFilterForListWorkspacesInput
- func (s TagFilterForListWorkspacesInput) String() string
- type TagForCreateWorkspaceInput
- type TagForListWorkspacesOutput
- type UpdateWorkspaceInput
- func (s UpdateWorkspaceInput) GoString() string
- func (s *UpdateWorkspaceInput) SetDeleteProtectionEnabled(v bool) *UpdateWorkspaceInput
- func (s *UpdateWorkspaceInput) SetDescription(v string) *UpdateWorkspaceInput
- func (s *UpdateWorkspaceInput) SetId(v string) *UpdateWorkspaceInput
- func (s *UpdateWorkspaceInput) SetName(v string) *UpdateWorkspaceInput
- func (s *UpdateWorkspaceInput) SetPassword(v string) *UpdateWorkspaceInput
- func (s *UpdateWorkspaceInput) SetUsername(v string) *UpdateWorkspaceInput
- func (s UpdateWorkspaceInput) String() string
- func (s *UpdateWorkspaceInput) Validate() error
- type UpdateWorkspaceOutput
- type UsageForListWorkspaceStatusOutput
- func (s UsageForListWorkspaceStatusOutput) GoString() string
- func (s *UsageForListWorkspaceStatusOutput) SetActiveSeries(v int64) *UsageForListWorkspaceStatusOutput
- func (s *UsageForListWorkspaceStatusOutput) SetIngestedSamplesPerSecond(v float64) *UsageForListWorkspaceStatusOutput
- func (s UsageForListWorkspaceStatusOutput) String() string
- type VMP
- func (c *VMP) CreateWorkspace(input *CreateWorkspaceInput) (*CreateWorkspaceOutput, error)
- func (c *VMP) CreateWorkspaceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *VMP) CreateWorkspaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *VMP) CreateWorkspaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *VMP) CreateWorkspaceRequest(input *CreateWorkspaceInput) (req *request.Request, output *CreateWorkspaceOutput)
- func (c *VMP) CreateWorkspaceWithContext(ctx volcengine.Context, input *CreateWorkspaceInput, opts ...request.Option) (*CreateWorkspaceOutput, error)
- func (c *VMP) DeleteWorkspace(input *DeleteWorkspaceInput) (*DeleteWorkspaceOutput, error)
- func (c *VMP) DeleteWorkspaceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *VMP) DeleteWorkspaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *VMP) DeleteWorkspaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *VMP) DeleteWorkspaceRequest(input *DeleteWorkspaceInput) (req *request.Request, output *DeleteWorkspaceOutput)
- func (c *VMP) DeleteWorkspaceWithContext(ctx volcengine.Context, input *DeleteWorkspaceInput, opts ...request.Option) (*DeleteWorkspaceOutput, error)
- func (c *VMP) ListWorkspaceStatus(input *ListWorkspaceStatusInput) (*ListWorkspaceStatusOutput, error)
- func (c *VMP) ListWorkspaceStatusCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *VMP) ListWorkspaceStatusCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *VMP) ListWorkspaceStatusCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *VMP) ListWorkspaceStatusRequest(input *ListWorkspaceStatusInput) (req *request.Request, output *ListWorkspaceStatusOutput)
- func (c *VMP) ListWorkspaceStatusWithContext(ctx volcengine.Context, input *ListWorkspaceStatusInput, ...) (*ListWorkspaceStatusOutput, error)
- func (c *VMP) ListWorkspaces(input *ListWorkspacesInput) (*ListWorkspacesOutput, error)
- func (c *VMP) ListWorkspacesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *VMP) ListWorkspacesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *VMP) ListWorkspacesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *VMP) ListWorkspacesRequest(input *ListWorkspacesInput) (req *request.Request, output *ListWorkspacesOutput)
- func (c *VMP) ListWorkspacesWithContext(ctx volcengine.Context, input *ListWorkspacesInput, opts ...request.Option) (*ListWorkspacesOutput, error)
- func (c *VMP) UpdateWorkspace(input *UpdateWorkspaceInput) (*UpdateWorkspaceOutput, error)
- func (c *VMP) UpdateWorkspaceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *VMP) UpdateWorkspaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *VMP) UpdateWorkspaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *VMP) UpdateWorkspaceRequest(input *UpdateWorkspaceInput) (req *request.Request, output *UpdateWorkspaceOutput)
- func (c *VMP) UpdateWorkspaceWithContext(ctx volcengine.Context, input *UpdateWorkspaceInput, opts ...request.Option) (*UpdateWorkspaceOutput, error)
- type VMPAPI
Constants ¶
const ( ServiceName = "vmp" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "vmp" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateWorkspaceInput ¶
type CreateWorkspaceInput struct { DeleteProtectionEnabled *bool `type:"boolean" json:",omitempty"` Description *string `type:"string" json:",omitempty"` // InstanceTypeId is a required field InstanceTypeId *string `type:"string" json:",omitempty" required:"true"` // Name is a required field Name *string `type:"string" json:",omitempty" required:"true"` Password *string `type:"string" json:",omitempty"` ProjectName *string `type:"string" json:",omitempty"` Tags []*TagForCreateWorkspaceInput `type:"list" json:",omitempty"` Username *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (CreateWorkspaceInput) GoString ¶
func (s CreateWorkspaceInput) GoString() string
GoString returns the string representation
func (*CreateWorkspaceInput) SetDeleteProtectionEnabled ¶
func (s *CreateWorkspaceInput) SetDeleteProtectionEnabled(v bool) *CreateWorkspaceInput
SetDeleteProtectionEnabled sets the DeleteProtectionEnabled field's value.
func (*CreateWorkspaceInput) SetDescription ¶
func (s *CreateWorkspaceInput) SetDescription(v string) *CreateWorkspaceInput
SetDescription sets the Description field's value.
func (*CreateWorkspaceInput) SetInstanceTypeId ¶
func (s *CreateWorkspaceInput) SetInstanceTypeId(v string) *CreateWorkspaceInput
SetInstanceTypeId sets the InstanceTypeId field's value.
func (*CreateWorkspaceInput) SetName ¶
func (s *CreateWorkspaceInput) SetName(v string) *CreateWorkspaceInput
SetName sets the Name field's value.
func (*CreateWorkspaceInput) SetPassword ¶
func (s *CreateWorkspaceInput) SetPassword(v string) *CreateWorkspaceInput
SetPassword sets the Password field's value.
func (*CreateWorkspaceInput) SetProjectName ¶
func (s *CreateWorkspaceInput) SetProjectName(v string) *CreateWorkspaceInput
SetProjectName sets the ProjectName field's value.
func (*CreateWorkspaceInput) SetTags ¶
func (s *CreateWorkspaceInput) SetTags(v []*TagForCreateWorkspaceInput) *CreateWorkspaceInput
SetTags sets the Tags field's value.
func (*CreateWorkspaceInput) SetUsername ¶
func (s *CreateWorkspaceInput) SetUsername(v string) *CreateWorkspaceInput
SetUsername sets the Username field's value.
func (CreateWorkspaceInput) String ¶
func (s CreateWorkspaceInput) String() string
String returns the string representation
func (*CreateWorkspaceInput) Validate ¶
func (s *CreateWorkspaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateWorkspaceOutput ¶
type CreateWorkspaceOutput struct { Metadata *response.ResponseMetadata Id *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (CreateWorkspaceOutput) GoString ¶
func (s CreateWorkspaceOutput) GoString() string
GoString returns the string representation
func (*CreateWorkspaceOutput) SetId ¶
func (s *CreateWorkspaceOutput) SetId(v string) *CreateWorkspaceOutput
SetId sets the Id field's value.
func (CreateWorkspaceOutput) String ¶
func (s CreateWorkspaceOutput) String() string
String returns the string representation
type DeleteWorkspaceInput ¶
type DeleteWorkspaceInput struct { // Id is a required field Id *string `type:"string" json:",omitempty" required:"true"` // contains filtered or unexported fields }
func (DeleteWorkspaceInput) GoString ¶
func (s DeleteWorkspaceInput) GoString() string
GoString returns the string representation
func (*DeleteWorkspaceInput) SetId ¶
func (s *DeleteWorkspaceInput) SetId(v string) *DeleteWorkspaceInput
SetId sets the Id field's value.
func (DeleteWorkspaceInput) String ¶
func (s DeleteWorkspaceInput) String() string
String returns the string representation
func (*DeleteWorkspaceInput) Validate ¶
func (s *DeleteWorkspaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteWorkspaceOutput ¶
type DeleteWorkspaceOutput struct { Metadata *response.ResponseMetadata Id *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (DeleteWorkspaceOutput) GoString ¶
func (s DeleteWorkspaceOutput) GoString() string
GoString returns the string representation
func (*DeleteWorkspaceOutput) SetId ¶
func (s *DeleteWorkspaceOutput) SetId(v string) *DeleteWorkspaceOutput
SetId sets the Id field's value.
func (DeleteWorkspaceOutput) String ¶
func (s DeleteWorkspaceOutput) String() string
String returns the string representation
type FiltersForListWorkspaceStatusInput ¶
type FiltersForListWorkspaceStatusInput struct { Ids []*string `type:"list" json:",omitempty"` InstanceTypeIds []*string `type:"list" json:",omitempty"` Name *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (FiltersForListWorkspaceStatusInput) GoString ¶
func (s FiltersForListWorkspaceStatusInput) GoString() string
GoString returns the string representation
func (*FiltersForListWorkspaceStatusInput) SetIds ¶
func (s *FiltersForListWorkspaceStatusInput) SetIds(v []*string) *FiltersForListWorkspaceStatusInput
SetIds sets the Ids field's value.
func (*FiltersForListWorkspaceStatusInput) SetInstanceTypeIds ¶
func (s *FiltersForListWorkspaceStatusInput) SetInstanceTypeIds(v []*string) *FiltersForListWorkspaceStatusInput
SetInstanceTypeIds sets the InstanceTypeIds field's value.
func (*FiltersForListWorkspaceStatusInput) SetName ¶
func (s *FiltersForListWorkspaceStatusInput) SetName(v string) *FiltersForListWorkspaceStatusInput
SetName sets the Name field's value.
func (FiltersForListWorkspaceStatusInput) String ¶
func (s FiltersForListWorkspaceStatusInput) String() string
String returns the string representation
type FiltersForListWorkspacesInput ¶
type FiltersForListWorkspacesInput struct { Ids []*string `type:"list" json:",omitempty"` InstanceTypeIds []*string `type:"list" json:",omitempty"` Name *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (FiltersForListWorkspacesInput) GoString ¶
func (s FiltersForListWorkspacesInput) GoString() string
GoString returns the string representation
func (*FiltersForListWorkspacesInput) SetIds ¶
func (s *FiltersForListWorkspacesInput) SetIds(v []*string) *FiltersForListWorkspacesInput
SetIds sets the Ids field's value.
func (*FiltersForListWorkspacesInput) SetInstanceTypeIds ¶
func (s *FiltersForListWorkspacesInput) SetInstanceTypeIds(v []*string) *FiltersForListWorkspacesInput
SetInstanceTypeIds sets the InstanceTypeIds field's value.
func (*FiltersForListWorkspacesInput) SetName ¶
func (s *FiltersForListWorkspacesInput) SetName(v string) *FiltersForListWorkspacesInput
SetName sets the Name field's value.
func (FiltersForListWorkspacesInput) String ¶
func (s FiltersForListWorkspacesInput) String() string
String returns the string representation
type ItemForListWorkspaceStatusOutput ¶
type ItemForListWorkspaceStatusOutput struct { Id *string `type:"string" json:",omitempty"` InstanceTypeId *string `type:"string" json:",omitempty"` Name *string `type:"string" json:",omitempty"` Status *string `type:"string" json:",omitempty"` Usage *UsageForListWorkspaceStatusOutput `type:"structure" json:",omitempty"` // contains filtered or unexported fields }
func (ItemForListWorkspaceStatusOutput) GoString ¶
func (s ItemForListWorkspaceStatusOutput) GoString() string
GoString returns the string representation
func (*ItemForListWorkspaceStatusOutput) SetId ¶
func (s *ItemForListWorkspaceStatusOutput) SetId(v string) *ItemForListWorkspaceStatusOutput
SetId sets the Id field's value.
func (*ItemForListWorkspaceStatusOutput) SetInstanceTypeId ¶
func (s *ItemForListWorkspaceStatusOutput) SetInstanceTypeId(v string) *ItemForListWorkspaceStatusOutput
SetInstanceTypeId sets the InstanceTypeId field's value.
func (*ItemForListWorkspaceStatusOutput) SetName ¶
func (s *ItemForListWorkspaceStatusOutput) SetName(v string) *ItemForListWorkspaceStatusOutput
SetName sets the Name field's value.
func (*ItemForListWorkspaceStatusOutput) SetStatus ¶
func (s *ItemForListWorkspaceStatusOutput) SetStatus(v string) *ItemForListWorkspaceStatusOutput
SetStatus sets the Status field's value.
func (*ItemForListWorkspaceStatusOutput) SetUsage ¶
func (s *ItemForListWorkspaceStatusOutput) SetUsage(v *UsageForListWorkspaceStatusOutput) *ItemForListWorkspaceStatusOutput
SetUsage sets the Usage field's value.
func (ItemForListWorkspaceStatusOutput) String ¶
func (s ItemForListWorkspaceStatusOutput) String() string
String returns the string representation
type ItemForListWorkspacesOutput ¶
type ItemForListWorkspacesOutput struct { CreateTime *string `type:"string" json:",omitempty"` DeleteProtectionEnabled *bool `type:"boolean" json:",omitempty"` Description *string `type:"string" json:",omitempty"` Id *string `type:"string" json:",omitempty"` InstanceTypeId *string `type:"string" json:",omitempty"` Name *string `type:"string" json:",omitempty"` OverdueReclaimTime *string `type:"string" json:",omitempty"` ProjectName *string `type:"string" json:",omitempty"` PrometheusQueryIntranetEndpoint *string `type:"string" json:",omitempty"` PrometheusWriteIntranetEndpoint *string `type:"string" json:",omitempty"` Status *string `type:"string" json:",omitempty"` Tags []*TagForListWorkspacesOutput `type:"list" json:",omitempty"` Username *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (ItemForListWorkspacesOutput) GoString ¶
func (s ItemForListWorkspacesOutput) GoString() string
GoString returns the string representation
func (*ItemForListWorkspacesOutput) SetCreateTime ¶
func (s *ItemForListWorkspacesOutput) SetCreateTime(v string) *ItemForListWorkspacesOutput
SetCreateTime sets the CreateTime field's value.
func (*ItemForListWorkspacesOutput) SetDeleteProtectionEnabled ¶
func (s *ItemForListWorkspacesOutput) SetDeleteProtectionEnabled(v bool) *ItemForListWorkspacesOutput
SetDeleteProtectionEnabled sets the DeleteProtectionEnabled field's value.
func (*ItemForListWorkspacesOutput) SetDescription ¶
func (s *ItemForListWorkspacesOutput) SetDescription(v string) *ItemForListWorkspacesOutput
SetDescription sets the Description field's value.
func (*ItemForListWorkspacesOutput) SetId ¶
func (s *ItemForListWorkspacesOutput) SetId(v string) *ItemForListWorkspacesOutput
SetId sets the Id field's value.
func (*ItemForListWorkspacesOutput) SetInstanceTypeId ¶
func (s *ItemForListWorkspacesOutput) SetInstanceTypeId(v string) *ItemForListWorkspacesOutput
SetInstanceTypeId sets the InstanceTypeId field's value.
func (*ItemForListWorkspacesOutput) SetName ¶
func (s *ItemForListWorkspacesOutput) SetName(v string) *ItemForListWorkspacesOutput
SetName sets the Name field's value.
func (*ItemForListWorkspacesOutput) SetOverdueReclaimTime ¶
func (s *ItemForListWorkspacesOutput) SetOverdueReclaimTime(v string) *ItemForListWorkspacesOutput
SetOverdueReclaimTime sets the OverdueReclaimTime field's value.
func (*ItemForListWorkspacesOutput) SetProjectName ¶
func (s *ItemForListWorkspacesOutput) SetProjectName(v string) *ItemForListWorkspacesOutput
SetProjectName sets the ProjectName field's value.
func (*ItemForListWorkspacesOutput) SetPrometheusQueryIntranetEndpoint ¶
func (s *ItemForListWorkspacesOutput) SetPrometheusQueryIntranetEndpoint(v string) *ItemForListWorkspacesOutput
SetPrometheusQueryIntranetEndpoint sets the PrometheusQueryIntranetEndpoint field's value.
func (*ItemForListWorkspacesOutput) SetPrometheusWriteIntranetEndpoint ¶
func (s *ItemForListWorkspacesOutput) SetPrometheusWriteIntranetEndpoint(v string) *ItemForListWorkspacesOutput
SetPrometheusWriteIntranetEndpoint sets the PrometheusWriteIntranetEndpoint field's value.
func (*ItemForListWorkspacesOutput) SetStatus ¶
func (s *ItemForListWorkspacesOutput) SetStatus(v string) *ItemForListWorkspacesOutput
SetStatus sets the Status field's value.
func (*ItemForListWorkspacesOutput) SetTags ¶
func (s *ItemForListWorkspacesOutput) SetTags(v []*TagForListWorkspacesOutput) *ItemForListWorkspacesOutput
SetTags sets the Tags field's value.
func (*ItemForListWorkspacesOutput) SetUsername ¶
func (s *ItemForListWorkspacesOutput) SetUsername(v string) *ItemForListWorkspacesOutput
SetUsername sets the Username field's value.
func (ItemForListWorkspacesOutput) String ¶
func (s ItemForListWorkspacesOutput) String() string
String returns the string representation
type ListWorkspaceStatusInput ¶
type ListWorkspaceStatusInput struct { Filters *FiltersForListWorkspaceStatusInput `type:"structure" json:",omitempty"` PageNumber *int64 `type:"int64" json:",omitempty"` PageSize *int64 `type:"int64" json:",omitempty"` ProjectName *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (ListWorkspaceStatusInput) GoString ¶
func (s ListWorkspaceStatusInput) GoString() string
GoString returns the string representation
func (*ListWorkspaceStatusInput) SetFilters ¶
func (s *ListWorkspaceStatusInput) SetFilters(v *FiltersForListWorkspaceStatusInput) *ListWorkspaceStatusInput
SetFilters sets the Filters field's value.
func (*ListWorkspaceStatusInput) SetPageNumber ¶
func (s *ListWorkspaceStatusInput) SetPageNumber(v int64) *ListWorkspaceStatusInput
SetPageNumber sets the PageNumber field's value.
func (*ListWorkspaceStatusInput) SetPageSize ¶
func (s *ListWorkspaceStatusInput) SetPageSize(v int64) *ListWorkspaceStatusInput
SetPageSize sets the PageSize field's value.
func (*ListWorkspaceStatusInput) SetProjectName ¶
func (s *ListWorkspaceStatusInput) SetProjectName(v string) *ListWorkspaceStatusInput
SetProjectName sets the ProjectName field's value.
func (ListWorkspaceStatusInput) String ¶
func (s ListWorkspaceStatusInput) String() string
String returns the string representation
type ListWorkspaceStatusOutput ¶
type ListWorkspaceStatusOutput struct { Metadata *response.ResponseMetadata Items []*ItemForListWorkspaceStatusOutput `type:"list" json:",omitempty"` Total *int64 `type:"int64" json:",omitempty"` // contains filtered or unexported fields }
func (ListWorkspaceStatusOutput) GoString ¶
func (s ListWorkspaceStatusOutput) GoString() string
GoString returns the string representation
func (*ListWorkspaceStatusOutput) SetItems ¶
func (s *ListWorkspaceStatusOutput) SetItems(v []*ItemForListWorkspaceStatusOutput) *ListWorkspaceStatusOutput
SetItems sets the Items field's value.
func (*ListWorkspaceStatusOutput) SetTotal ¶
func (s *ListWorkspaceStatusOutput) SetTotal(v int64) *ListWorkspaceStatusOutput
SetTotal sets the Total field's value.
func (ListWorkspaceStatusOutput) String ¶
func (s ListWorkspaceStatusOutput) String() string
String returns the string representation
type ListWorkspacesInput ¶
type ListWorkspacesInput struct { Filters *FiltersForListWorkspacesInput `type:"structure" json:",omitempty"` PageNumber *int64 `type:"int64" json:",omitempty"` PageSize *int64 `type:"int64" json:",omitempty"` ProjectName *string `type:"string" json:",omitempty"` TagFilters []*TagFilterForListWorkspacesInput `type:"list" json:",omitempty"` // contains filtered or unexported fields }
func (ListWorkspacesInput) GoString ¶
func (s ListWorkspacesInput) GoString() string
GoString returns the string representation
func (*ListWorkspacesInput) SetFilters ¶
func (s *ListWorkspacesInput) SetFilters(v *FiltersForListWorkspacesInput) *ListWorkspacesInput
SetFilters sets the Filters field's value.
func (*ListWorkspacesInput) SetPageNumber ¶
func (s *ListWorkspacesInput) SetPageNumber(v int64) *ListWorkspacesInput
SetPageNumber sets the PageNumber field's value.
func (*ListWorkspacesInput) SetPageSize ¶
func (s *ListWorkspacesInput) SetPageSize(v int64) *ListWorkspacesInput
SetPageSize sets the PageSize field's value.
func (*ListWorkspacesInput) SetProjectName ¶
func (s *ListWorkspacesInput) SetProjectName(v string) *ListWorkspacesInput
SetProjectName sets the ProjectName field's value.
func (*ListWorkspacesInput) SetTagFilters ¶
func (s *ListWorkspacesInput) SetTagFilters(v []*TagFilterForListWorkspacesInput) *ListWorkspacesInput
SetTagFilters sets the TagFilters field's value.
func (ListWorkspacesInput) String ¶
func (s ListWorkspacesInput) String() string
String returns the string representation
type ListWorkspacesOutput ¶
type ListWorkspacesOutput struct { Metadata *response.ResponseMetadata Items []*ItemForListWorkspacesOutput `type:"list" json:",omitempty"` Total *int64 `type:"int64" json:",omitempty"` // contains filtered or unexported fields }
func (ListWorkspacesOutput) GoString ¶
func (s ListWorkspacesOutput) GoString() string
GoString returns the string representation
func (*ListWorkspacesOutput) SetItems ¶
func (s *ListWorkspacesOutput) SetItems(v []*ItemForListWorkspacesOutput) *ListWorkspacesOutput
SetItems sets the Items field's value.
func (*ListWorkspacesOutput) SetTotal ¶
func (s *ListWorkspacesOutput) SetTotal(v int64) *ListWorkspacesOutput
SetTotal sets the Total field's value.
func (ListWorkspacesOutput) String ¶
func (s ListWorkspacesOutput) String() string
String returns the string representation
type TagFilterForListWorkspacesInput ¶
type TagFilterForListWorkspacesInput struct { Key *string `type:"string" json:",omitempty"` Values []*string `type:"list" json:",omitempty"` // contains filtered or unexported fields }
func (TagFilterForListWorkspacesInput) GoString ¶
func (s TagFilterForListWorkspacesInput) GoString() string
GoString returns the string representation
func (*TagFilterForListWorkspacesInput) SetKey ¶
func (s *TagFilterForListWorkspacesInput) SetKey(v string) *TagFilterForListWorkspacesInput
SetKey sets the Key field's value.
func (*TagFilterForListWorkspacesInput) SetValues ¶
func (s *TagFilterForListWorkspacesInput) SetValues(v []*string) *TagFilterForListWorkspacesInput
SetValues sets the Values field's value.
func (TagFilterForListWorkspacesInput) String ¶
func (s TagFilterForListWorkspacesInput) String() string
String returns the string representation
type TagForCreateWorkspaceInput ¶
type TagForCreateWorkspaceInput struct { Key *string `type:"string" json:",omitempty"` Value *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (TagForCreateWorkspaceInput) GoString ¶
func (s TagForCreateWorkspaceInput) GoString() string
GoString returns the string representation
func (*TagForCreateWorkspaceInput) SetKey ¶
func (s *TagForCreateWorkspaceInput) SetKey(v string) *TagForCreateWorkspaceInput
SetKey sets the Key field's value.
func (*TagForCreateWorkspaceInput) SetValue ¶
func (s *TagForCreateWorkspaceInput) SetValue(v string) *TagForCreateWorkspaceInput
SetValue sets the Value field's value.
func (TagForCreateWorkspaceInput) String ¶
func (s TagForCreateWorkspaceInput) String() string
String returns the string representation
type TagForListWorkspacesOutput ¶
type TagForListWorkspacesOutput struct { Key *string `type:"string" json:",omitempty"` Value *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (TagForListWorkspacesOutput) GoString ¶
func (s TagForListWorkspacesOutput) GoString() string
GoString returns the string representation
func (*TagForListWorkspacesOutput) SetKey ¶
func (s *TagForListWorkspacesOutput) SetKey(v string) *TagForListWorkspacesOutput
SetKey sets the Key field's value.
func (*TagForListWorkspacesOutput) SetValue ¶
func (s *TagForListWorkspacesOutput) SetValue(v string) *TagForListWorkspacesOutput
SetValue sets the Value field's value.
func (TagForListWorkspacesOutput) String ¶
func (s TagForListWorkspacesOutput) String() string
String returns the string representation
type UpdateWorkspaceInput ¶
type UpdateWorkspaceInput struct { DeleteProtectionEnabled *bool `type:"boolean" json:",omitempty"` Description *string `type:"string" json:",omitempty"` // Id is a required field Id *string `type:"string" json:",omitempty" required:"true"` Name *string `type:"string" json:",omitempty"` Password *string `type:"string" json:",omitempty"` Username *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (UpdateWorkspaceInput) GoString ¶
func (s UpdateWorkspaceInput) GoString() string
GoString returns the string representation
func (*UpdateWorkspaceInput) SetDeleteProtectionEnabled ¶
func (s *UpdateWorkspaceInput) SetDeleteProtectionEnabled(v bool) *UpdateWorkspaceInput
SetDeleteProtectionEnabled sets the DeleteProtectionEnabled field's value.
func (*UpdateWorkspaceInput) SetDescription ¶
func (s *UpdateWorkspaceInput) SetDescription(v string) *UpdateWorkspaceInput
SetDescription sets the Description field's value.
func (*UpdateWorkspaceInput) SetId ¶
func (s *UpdateWorkspaceInput) SetId(v string) *UpdateWorkspaceInput
SetId sets the Id field's value.
func (*UpdateWorkspaceInput) SetName ¶
func (s *UpdateWorkspaceInput) SetName(v string) *UpdateWorkspaceInput
SetName sets the Name field's value.
func (*UpdateWorkspaceInput) SetPassword ¶
func (s *UpdateWorkspaceInput) SetPassword(v string) *UpdateWorkspaceInput
SetPassword sets the Password field's value.
func (*UpdateWorkspaceInput) SetUsername ¶
func (s *UpdateWorkspaceInput) SetUsername(v string) *UpdateWorkspaceInput
SetUsername sets the Username field's value.
func (UpdateWorkspaceInput) String ¶
func (s UpdateWorkspaceInput) String() string
String returns the string representation
func (*UpdateWorkspaceInput) Validate ¶
func (s *UpdateWorkspaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateWorkspaceOutput ¶
type UpdateWorkspaceOutput struct { Metadata *response.ResponseMetadata Id *string `type:"string" json:",omitempty"` // contains filtered or unexported fields }
func (UpdateWorkspaceOutput) GoString ¶
func (s UpdateWorkspaceOutput) GoString() string
GoString returns the string representation
func (*UpdateWorkspaceOutput) SetId ¶
func (s *UpdateWorkspaceOutput) SetId(v string) *UpdateWorkspaceOutput
SetId sets the Id field's value.
func (UpdateWorkspaceOutput) String ¶
func (s UpdateWorkspaceOutput) String() string
String returns the string representation
type UsageForListWorkspaceStatusOutput ¶
type UsageForListWorkspaceStatusOutput struct { ActiveSeries *int64 `type:"int64" json:",omitempty"` IngestedSamplesPerSecond *float64 `type:"double" json:",omitempty"` // contains filtered or unexported fields }
func (UsageForListWorkspaceStatusOutput) GoString ¶
func (s UsageForListWorkspaceStatusOutput) GoString() string
GoString returns the string representation
func (*UsageForListWorkspaceStatusOutput) SetActiveSeries ¶
func (s *UsageForListWorkspaceStatusOutput) SetActiveSeries(v int64) *UsageForListWorkspaceStatusOutput
SetActiveSeries sets the ActiveSeries field's value.
func (*UsageForListWorkspaceStatusOutput) SetIngestedSamplesPerSecond ¶
func (s *UsageForListWorkspaceStatusOutput) SetIngestedSamplesPerSecond(v float64) *UsageForListWorkspaceStatusOutput
SetIngestedSamplesPerSecond sets the IngestedSamplesPerSecond field's value.
func (UsageForListWorkspaceStatusOutput) String ¶
func (s UsageForListWorkspaceStatusOutput) String() string
String returns the string representation
type VMP ¶
VMP provides the API operation methods for making requests to VMP. See this package's package overview docs for details on the service.
VMP 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) *VMP
New create int can support ssl or region locate set
func (*VMP) CreateWorkspace ¶
func (c *VMP) CreateWorkspace(input *CreateWorkspaceInput) (*CreateWorkspaceOutput, error)
CreateWorkspace API operation for VMP.
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 VMP's API operation CreateWorkspace for usage and error information.
func (*VMP) CreateWorkspaceCommon ¶
CreateWorkspaceCommon API operation for VMP.
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 VMP's API operation CreateWorkspaceCommon for usage and error information.
func (*VMP) CreateWorkspaceCommonRequest ¶
func (c *VMP) CreateWorkspaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateWorkspaceCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateWorkspaceCommon operation. The "output" return value will be populated with the CreateWorkspaceCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateWorkspaceCommon Request to send the API call to the service. the "output" return value is not valid until after CreateWorkspaceCommon Send returns without error.
See CreateWorkspaceCommon for more information on using the CreateWorkspaceCommon API call, and error handling.
// Example sending a request using the CreateWorkspaceCommonRequest method. req, resp := client.CreateWorkspaceCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VMP) CreateWorkspaceCommonWithContext ¶
func (c *VMP) CreateWorkspaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateWorkspaceCommonWithContext is the same as CreateWorkspaceCommon with the addition of the ability to pass a context and additional request options.
See CreateWorkspaceCommon 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 (*VMP) CreateWorkspaceRequest ¶
func (c *VMP) CreateWorkspaceRequest(input *CreateWorkspaceInput) (req *request.Request, output *CreateWorkspaceOutput)
CreateWorkspaceRequest generates a "volcengine/request.Request" representing the client's request for the CreateWorkspace operation. The "output" return value will be populated with the CreateWorkspaceCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateWorkspaceCommon Request to send the API call to the service. the "output" return value is not valid until after CreateWorkspaceCommon Send returns without error.
See CreateWorkspace for more information on using the CreateWorkspace API call, and error handling.
// Example sending a request using the CreateWorkspaceRequest method. req, resp := client.CreateWorkspaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VMP) CreateWorkspaceWithContext ¶
func (c *VMP) CreateWorkspaceWithContext(ctx volcengine.Context, input *CreateWorkspaceInput, opts ...request.Option) (*CreateWorkspaceOutput, error)
CreateWorkspaceWithContext is the same as CreateWorkspace with the addition of the ability to pass a context and additional request options.
See CreateWorkspace 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 (*VMP) DeleteWorkspace ¶
func (c *VMP) DeleteWorkspace(input *DeleteWorkspaceInput) (*DeleteWorkspaceOutput, error)
DeleteWorkspace API operation for VMP.
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 VMP's API operation DeleteWorkspace for usage and error information.
func (*VMP) DeleteWorkspaceCommon ¶
DeleteWorkspaceCommon API operation for VMP.
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 VMP's API operation DeleteWorkspaceCommon for usage and error information.
func (*VMP) DeleteWorkspaceCommonRequest ¶
func (c *VMP) DeleteWorkspaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteWorkspaceCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteWorkspaceCommon operation. The "output" return value will be populated with the DeleteWorkspaceCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteWorkspaceCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteWorkspaceCommon Send returns without error.
See DeleteWorkspaceCommon for more information on using the DeleteWorkspaceCommon API call, and error handling.
// Example sending a request using the DeleteWorkspaceCommonRequest method. req, resp := client.DeleteWorkspaceCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VMP) DeleteWorkspaceCommonWithContext ¶
func (c *VMP) DeleteWorkspaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteWorkspaceCommonWithContext is the same as DeleteWorkspaceCommon with the addition of the ability to pass a context and additional request options.
See DeleteWorkspaceCommon 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 (*VMP) DeleteWorkspaceRequest ¶
func (c *VMP) DeleteWorkspaceRequest(input *DeleteWorkspaceInput) (req *request.Request, output *DeleteWorkspaceOutput)
DeleteWorkspaceRequest generates a "volcengine/request.Request" representing the client's request for the DeleteWorkspace operation. The "output" return value will be populated with the DeleteWorkspaceCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteWorkspaceCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteWorkspaceCommon Send returns without error.
See DeleteWorkspace for more information on using the DeleteWorkspace API call, and error handling.
// Example sending a request using the DeleteWorkspaceRequest method. req, resp := client.DeleteWorkspaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VMP) DeleteWorkspaceWithContext ¶
func (c *VMP) DeleteWorkspaceWithContext(ctx volcengine.Context, input *DeleteWorkspaceInput, opts ...request.Option) (*DeleteWorkspaceOutput, error)
DeleteWorkspaceWithContext is the same as DeleteWorkspace with the addition of the ability to pass a context and additional request options.
See DeleteWorkspace 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 (*VMP) ListWorkspaceStatus ¶
func (c *VMP) ListWorkspaceStatus(input *ListWorkspaceStatusInput) (*ListWorkspaceStatusOutput, error)
ListWorkspaceStatus API operation for VMP.
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 VMP's API operation ListWorkspaceStatus for usage and error information.
func (*VMP) ListWorkspaceStatusCommon ¶
func (c *VMP) ListWorkspaceStatusCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListWorkspaceStatusCommon API operation for VMP.
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 VMP's API operation ListWorkspaceStatusCommon for usage and error information.
func (*VMP) ListWorkspaceStatusCommonRequest ¶
func (c *VMP) ListWorkspaceStatusCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListWorkspaceStatusCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListWorkspaceStatusCommon operation. The "output" return value will be populated with the ListWorkspaceStatusCommon request's response once the request completes successfully.
Use "Send" method on the returned ListWorkspaceStatusCommon Request to send the API call to the service. the "output" return value is not valid until after ListWorkspaceStatusCommon Send returns without error.
See ListWorkspaceStatusCommon for more information on using the ListWorkspaceStatusCommon API call, and error handling.
// Example sending a request using the ListWorkspaceStatusCommonRequest method. req, resp := client.ListWorkspaceStatusCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VMP) ListWorkspaceStatusCommonWithContext ¶
func (c *VMP) ListWorkspaceStatusCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListWorkspaceStatusCommonWithContext is the same as ListWorkspaceStatusCommon with the addition of the ability to pass a context and additional request options.
See ListWorkspaceStatusCommon 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 (*VMP) ListWorkspaceStatusRequest ¶
func (c *VMP) ListWorkspaceStatusRequest(input *ListWorkspaceStatusInput) (req *request.Request, output *ListWorkspaceStatusOutput)
ListWorkspaceStatusRequest generates a "volcengine/request.Request" representing the client's request for the ListWorkspaceStatus operation. The "output" return value will be populated with the ListWorkspaceStatusCommon request's response once the request completes successfully.
Use "Send" method on the returned ListWorkspaceStatusCommon Request to send the API call to the service. the "output" return value is not valid until after ListWorkspaceStatusCommon Send returns without error.
See ListWorkspaceStatus for more information on using the ListWorkspaceStatus API call, and error handling.
// Example sending a request using the ListWorkspaceStatusRequest method. req, resp := client.ListWorkspaceStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VMP) ListWorkspaceStatusWithContext ¶
func (c *VMP) ListWorkspaceStatusWithContext(ctx volcengine.Context, input *ListWorkspaceStatusInput, opts ...request.Option) (*ListWorkspaceStatusOutput, error)
ListWorkspaceStatusWithContext is the same as ListWorkspaceStatus with the addition of the ability to pass a context and additional request options.
See ListWorkspaceStatus 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 (*VMP) ListWorkspaces ¶
func (c *VMP) ListWorkspaces(input *ListWorkspacesInput) (*ListWorkspacesOutput, error)
ListWorkspaces API operation for VMP.
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 VMP's API operation ListWorkspaces for usage and error information.
func (*VMP) ListWorkspacesCommon ¶
ListWorkspacesCommon API operation for VMP.
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 VMP's API operation ListWorkspacesCommon for usage and error information.
func (*VMP) ListWorkspacesCommonRequest ¶
func (c *VMP) ListWorkspacesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListWorkspacesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListWorkspacesCommon operation. The "output" return value will be populated with the ListWorkspacesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListWorkspacesCommon Request to send the API call to the service. the "output" return value is not valid until after ListWorkspacesCommon Send returns without error.
See ListWorkspacesCommon for more information on using the ListWorkspacesCommon API call, and error handling.
// Example sending a request using the ListWorkspacesCommonRequest method. req, resp := client.ListWorkspacesCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VMP) ListWorkspacesCommonWithContext ¶
func (c *VMP) ListWorkspacesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListWorkspacesCommonWithContext is the same as ListWorkspacesCommon with the addition of the ability to pass a context and additional request options.
See ListWorkspacesCommon 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 (*VMP) ListWorkspacesRequest ¶
func (c *VMP) ListWorkspacesRequest(input *ListWorkspacesInput) (req *request.Request, output *ListWorkspacesOutput)
ListWorkspacesRequest generates a "volcengine/request.Request" representing the client's request for the ListWorkspaces operation. The "output" return value will be populated with the ListWorkspacesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListWorkspacesCommon Request to send the API call to the service. the "output" return value is not valid until after ListWorkspacesCommon Send returns without error.
See ListWorkspaces for more information on using the ListWorkspaces API call, and error handling.
// Example sending a request using the ListWorkspacesRequest method. req, resp := client.ListWorkspacesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VMP) ListWorkspacesWithContext ¶
func (c *VMP) ListWorkspacesWithContext(ctx volcengine.Context, input *ListWorkspacesInput, opts ...request.Option) (*ListWorkspacesOutput, error)
ListWorkspacesWithContext is the same as ListWorkspaces with the addition of the ability to pass a context and additional request options.
See ListWorkspaces 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 (*VMP) UpdateWorkspace ¶
func (c *VMP) UpdateWorkspace(input *UpdateWorkspaceInput) (*UpdateWorkspaceOutput, error)
UpdateWorkspace API operation for VMP.
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 VMP's API operation UpdateWorkspace for usage and error information.
func (*VMP) UpdateWorkspaceCommon ¶
UpdateWorkspaceCommon API operation for VMP.
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 VMP's API operation UpdateWorkspaceCommon for usage and error information.
func (*VMP) UpdateWorkspaceCommonRequest ¶
func (c *VMP) UpdateWorkspaceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
UpdateWorkspaceCommonRequest generates a "volcengine/request.Request" representing the client's request for the UpdateWorkspaceCommon operation. The "output" return value will be populated with the UpdateWorkspaceCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateWorkspaceCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateWorkspaceCommon Send returns without error.
See UpdateWorkspaceCommon for more information on using the UpdateWorkspaceCommon API call, and error handling.
// Example sending a request using the UpdateWorkspaceCommonRequest method. req, resp := client.UpdateWorkspaceCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VMP) UpdateWorkspaceCommonWithContext ¶
func (c *VMP) UpdateWorkspaceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
UpdateWorkspaceCommonWithContext is the same as UpdateWorkspaceCommon with the addition of the ability to pass a context and additional request options.
See UpdateWorkspaceCommon 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 (*VMP) UpdateWorkspaceRequest ¶
func (c *VMP) UpdateWorkspaceRequest(input *UpdateWorkspaceInput) (req *request.Request, output *UpdateWorkspaceOutput)
UpdateWorkspaceRequest generates a "volcengine/request.Request" representing the client's request for the UpdateWorkspace operation. The "output" return value will be populated with the UpdateWorkspaceCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateWorkspaceCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateWorkspaceCommon Send returns without error.
See UpdateWorkspace for more information on using the UpdateWorkspace API call, and error handling.
// Example sending a request using the UpdateWorkspaceRequest method. req, resp := client.UpdateWorkspaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VMP) UpdateWorkspaceWithContext ¶
func (c *VMP) UpdateWorkspaceWithContext(ctx volcengine.Context, input *UpdateWorkspaceInput, opts ...request.Option) (*UpdateWorkspaceOutput, error)
UpdateWorkspaceWithContext is the same as UpdateWorkspace with the addition of the ability to pass a context and additional request options.
See UpdateWorkspace 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 VMPAPI ¶
type VMPAPI interface { CreateWorkspaceCommon(*map[string]interface{}) (*map[string]interface{}, error) CreateWorkspaceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) CreateWorkspaceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) CreateWorkspace(*CreateWorkspaceInput) (*CreateWorkspaceOutput, error) CreateWorkspaceWithContext(volcengine.Context, *CreateWorkspaceInput, ...request.Option) (*CreateWorkspaceOutput, error) CreateWorkspaceRequest(*CreateWorkspaceInput) (*request.Request, *CreateWorkspaceOutput) DeleteWorkspaceCommon(*map[string]interface{}) (*map[string]interface{}, error) DeleteWorkspaceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DeleteWorkspaceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DeleteWorkspace(*DeleteWorkspaceInput) (*DeleteWorkspaceOutput, error) DeleteWorkspaceWithContext(volcengine.Context, *DeleteWorkspaceInput, ...request.Option) (*DeleteWorkspaceOutput, error) DeleteWorkspaceRequest(*DeleteWorkspaceInput) (*request.Request, *DeleteWorkspaceOutput) ListWorkspaceStatusCommon(*map[string]interface{}) (*map[string]interface{}, error) ListWorkspaceStatusCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ListWorkspaceStatusCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ListWorkspaceStatus(*ListWorkspaceStatusInput) (*ListWorkspaceStatusOutput, error) ListWorkspaceStatusWithContext(volcengine.Context, *ListWorkspaceStatusInput, ...request.Option) (*ListWorkspaceStatusOutput, error) ListWorkspaceStatusRequest(*ListWorkspaceStatusInput) (*request.Request, *ListWorkspaceStatusOutput) ListWorkspacesCommon(*map[string]interface{}) (*map[string]interface{}, error) ListWorkspacesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ListWorkspacesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ListWorkspaces(*ListWorkspacesInput) (*ListWorkspacesOutput, error) ListWorkspacesWithContext(volcengine.Context, *ListWorkspacesInput, ...request.Option) (*ListWorkspacesOutput, error) ListWorkspacesRequest(*ListWorkspacesInput) (*request.Request, *ListWorkspacesOutput) UpdateWorkspaceCommon(*map[string]interface{}) (*map[string]interface{}, error) UpdateWorkspaceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) UpdateWorkspaceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) UpdateWorkspace(*UpdateWorkspaceInput) (*UpdateWorkspaceOutput, error) UpdateWorkspaceWithContext(volcengine.Context, *UpdateWorkspaceInput, ...request.Option) (*UpdateWorkspaceOutput, error) UpdateWorkspaceRequest(*UpdateWorkspaceInput) (*request.Request, *UpdateWorkspaceOutput) }
VMPAPI provides an interface to enable mocking the vmp.VMP service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to // VMP. func myFunc(svc VMPAPI) bool { // Make svc.CreateWorkspace request } func main() { sess := session.New() svc := vmp.New(sess) myFunc(svc) }