Documentation
¶
Overview ¶
Package wtniface provides an interface to enable mocking the WTN 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 AppListForListAppsOutput
- func (s AppListForListAppsOutput) GoString() string
- func (s *AppListForListAppsOutput) SetAppId(v string) *AppListForListAppsOutput
- func (s *AppListForListAppsOutput) SetAppKey(v string) *AppListForListAppsOutput
- func (s *AppListForListAppsOutput) SetAppName(v string) *AppListForListAppsOutput
- func (s *AppListForListAppsOutput) SetCreateAt(v string) *AppListForListAppsOutput
- func (s *AppListForListAppsOutput) SetSecondaryAppKey(v string) *AppListForListAppsOutput
- func (s *AppListForListAppsOutput) SetStatus(v string) *AppListForListAppsOutput
- func (s AppListForListAppsOutput) String() string
- type AppListForListAppsV3Output
- func (s AppListForListAppsV3Output) GoString() string
- func (s *AppListForListAppsV3Output) SetAppId(v string) *AppListForListAppsV3Output
- func (s *AppListForListAppsV3Output) SetAppKey(v string) *AppListForListAppsV3Output
- func (s *AppListForListAppsV3Output) SetAppName(v string) *AppListForListAppsV3Output
- func (s *AppListForListAppsV3Output) SetCreateAt(v string) *AppListForListAppsV3Output
- func (s *AppListForListAppsV3Output) SetSecondaryAppKey(v string) *AppListForListAppsV3Output
- func (s *AppListForListAppsV3Output) SetStatus(v string) *AppListForListAppsV3Output
- func (s AppListForListAppsV3Output) String() string
- type DataForListRealTimePublicStreamInfoOutput
- func (s DataForListRealTimePublicStreamInfoOutput) GoString() string
- func (s *DataForListRealTimePublicStreamInfoOutput) SetStreamId(v string) *DataForListRealTimePublicStreamInfoOutput
- func (s *DataForListRealTimePublicStreamInfoOutput) SetTimeStamp(v string) *DataForListRealTimePublicStreamInfoOutput
- func (s *DataForListRealTimePublicStreamInfoOutput) SetValue(v float64) *DataForListRealTimePublicStreamInfoOutput
- func (s DataForListRealTimePublicStreamInfoOutput) String() string
- type IndicatorForListRealTimePublicStreamInfoOutput
- func (s IndicatorForListRealTimePublicStreamInfoOutput) GoString() string
- func (s *IndicatorForListRealTimePublicStreamInfoOutput) SetData(v []*DataForListRealTimePublicStreamInfoOutput) *IndicatorForListRealTimePublicStreamInfoOutput
- func (s *IndicatorForListRealTimePublicStreamInfoOutput) SetName(v string) *IndicatorForListRealTimePublicStreamInfoOutput
- func (s *IndicatorForListRealTimePublicStreamInfoOutput) SetOverview(v *OverviewForListRealTimePublicStreamInfoOutput) *IndicatorForListRealTimePublicStreamInfoOutput
- func (s *IndicatorForListRealTimePublicStreamInfoOutput) SetUnit(v string) *IndicatorForListRealTimePublicStreamInfoOutput
- func (s IndicatorForListRealTimePublicStreamInfoOutput) String() string
- type ListAppsInput
- func (s ListAppsInput) GoString() string
- func (s *ListAppsInput) SetAppId(v string) *ListAppsInput
- func (s *ListAppsInput) SetLimit(v string) *ListAppsInput
- func (s *ListAppsInput) SetOffset(v string) *ListAppsInput
- func (s *ListAppsInput) SetProjectName(v string) *ListAppsInput
- func (s *ListAppsInput) SetReverse(v string) *ListAppsInput
- func (s ListAppsInput) String() string
- type ListAppsOutput
- func (s ListAppsOutput) GoString() string
- func (s *ListAppsOutput) SetAppList(v []*AppListForListAppsOutput) *ListAppsOutput
- func (s *ListAppsOutput) SetLimit(v int32) *ListAppsOutput
- func (s *ListAppsOutput) SetOffset(v int32) *ListAppsOutput
- func (s *ListAppsOutput) SetTotal(v int32) *ListAppsOutput
- func (s ListAppsOutput) String() string
- type ListAppsV3Input
- func (s ListAppsV3Input) GoString() string
- func (s *ListAppsV3Input) SetAppId(v string) *ListAppsV3Input
- func (s *ListAppsV3Input) SetLimit(v int32) *ListAppsV3Input
- func (s *ListAppsV3Input) SetOffset(v int32) *ListAppsV3Input
- func (s *ListAppsV3Input) SetProjectName(v string) *ListAppsV3Input
- func (s *ListAppsV3Input) SetReverse(v int32) *ListAppsV3Input
- func (s *ListAppsV3Input) SetTagFilters(v []*TagFilterForListAppsV3Input) *ListAppsV3Input
- func (s ListAppsV3Input) String() string
- type ListAppsV3Output
- func (s ListAppsV3Output) GoString() string
- func (s *ListAppsV3Output) SetAppList(v []*AppListForListAppsV3Output) *ListAppsV3Output
- func (s *ListAppsV3Output) SetLimit(v int32) *ListAppsV3Output
- func (s *ListAppsV3Output) SetOffset(v int32) *ListAppsV3Output
- func (s *ListAppsV3Output) SetTotal(v int32) *ListAppsV3Output
- func (s ListAppsV3Output) String() string
- type ListRealTimePublicStreamInfoInput
- func (s ListRealTimePublicStreamInfoInput) GoString() string
- func (s *ListRealTimePublicStreamInfoInput) SetAppId(v string) *ListRealTimePublicStreamInfoInput
- func (s *ListRealTimePublicStreamInfoInput) SetEndTime(v string) *ListRealTimePublicStreamInfoInput
- func (s *ListRealTimePublicStreamInfoInput) SetIndicator(v []*string) *ListRealTimePublicStreamInfoInput
- func (s *ListRealTimePublicStreamInfoInput) SetStartTime(v string) *ListRealTimePublicStreamInfoInput
- func (s *ListRealTimePublicStreamInfoInput) SetStreamId(v string) *ListRealTimePublicStreamInfoInput
- func (s ListRealTimePublicStreamInfoInput) String() string
- func (s *ListRealTimePublicStreamInfoInput) Validate() error
- type ListRealTimePublicStreamInfoOutput
- type OverviewForListRealTimePublicStreamInfoOutput
- func (s OverviewForListRealTimePublicStreamInfoOutput) GoString() string
- func (s *OverviewForListRealTimePublicStreamInfoOutput) SetAlias(v string) *OverviewForListRealTimePublicStreamInfoOutput
- func (s *OverviewForListRealTimePublicStreamInfoOutput) SetExtraInfo(v string) *OverviewForListRealTimePublicStreamInfoOutput
- func (s *OverviewForListRealTimePublicStreamInfoOutput) SetHoverInfo(v string) *OverviewForListRealTimePublicStreamInfoOutput
- func (s *OverviewForListRealTimePublicStreamInfoOutput) SetMaxValue(v string) *OverviewForListRealTimePublicStreamInfoOutput
- func (s *OverviewForListRealTimePublicStreamInfoOutput) SetMinValue(v string) *OverviewForListRealTimePublicStreamInfoOutput
- func (s *OverviewForListRealTimePublicStreamInfoOutput) SetName(v string) *OverviewForListRealTimePublicStreamInfoOutput
- func (s *OverviewForListRealTimePublicStreamInfoOutput) SetUnit(v string) *OverviewForListRealTimePublicStreamInfoOutput
- func (s *OverviewForListRealTimePublicStreamInfoOutput) SetValue(v string) *OverviewForListRealTimePublicStreamInfoOutput
- func (s OverviewForListRealTimePublicStreamInfoOutput) String() string
- type TagFilterForListAppsV3Input
- type WTN
- func (c *WTN) ListApps(input *ListAppsInput) (*ListAppsOutput, error)
- func (c *WTN) ListAppsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *WTN) ListAppsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *WTN) ListAppsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *WTN) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput)
- func (c *WTN) ListAppsV3(input *ListAppsV3Input) (*ListAppsV3Output, error)
- func (c *WTN) ListAppsV3Common(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *WTN) ListAppsV3CommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *WTN) ListAppsV3CommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *WTN) ListAppsV3Request(input *ListAppsV3Input) (req *request.Request, output *ListAppsV3Output)
- func (c *WTN) ListAppsV3WithContext(ctx volcengine.Context, input *ListAppsV3Input, opts ...request.Option) (*ListAppsV3Output, error)
- func (c *WTN) ListAppsWithContext(ctx volcengine.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error)
- func (c *WTN) ListRealTimePublicStreamInfo(input *ListRealTimePublicStreamInfoInput) (*ListRealTimePublicStreamInfoOutput, error)
- func (c *WTN) ListRealTimePublicStreamInfoCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *WTN) ListRealTimePublicStreamInfoCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *WTN) ListRealTimePublicStreamInfoCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *WTN) ListRealTimePublicStreamInfoRequest(input *ListRealTimePublicStreamInfoInput) (req *request.Request, output *ListRealTimePublicStreamInfoOutput)
- func (c *WTN) ListRealTimePublicStreamInfoWithContext(ctx volcengine.Context, input *ListRealTimePublicStreamInfoInput, ...) (*ListRealTimePublicStreamInfoOutput, error)
- type WTNAPI
Constants ¶
const ( ServiceName = "wtn" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "wtn" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppListForListAppsOutput ¶
type AppListForListAppsOutput struct {
AppId *string `type:"string"`
AppKey *string `type:"string"`
AppName *string `type:"string"`
CreateAt *string `type:"string"`
SecondaryAppKey *string `type:"string"`
Status *string `type:"string"`
// contains filtered or unexported fields
}
func (AppListForListAppsOutput) GoString ¶
func (s AppListForListAppsOutput) GoString() string
GoString returns the string representation
func (*AppListForListAppsOutput) SetAppId ¶
func (s *AppListForListAppsOutput) SetAppId(v string) *AppListForListAppsOutput
SetAppId sets the AppId field's value.
func (*AppListForListAppsOutput) SetAppKey ¶
func (s *AppListForListAppsOutput) SetAppKey(v string) *AppListForListAppsOutput
SetAppKey sets the AppKey field's value.
func (*AppListForListAppsOutput) SetAppName ¶
func (s *AppListForListAppsOutput) SetAppName(v string) *AppListForListAppsOutput
SetAppName sets the AppName field's value.
func (*AppListForListAppsOutput) SetCreateAt ¶
func (s *AppListForListAppsOutput) SetCreateAt(v string) *AppListForListAppsOutput
SetCreateAt sets the CreateAt field's value.
func (*AppListForListAppsOutput) SetSecondaryAppKey ¶
func (s *AppListForListAppsOutput) SetSecondaryAppKey(v string) *AppListForListAppsOutput
SetSecondaryAppKey sets the SecondaryAppKey field's value.
func (*AppListForListAppsOutput) SetStatus ¶
func (s *AppListForListAppsOutput) SetStatus(v string) *AppListForListAppsOutput
SetStatus sets the Status field's value.
func (AppListForListAppsOutput) String ¶
func (s AppListForListAppsOutput) String() string
String returns the string representation
type AppListForListAppsV3Output ¶
type AppListForListAppsV3Output struct {
AppId *string `type:"string" json:",omitempty"`
AppKey *string `type:"string" json:",omitempty"`
AppName *string `type:"string" json:",omitempty"`
CreateAt *string `type:"string" json:",omitempty"`
SecondaryAppKey *string `type:"string" json:",omitempty"`
Status *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (AppListForListAppsV3Output) GoString ¶
func (s AppListForListAppsV3Output) GoString() string
GoString returns the string representation
func (*AppListForListAppsV3Output) SetAppId ¶
func (s *AppListForListAppsV3Output) SetAppId(v string) *AppListForListAppsV3Output
SetAppId sets the AppId field's value.
func (*AppListForListAppsV3Output) SetAppKey ¶
func (s *AppListForListAppsV3Output) SetAppKey(v string) *AppListForListAppsV3Output
SetAppKey sets the AppKey field's value.
func (*AppListForListAppsV3Output) SetAppName ¶
func (s *AppListForListAppsV3Output) SetAppName(v string) *AppListForListAppsV3Output
SetAppName sets the AppName field's value.
func (*AppListForListAppsV3Output) SetCreateAt ¶
func (s *AppListForListAppsV3Output) SetCreateAt(v string) *AppListForListAppsV3Output
SetCreateAt sets the CreateAt field's value.
func (*AppListForListAppsV3Output) SetSecondaryAppKey ¶
func (s *AppListForListAppsV3Output) SetSecondaryAppKey(v string) *AppListForListAppsV3Output
SetSecondaryAppKey sets the SecondaryAppKey field's value.
func (*AppListForListAppsV3Output) SetStatus ¶
func (s *AppListForListAppsV3Output) SetStatus(v string) *AppListForListAppsV3Output
SetStatus sets the Status field's value.
func (AppListForListAppsV3Output) String ¶
func (s AppListForListAppsV3Output) String() string
String returns the string representation
type DataForListRealTimePublicStreamInfoOutput ¶
type DataForListRealTimePublicStreamInfoOutput struct {
StreamId *string `type:"string" json:",omitempty"`
TimeStamp *string `type:"string" json:",omitempty"`
Value *float64 `type:"double" json:",omitempty"`
// contains filtered or unexported fields
}
func (DataForListRealTimePublicStreamInfoOutput) GoString ¶
func (s DataForListRealTimePublicStreamInfoOutput) GoString() string
GoString returns the string representation
func (*DataForListRealTimePublicStreamInfoOutput) SetStreamId ¶
func (s *DataForListRealTimePublicStreamInfoOutput) SetStreamId(v string) *DataForListRealTimePublicStreamInfoOutput
SetStreamId sets the StreamId field's value.
func (*DataForListRealTimePublicStreamInfoOutput) SetTimeStamp ¶
func (s *DataForListRealTimePublicStreamInfoOutput) SetTimeStamp(v string) *DataForListRealTimePublicStreamInfoOutput
SetTimeStamp sets the TimeStamp field's value.
func (*DataForListRealTimePublicStreamInfoOutput) SetValue ¶
func (s *DataForListRealTimePublicStreamInfoOutput) SetValue(v float64) *DataForListRealTimePublicStreamInfoOutput
SetValue sets the Value field's value.
func (DataForListRealTimePublicStreamInfoOutput) String ¶
func (s DataForListRealTimePublicStreamInfoOutput) String() string
String returns the string representation
type IndicatorForListRealTimePublicStreamInfoOutput ¶
type IndicatorForListRealTimePublicStreamInfoOutput struct {
Data []*DataForListRealTimePublicStreamInfoOutput `type:"list" json:",omitempty"`
Name *string `type:"string" json:",omitempty"`
Overview *OverviewForListRealTimePublicStreamInfoOutput `type:"structure" json:"overview,omitempty"`
Unit *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (IndicatorForListRealTimePublicStreamInfoOutput) GoString ¶
func (s IndicatorForListRealTimePublicStreamInfoOutput) GoString() string
GoString returns the string representation
func (*IndicatorForListRealTimePublicStreamInfoOutput) SetData ¶
func (s *IndicatorForListRealTimePublicStreamInfoOutput) SetData(v []*DataForListRealTimePublicStreamInfoOutput) *IndicatorForListRealTimePublicStreamInfoOutput
SetData sets the Data field's value.
func (*IndicatorForListRealTimePublicStreamInfoOutput) SetName ¶
func (s *IndicatorForListRealTimePublicStreamInfoOutput) SetName(v string) *IndicatorForListRealTimePublicStreamInfoOutput
SetName sets the Name field's value.
func (*IndicatorForListRealTimePublicStreamInfoOutput) SetOverview ¶
func (s *IndicatorForListRealTimePublicStreamInfoOutput) SetOverview(v *OverviewForListRealTimePublicStreamInfoOutput) *IndicatorForListRealTimePublicStreamInfoOutput
SetOverview sets the Overview field's value.
func (*IndicatorForListRealTimePublicStreamInfoOutput) SetUnit ¶
func (s *IndicatorForListRealTimePublicStreamInfoOutput) SetUnit(v string) *IndicatorForListRealTimePublicStreamInfoOutput
SetUnit sets the Unit field's value.
func (IndicatorForListRealTimePublicStreamInfoOutput) String ¶
func (s IndicatorForListRealTimePublicStreamInfoOutput) String() string
String returns the string representation
type ListAppsInput ¶
type ListAppsInput struct {
AppId *string `type:"string"`
Limit *string `type:"string"`
Offset *string `type:"string"`
ProjectName *string `type:"string"`
Reverse *string `type:"string"`
// contains filtered or unexported fields
}
func (ListAppsInput) GoString ¶
func (s ListAppsInput) GoString() string
GoString returns the string representation
func (*ListAppsInput) SetAppId ¶
func (s *ListAppsInput) SetAppId(v string) *ListAppsInput
SetAppId sets the AppId field's value.
func (*ListAppsInput) SetLimit ¶
func (s *ListAppsInput) SetLimit(v string) *ListAppsInput
SetLimit sets the Limit field's value.
func (*ListAppsInput) SetOffset ¶
func (s *ListAppsInput) SetOffset(v string) *ListAppsInput
SetOffset sets the Offset field's value.
func (*ListAppsInput) SetProjectName ¶
func (s *ListAppsInput) SetProjectName(v string) *ListAppsInput
SetProjectName sets the ProjectName field's value.
func (*ListAppsInput) SetReverse ¶
func (s *ListAppsInput) SetReverse(v string) *ListAppsInput
SetReverse sets the Reverse field's value.
func (ListAppsInput) String ¶
func (s ListAppsInput) String() string
String returns the string representation
type ListAppsOutput ¶
type ListAppsOutput struct {
Metadata *response.ResponseMetadata
AppList []*AppListForListAppsOutput `type:"list"`
Limit *int32 `type:"int32"`
Offset *int32 `type:"int32"`
Total *int32 `type:"int32"`
// contains filtered or unexported fields
}
func (ListAppsOutput) GoString ¶
func (s ListAppsOutput) GoString() string
GoString returns the string representation
func (*ListAppsOutput) SetAppList ¶
func (s *ListAppsOutput) SetAppList(v []*AppListForListAppsOutput) *ListAppsOutput
SetAppList sets the AppList field's value.
func (*ListAppsOutput) SetLimit ¶
func (s *ListAppsOutput) SetLimit(v int32) *ListAppsOutput
SetLimit sets the Limit field's value.
func (*ListAppsOutput) SetOffset ¶
func (s *ListAppsOutput) SetOffset(v int32) *ListAppsOutput
SetOffset sets the Offset field's value.
func (*ListAppsOutput) SetTotal ¶
func (s *ListAppsOutput) SetTotal(v int32) *ListAppsOutput
SetTotal sets the Total field's value.
func (ListAppsOutput) String ¶
func (s ListAppsOutput) String() string
String returns the string representation
type ListAppsV3Input ¶
type ListAppsV3Input struct {
AppId *string `type:"string" json:",omitempty"`
Limit *int32 `type:"int32" json:",omitempty"`
Offset *int32 `type:"int32" json:",omitempty"`
ProjectName *string `type:"string" json:",omitempty"`
Reverse *int32 `type:"int32" json:",omitempty"`
TagFilters []*TagFilterForListAppsV3Input `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListAppsV3Input) GoString ¶
func (s ListAppsV3Input) GoString() string
GoString returns the string representation
func (*ListAppsV3Input) SetAppId ¶
func (s *ListAppsV3Input) SetAppId(v string) *ListAppsV3Input
SetAppId sets the AppId field's value.
func (*ListAppsV3Input) SetLimit ¶
func (s *ListAppsV3Input) SetLimit(v int32) *ListAppsV3Input
SetLimit sets the Limit field's value.
func (*ListAppsV3Input) SetOffset ¶
func (s *ListAppsV3Input) SetOffset(v int32) *ListAppsV3Input
SetOffset sets the Offset field's value.
func (*ListAppsV3Input) SetProjectName ¶
func (s *ListAppsV3Input) SetProjectName(v string) *ListAppsV3Input
SetProjectName sets the ProjectName field's value.
func (*ListAppsV3Input) SetReverse ¶
func (s *ListAppsV3Input) SetReverse(v int32) *ListAppsV3Input
SetReverse sets the Reverse field's value.
func (*ListAppsV3Input) SetTagFilters ¶
func (s *ListAppsV3Input) SetTagFilters(v []*TagFilterForListAppsV3Input) *ListAppsV3Input
SetTagFilters sets the TagFilters field's value.
func (ListAppsV3Input) String ¶
func (s ListAppsV3Input) String() string
String returns the string representation
type ListAppsV3Output ¶
type ListAppsV3Output struct {
Metadata *response.ResponseMetadata
AppList []*AppListForListAppsV3Output `type:"list" json:",omitempty"`
Limit *int32 `type:"int32" json:",omitempty"`
Offset *int32 `type:"int32" json:",omitempty"`
Total *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListAppsV3Output) GoString ¶
func (s ListAppsV3Output) GoString() string
GoString returns the string representation
func (*ListAppsV3Output) SetAppList ¶
func (s *ListAppsV3Output) SetAppList(v []*AppListForListAppsV3Output) *ListAppsV3Output
SetAppList sets the AppList field's value.
func (*ListAppsV3Output) SetLimit ¶
func (s *ListAppsV3Output) SetLimit(v int32) *ListAppsV3Output
SetLimit sets the Limit field's value.
func (*ListAppsV3Output) SetOffset ¶
func (s *ListAppsV3Output) SetOffset(v int32) *ListAppsV3Output
SetOffset sets the Offset field's value.
func (*ListAppsV3Output) SetTotal ¶
func (s *ListAppsV3Output) SetTotal(v int32) *ListAppsV3Output
SetTotal sets the Total field's value.
func (ListAppsV3Output) String ¶
func (s ListAppsV3Output) String() string
String returns the string representation
type ListRealTimePublicStreamInfoInput ¶
type ListRealTimePublicStreamInfoInput struct {
// AppId is a required field
AppId *string `type:"string" json:",omitempty" required:"true"`
// EndTime is a required field
EndTime *string `type:"string" json:",omitempty" required:"true"`
Indicator []*string `type:"list" json:",omitempty"`
// StartTime is a required field
StartTime *string `type:"string" json:",omitempty" required:"true"`
StreamId *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListRealTimePublicStreamInfoInput) GoString ¶
func (s ListRealTimePublicStreamInfoInput) GoString() string
GoString returns the string representation
func (*ListRealTimePublicStreamInfoInput) SetAppId ¶
func (s *ListRealTimePublicStreamInfoInput) SetAppId(v string) *ListRealTimePublicStreamInfoInput
SetAppId sets the AppId field's value.
func (*ListRealTimePublicStreamInfoInput) SetEndTime ¶
func (s *ListRealTimePublicStreamInfoInput) SetEndTime(v string) *ListRealTimePublicStreamInfoInput
SetEndTime sets the EndTime field's value.
func (*ListRealTimePublicStreamInfoInput) SetIndicator ¶
func (s *ListRealTimePublicStreamInfoInput) SetIndicator(v []*string) *ListRealTimePublicStreamInfoInput
SetIndicator sets the Indicator field's value.
func (*ListRealTimePublicStreamInfoInput) SetStartTime ¶
func (s *ListRealTimePublicStreamInfoInput) SetStartTime(v string) *ListRealTimePublicStreamInfoInput
SetStartTime sets the StartTime field's value.
func (*ListRealTimePublicStreamInfoInput) SetStreamId ¶
func (s *ListRealTimePublicStreamInfoInput) SetStreamId(v string) *ListRealTimePublicStreamInfoInput
SetStreamId sets the StreamId field's value.
func (ListRealTimePublicStreamInfoInput) String ¶
func (s ListRealTimePublicStreamInfoInput) String() string
String returns the string representation
func (*ListRealTimePublicStreamInfoInput) Validate ¶
func (s *ListRealTimePublicStreamInfoInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRealTimePublicStreamInfoOutput ¶
type ListRealTimePublicStreamInfoOutput struct {
Metadata *response.ResponseMetadata
Indicators []*IndicatorForListRealTimePublicStreamInfoOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListRealTimePublicStreamInfoOutput) GoString ¶
func (s ListRealTimePublicStreamInfoOutput) GoString() string
GoString returns the string representation
func (*ListRealTimePublicStreamInfoOutput) SetIndicators ¶
func (s *ListRealTimePublicStreamInfoOutput) SetIndicators(v []*IndicatorForListRealTimePublicStreamInfoOutput) *ListRealTimePublicStreamInfoOutput
SetIndicators sets the Indicators field's value.
func (ListRealTimePublicStreamInfoOutput) String ¶
func (s ListRealTimePublicStreamInfoOutput) String() string
String returns the string representation
type OverviewForListRealTimePublicStreamInfoOutput ¶
type OverviewForListRealTimePublicStreamInfoOutput struct {
Alias *string `type:"string" json:",omitempty"`
ExtraInfo *string `type:"string" json:",omitempty"`
HoverInfo *string `type:"string" json:",omitempty"`
MaxValue *string `type:"string" json:",omitempty"`
MinValue *string `type:"string" json:",omitempty"`
Name *string `type:"string" json:",omitempty"`
Unit *string `type:"string" json:",omitempty"`
Value *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (OverviewForListRealTimePublicStreamInfoOutput) GoString ¶
func (s OverviewForListRealTimePublicStreamInfoOutput) GoString() string
GoString returns the string representation
func (*OverviewForListRealTimePublicStreamInfoOutput) SetAlias ¶
func (s *OverviewForListRealTimePublicStreamInfoOutput) SetAlias(v string) *OverviewForListRealTimePublicStreamInfoOutput
SetAlias sets the Alias field's value.
func (*OverviewForListRealTimePublicStreamInfoOutput) SetExtraInfo ¶
func (s *OverviewForListRealTimePublicStreamInfoOutput) SetExtraInfo(v string) *OverviewForListRealTimePublicStreamInfoOutput
SetExtraInfo sets the ExtraInfo field's value.
func (*OverviewForListRealTimePublicStreamInfoOutput) SetHoverInfo ¶
func (s *OverviewForListRealTimePublicStreamInfoOutput) SetHoverInfo(v string) *OverviewForListRealTimePublicStreamInfoOutput
SetHoverInfo sets the HoverInfo field's value.
func (*OverviewForListRealTimePublicStreamInfoOutput) SetMaxValue ¶
func (s *OverviewForListRealTimePublicStreamInfoOutput) SetMaxValue(v string) *OverviewForListRealTimePublicStreamInfoOutput
SetMaxValue sets the MaxValue field's value.
func (*OverviewForListRealTimePublicStreamInfoOutput) SetMinValue ¶
func (s *OverviewForListRealTimePublicStreamInfoOutput) SetMinValue(v string) *OverviewForListRealTimePublicStreamInfoOutput
SetMinValue sets the MinValue field's value.
func (*OverviewForListRealTimePublicStreamInfoOutput) SetName ¶
func (s *OverviewForListRealTimePublicStreamInfoOutput) SetName(v string) *OverviewForListRealTimePublicStreamInfoOutput
SetName sets the Name field's value.
func (*OverviewForListRealTimePublicStreamInfoOutput) SetUnit ¶
func (s *OverviewForListRealTimePublicStreamInfoOutput) SetUnit(v string) *OverviewForListRealTimePublicStreamInfoOutput
SetUnit sets the Unit field's value.
func (*OverviewForListRealTimePublicStreamInfoOutput) SetValue ¶
func (s *OverviewForListRealTimePublicStreamInfoOutput) SetValue(v string) *OverviewForListRealTimePublicStreamInfoOutput
SetValue sets the Value field's value.
func (OverviewForListRealTimePublicStreamInfoOutput) String ¶
func (s OverviewForListRealTimePublicStreamInfoOutput) String() string
String returns the string representation
type TagFilterForListAppsV3Input ¶
type TagFilterForListAppsV3Input struct {
Key *string `type:"string" json:",omitempty"`
Values []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (TagFilterForListAppsV3Input) GoString ¶
func (s TagFilterForListAppsV3Input) GoString() string
GoString returns the string representation
func (*TagFilterForListAppsV3Input) SetKey ¶
func (s *TagFilterForListAppsV3Input) SetKey(v string) *TagFilterForListAppsV3Input
SetKey sets the Key field's value.
func (*TagFilterForListAppsV3Input) SetValues ¶
func (s *TagFilterForListAppsV3Input) SetValues(v []*string) *TagFilterForListAppsV3Input
SetValues sets the Values field's value.
func (TagFilterForListAppsV3Input) String ¶
func (s TagFilterForListAppsV3Input) String() string
String returns the string representation
type WTN ¶
WTN provides the API operation methods for making requests to WTN. See this package's package overview docs for details on the service.
WTN 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) *WTN
New create int can support ssl or region locate set
func (*WTN) ListApps ¶
func (c *WTN) ListApps(input *ListAppsInput) (*ListAppsOutput, error)
ListApps API operation for WTN.
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 WTN's API operation ListApps for usage and error information.
func (*WTN) ListAppsCommon ¶
ListAppsCommon API operation for WTN.
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 WTN's API operation ListAppsCommon for usage and error information.
func (*WTN) ListAppsCommonRequest ¶
func (c *WTN) ListAppsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListAppsCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListAppsCommon operation. The "output" return value will be populated with the ListAppsCommon request's response once the request completes successfully.
Use "Send" method on the returned ListAppsCommon Request to send the API call to the service. the "output" return value is not valid until after ListAppsCommon Send returns without error.
See ListAppsCommon for more information on using the ListAppsCommon API call, and error handling.
// Example sending a request using the ListAppsCommonRequest method.
req, resp := client.ListAppsCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*WTN) ListAppsCommonWithContext ¶
func (c *WTN) ListAppsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListAppsCommonWithContext is the same as ListAppsCommon with the addition of the ability to pass a context and additional request options.
See ListAppsCommon 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 (*WTN) ListAppsRequest ¶
func (c *WTN) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput)
ListAppsRequest generates a "volcengine/request.Request" representing the client's request for the ListApps operation. The "output" return value will be populated with the ListAppsCommon request's response once the request completes successfully.
Use "Send" method on the returned ListAppsCommon Request to send the API call to the service. the "output" return value is not valid until after ListAppsCommon Send returns without error.
See ListApps for more information on using the ListApps API call, and error handling.
// Example sending a request using the ListAppsRequest method.
req, resp := client.ListAppsRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*WTN) ListAppsV3 ¶
func (c *WTN) ListAppsV3(input *ListAppsV3Input) (*ListAppsV3Output, error)
ListAppsV3 API operation for WTN.
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 WTN's API operation ListAppsV3 for usage and error information.
func (*WTN) ListAppsV3Common ¶
ListAppsV3Common API operation for WTN.
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 WTN's API operation ListAppsV3Common for usage and error information.
func (*WTN) ListAppsV3CommonRequest ¶
func (c *WTN) ListAppsV3CommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListAppsV3CommonRequest generates a "volcengine/request.Request" representing the client's request for the ListAppsV3Common operation. The "output" return value will be populated with the ListAppsV3Common request's response once the request completes successfully.
Use "Send" method on the returned ListAppsV3Common Request to send the API call to the service. the "output" return value is not valid until after ListAppsV3Common Send returns without error.
See ListAppsV3Common for more information on using the ListAppsV3Common API call, and error handling.
// Example sending a request using the ListAppsV3CommonRequest method.
req, resp := client.ListAppsV3CommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*WTN) ListAppsV3CommonWithContext ¶
func (c *WTN) ListAppsV3CommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListAppsV3CommonWithContext is the same as ListAppsV3Common with the addition of the ability to pass a context and additional request options.
See ListAppsV3Common 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 (*WTN) ListAppsV3Request ¶
func (c *WTN) ListAppsV3Request(input *ListAppsV3Input) (req *request.Request, output *ListAppsV3Output)
ListAppsV3Request generates a "volcengine/request.Request" representing the client's request for the ListAppsV3 operation. The "output" return value will be populated with the ListAppsV3Common request's response once the request completes successfully.
Use "Send" method on the returned ListAppsV3Common Request to send the API call to the service. the "output" return value is not valid until after ListAppsV3Common Send returns without error.
See ListAppsV3 for more information on using the ListAppsV3 API call, and error handling.
// Example sending a request using the ListAppsV3Request method.
req, resp := client.ListAppsV3Request(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*WTN) ListAppsV3WithContext ¶
func (c *WTN) ListAppsV3WithContext(ctx volcengine.Context, input *ListAppsV3Input, opts ...request.Option) (*ListAppsV3Output, error)
ListAppsV3WithContext is the same as ListAppsV3 with the addition of the ability to pass a context and additional request options.
See ListAppsV3 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 (*WTN) ListAppsWithContext ¶
func (c *WTN) ListAppsWithContext(ctx volcengine.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error)
ListAppsWithContext is the same as ListApps with the addition of the ability to pass a context and additional request options.
See ListApps 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 (*WTN) ListRealTimePublicStreamInfo ¶
func (c *WTN) ListRealTimePublicStreamInfo(input *ListRealTimePublicStreamInfoInput) (*ListRealTimePublicStreamInfoOutput, error)
ListRealTimePublicStreamInfo API operation for WTN.
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 WTN's API operation ListRealTimePublicStreamInfo for usage and error information.
func (*WTN) ListRealTimePublicStreamInfoCommon ¶
func (c *WTN) ListRealTimePublicStreamInfoCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListRealTimePublicStreamInfoCommon API operation for WTN.
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 WTN's API operation ListRealTimePublicStreamInfoCommon for usage and error information.
func (*WTN) ListRealTimePublicStreamInfoCommonRequest ¶
func (c *WTN) ListRealTimePublicStreamInfoCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListRealTimePublicStreamInfoCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListRealTimePublicStreamInfoCommon operation. The "output" return value will be populated with the ListRealTimePublicStreamInfoCommon request's response once the request completes successfully.
Use "Send" method on the returned ListRealTimePublicStreamInfoCommon Request to send the API call to the service. the "output" return value is not valid until after ListRealTimePublicStreamInfoCommon Send returns without error.
See ListRealTimePublicStreamInfoCommon for more information on using the ListRealTimePublicStreamInfoCommon API call, and error handling.
// Example sending a request using the ListRealTimePublicStreamInfoCommonRequest method.
req, resp := client.ListRealTimePublicStreamInfoCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*WTN) ListRealTimePublicStreamInfoCommonWithContext ¶
func (c *WTN) ListRealTimePublicStreamInfoCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListRealTimePublicStreamInfoCommonWithContext is the same as ListRealTimePublicStreamInfoCommon with the addition of the ability to pass a context and additional request options.
See ListRealTimePublicStreamInfoCommon 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 (*WTN) ListRealTimePublicStreamInfoRequest ¶
func (c *WTN) ListRealTimePublicStreamInfoRequest(input *ListRealTimePublicStreamInfoInput) (req *request.Request, output *ListRealTimePublicStreamInfoOutput)
ListRealTimePublicStreamInfoRequest generates a "volcengine/request.Request" representing the client's request for the ListRealTimePublicStreamInfo operation. The "output" return value will be populated with the ListRealTimePublicStreamInfoCommon request's response once the request completes successfully.
Use "Send" method on the returned ListRealTimePublicStreamInfoCommon Request to send the API call to the service. the "output" return value is not valid until after ListRealTimePublicStreamInfoCommon Send returns without error.
See ListRealTimePublicStreamInfo for more information on using the ListRealTimePublicStreamInfo API call, and error handling.
// Example sending a request using the ListRealTimePublicStreamInfoRequest method.
req, resp := client.ListRealTimePublicStreamInfoRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*WTN) ListRealTimePublicStreamInfoWithContext ¶
func (c *WTN) ListRealTimePublicStreamInfoWithContext(ctx volcengine.Context, input *ListRealTimePublicStreamInfoInput, opts ...request.Option) (*ListRealTimePublicStreamInfoOutput, error)
ListRealTimePublicStreamInfoWithContext is the same as ListRealTimePublicStreamInfo with the addition of the ability to pass a context and additional request options.
See ListRealTimePublicStreamInfo 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 WTNAPI ¶
type WTNAPI interface {
ListAppsCommon(*map[string]interface{}) (*map[string]interface{}, error)
ListAppsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ListAppsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ListApps(*ListAppsInput) (*ListAppsOutput, error)
ListAppsWithContext(volcengine.Context, *ListAppsInput, ...request.Option) (*ListAppsOutput, error)
ListAppsRequest(*ListAppsInput) (*request.Request, *ListAppsOutput)
ListAppsV3Common(*map[string]interface{}) (*map[string]interface{}, error)
ListAppsV3CommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ListAppsV3CommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ListAppsV3(*ListAppsV3Input) (*ListAppsV3Output, error)
ListAppsV3WithContext(volcengine.Context, *ListAppsV3Input, ...request.Option) (*ListAppsV3Output, error)
ListAppsV3Request(*ListAppsV3Input) (*request.Request, *ListAppsV3Output)
ListRealTimePublicStreamInfoCommon(*map[string]interface{}) (*map[string]interface{}, error)
ListRealTimePublicStreamInfoCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ListRealTimePublicStreamInfoCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ListRealTimePublicStreamInfo(*ListRealTimePublicStreamInfoInput) (*ListRealTimePublicStreamInfoOutput, error)
ListRealTimePublicStreamInfoWithContext(volcengine.Context, *ListRealTimePublicStreamInfoInput, ...request.Option) (*ListRealTimePublicStreamInfoOutput, error)
ListRealTimePublicStreamInfoRequest(*ListRealTimePublicStreamInfoInput) (*request.Request, *ListRealTimePublicStreamInfoOutput)
}
WTNAPI provides an interface to enable mocking the wtn.WTN service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to
// WTN.
func myFunc(svc WTNAPI) bool {
// Make svc.ListApps request
}
func main() {
sess := session.New()
svc := wtn.New(sess)
myFunc(svc)
}