Documentation
¶
Index ¶
- func NewLocalCommands() []*cobra.Command
- func NewRootCommand() *cobra.Command
- func NewStoreCommand(opts StoreCommandOptions) *cobra.Command
- func NewStoreCommands(opts StoreCommandOptions) []*cobra.Command
- type CheckRequest
- type CheckResult
- type LocalStoreClient
- type LocalStoreOptions
- type SnapshotEnv
- type SnapshotRequest
- type SnapshotResult
- type SourceRequest
- type SourceResult
- type StoreClient
- type StoreCommandOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalCommands ¶
func NewRootCommand ¶
func NewStoreCommand ¶
func NewStoreCommand(opts StoreCommandOptions) *cobra.Command
func NewStoreCommands ¶
func NewStoreCommands(opts StoreCommandOptions) []*cobra.Command
Types ¶
type CheckRequest ¶
type CheckRequest struct{}
type CheckResult ¶
type CheckResult struct {
Message string
}
type LocalStoreClient ¶
type LocalStoreClient struct {
// contains filtered or unexported fields
}
func NewLocalStoreClient ¶
func NewLocalStoreClient(options LocalStoreOptions) *LocalStoreClient
func (*LocalStoreClient) Check ¶
func (c *LocalStoreClient) Check(context.Context, CheckRequest) (*CheckResult, error)
func (*LocalStoreClient) Snapshot ¶
func (c *LocalStoreClient) Snapshot(context.Context, SnapshotRequest) (*SnapshotResult, error)
func (*LocalStoreClient) Source ¶
func (c *LocalStoreClient) Source(context.Context, SourceRequest) (*SourceResult, error)
type LocalStoreOptions ¶
type SnapshotEnv ¶
type SnapshotRequest ¶
type SnapshotResult ¶
type SnapshotResult struct {
Envs []SnapshotEnv
}
type SourceRequest ¶
type SourceResult ¶
type SourceResult struct {
Envs []string
}
type StoreClient ¶
type StoreClient interface {
Snapshot(context.Context, SnapshotRequest) (*SnapshotResult, error)
Source(context.Context, SourceRequest) (*SourceResult, error)
Check(context.Context, CheckRequest) (*CheckResult, error)
}
Click to show internal directories.
Click to hide internal directories.