Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLICommand ¶
type CLICommand struct { Noun string `json:"noun"` Verb string `json:"verb"` Modifiers []string `json:"modifiers"` }
func (*CLICommand) GetModifiers ¶
func (v *CLICommand) GetModifiers() []string
GetModifiers returns CLICommand.Modifiers, and is useful for accessing the field via an interface.
func (*CLICommand) GetNoun ¶
func (v *CLICommand) GetNoun() string
GetNoun returns CLICommand.Noun, and is useful for accessing the field via an interface.
func (*CLICommand) GetVerb ¶
func (v *CLICommand) GetVerb() string
GetVerb returns CLICommand.Verb, and is useful for accessing the field via an interface.
type CLIIdentifier ¶
type CLIIdentifier struct { Version string `json:"version"` ContextId string `json:"contextId"` CloudClientId string `json:"cloudClientId"` }
func (*CLIIdentifier) GetCloudClientId ¶
func (v *CLIIdentifier) GetCloudClientId() string
GetCloudClientId returns CLIIdentifier.CloudClientId, and is useful for accessing the field via an interface.
func (*CLIIdentifier) GetContextId ¶
func (v *CLIIdentifier) GetContextId() string
GetContextId returns CLIIdentifier.ContextId, and is useful for accessing the field via an interface.
func (*CLIIdentifier) GetVersion ¶
func (v *CLIIdentifier) GetVersion() string
GetVersion returns CLIIdentifier.Version, and is useful for accessing the field via an interface.
type CLITelemetry ¶
type CLITelemetry struct { Identifier CLIIdentifier `json:"identifier"` Command CLICommand `json:"command"` }
func (*CLITelemetry) GetCommand ¶
func (v *CLITelemetry) GetCommand() CLICommand
GetCommand returns CLITelemetry.Command, and is useful for accessing the field via an interface.
func (*CLITelemetry) GetIdentifier ¶
func (v *CLITelemetry) GetIdentifier() CLIIdentifier
GetIdentifier returns CLITelemetry.Identifier, and is useful for accessing the field via an interface.
type SendCLITelemetryResponse ¶
type SendCLITelemetryResponse struct {
SendCLITelemetries bool `json:"sendCLITelemetries"`
}
SendCLITelemetryResponse is returned by SendCLITelemetry on success.
func SendCLITelemetry ¶
func SendCLITelemetry( ctx context.Context, client graphql.Client, telemetry CLITelemetry, ) (*SendCLITelemetryResponse, error)
func (*SendCLITelemetryResponse) GetSendCLITelemetries ¶
func (v *SendCLITelemetryResponse) GetSendCLITelemetries() bool
GetSendCLITelemetries returns SendCLITelemetryResponse.SendCLITelemetries, and is useful for accessing the field via an interface.