Documentation ¶
Index ¶
- type AppOptions
- type ChannelOptions
- type CreateSupportBundleSpec
- type GetSupportBundleSpec
- type GraphQLClient
- func (c *GraphQLClient) CreateCollector(appID string, name string, yaml string) (*v1.AppCollectorInfo, error)
- func (c *GraphQLClient) ExecuteRequest(requestObj graphql.Request, deserializeTarget interface{}) error
- func (c *GraphQLClient) GetCollector(appID string, id string) (*v1.AppCollectorInfo, error)
- func (c *GraphQLClient) ListCollectors(appID string, appType string) ([]types.CollectorInfo, error)
- func (c *GraphQLClient) PromoteCollector(appID string, specID string, channelIDs ...string) error
- func (c *GraphQLClient) UpdateCollector(appID string, specID, yaml string) (interface{}, error)
- func (c *GraphQLClient) UpdateCollectorName(appID string, specID, name string) (interface{}, error)
- type GraphQLResponseCreateCollector
- type GraphQLResponseGetCollector
- type GraphQLResponseListCollectors
- type GraphQLResponseUpdateCollector
- type GraphQLResponseUpdateNameCollector
- type PlatformChannel
- type PlatformGQLResponseListCollectors
- type PlatformSupportBundleSpec
- type PlatformSupportBundleSpecsData
- type SupportBundleCreateSpecData
- type SupportBundleGetSpecData
- type SupportBundleSpec
- type SupportBundleSpecsData
- type SupportBundleUpdateSpecData
- type SupportBundleUpdateSpecNameData
- type UpdateSupportBundleSpec
- type UpdateSupportBundleSpecName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppOptions ¶
type AppOptions struct {
Name string
}
type ChannelOptions ¶
type CreateSupportBundleSpec ¶ added in v0.12.0
type GetSupportBundleSpec ¶ added in v0.12.0
type GraphQLClient ¶
Client communicates with the Replicated Vendor GraphQL API.
func NewGraphQLClient ¶
func NewGraphQLClient(origin string, apiKey string) *GraphQLClient
func (*GraphQLClient) CreateCollector ¶ added in v0.12.0
func (c *GraphQLClient) CreateCollector(appID string, name string, yaml string) (*v1.AppCollectorInfo, error)
CreateCollector creates a new collector based on given yaml and name
func (*GraphQLClient) ExecuteRequest ¶ added in v0.12.0
func (c *GraphQLClient) ExecuteRequest(requestObj graphql.Request, deserializeTarget interface{}) error
func (*GraphQLClient) GetCollector ¶ added in v0.12.0
func (c *GraphQLClient) GetCollector(appID string, id string) (*v1.AppCollectorInfo, error)
GetCollector returns a collector's properties.
func (*GraphQLClient) ListCollectors ¶ added in v0.12.0
func (c *GraphQLClient) ListCollectors(appID string, appType string) ([]types.CollectorInfo, error)
func (*GraphQLClient) PromoteCollector ¶ added in v0.12.0
func (c *GraphQLClient) PromoteCollector(appID string, specID string, channelIDs ...string) error
PromoteCollector assigns collector to a specified channel.
func (*GraphQLClient) UpdateCollector ¶ added in v0.12.0
func (c *GraphQLClient) UpdateCollector(appID string, specID, yaml string) (interface{}, error)
func (*GraphQLClient) UpdateCollectorName ¶ added in v0.12.0
func (c *GraphQLClient) UpdateCollectorName(appID string, specID, name string) (interface{}, error)
type GraphQLResponseCreateCollector ¶ added in v0.12.0
type GraphQLResponseCreateCollector struct {
Data *SupportBundleCreateSpecData `json:"data,omitempty"`
}
type GraphQLResponseGetCollector ¶ added in v0.12.0
type GraphQLResponseGetCollector struct {
Data *SupportBundleGetSpecData `json:"data,omitempty"`
}
type GraphQLResponseListCollectors ¶ added in v0.12.0
type GraphQLResponseListCollectors struct {
Data *SupportBundleSpecsData `json:"data,omitempty"`
}
type GraphQLResponseUpdateCollector ¶ added in v0.12.0
type GraphQLResponseUpdateCollector struct {
Data *SupportBundleUpdateSpecData `json:"data,omitempty"`
}
type GraphQLResponseUpdateNameCollector ¶ added in v0.12.0
type GraphQLResponseUpdateNameCollector struct {
Data *SupportBundleUpdateSpecNameData `json:"data,omitempty"`
}
type PlatformChannel ¶ added in v0.12.0
type PlatformGQLResponseListCollectors ¶ added in v0.12.0
type PlatformGQLResponseListCollectors struct {
Data *PlatformSupportBundleSpecsData `json:"data,omitempty"`
}
PLATFORM
type PlatformSupportBundleSpec ¶ added in v0.12.0
type PlatformSupportBundleSpecsData ¶ added in v0.12.0
type PlatformSupportBundleSpecsData struct {
PlatformSupportBundleSpecs []*PlatformSupportBundleSpec `json:"supportBundleSpecs"`
}
type SupportBundleCreateSpecData ¶ added in v0.12.0
type SupportBundleCreateSpecData struct {
CreateSupportBundleSpec *CreateSupportBundleSpec `json:"createSupportBundleSpec"`
}
type SupportBundleGetSpecData ¶ added in v0.12.0
type SupportBundleGetSpecData struct {
GetSupportBundleSpec *GetSupportBundleSpec `json:"supportBundleSpec"`
}
type SupportBundleSpec ¶ added in v0.12.0
type SupportBundleSpecsData ¶ added in v0.12.0
type SupportBundleSpecsData struct {
SupportBundleSpecs []*SupportBundleSpec `json:"supportBundleSpecs"`
}
type SupportBundleUpdateSpecData ¶ added in v0.12.0
type SupportBundleUpdateSpecData struct {
UpdateSupportBundleSpec *UpdateSupportBundleSpec `json:"updateSupportBundleSpec"`
}
type SupportBundleUpdateSpecNameData ¶ added in v0.12.0
type SupportBundleUpdateSpecNameData struct {
UpdateSupportBundleSpecName *UpdateSupportBundleSpecName `json:"updateSupportBundleSpecName"`
}
type UpdateSupportBundleSpec ¶ added in v0.12.0
type UpdateSupportBundleSpecName ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.