Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitCommit string OsArch string BuildDate string Version string )
Functions ¶
Types ¶
type Config ¶
type Config struct { CurrentContext string `yaml:"current-context" mapstructure:"current-context"` Servers []ConfigServer `yaml:"servers"` Users []ConfigUser `yaml:"users"` Contexts []ConfigContext `yaml:"contexts"` }
type ConfigContext ¶
type ConfigServer ¶
type ConfigUser ¶
type CurrentConfig ¶
type CurrentConfig struct { Name string `yaml:"name"` User ConfigUser `yaml:"user"` Server ConfigServer `yaml:"server"` }
type FileInput ¶ added in v0.4.0
type FileInput struct { Type string `json:"type" yaml:"type"` Metadata gospeckle.RequestMetadata `json:"metadata" yaml:"metadata"` Spec interface{} `json:"spec" yaml:"spec"` }
type RequestObjects ¶ added in v0.4.0
type RequestObjects struct { Projects []gospeckle.ProjectRequest Streams []gospeckle.StreamRequest Clients []gospeckle.APIClientRequest }
func (RequestObjects) MakeRequests ¶ added in v0.4.0
func (r RequestObjects) MakeRequests(ctx context.Context, c *gospeckle.Client)
Click to show internal directories.
Click to hide internal directories.