Documentation
¶
Overview ¶
Package cache provides commands for managing the scafctl cache.
Index ¶
- Variables
- func CommandCache(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
- func CommandClear(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- func CommandInfo(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- type ClearOptions
- type ClearOutputdeprecated
- type Infodeprecated
- type InfoOptions
- type InfoOutputdeprecated
- type Kinddeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidKinds = cachelib.ValidKinds
ValidKinds lists all valid cache kinds.
Functions ¶
func CommandCache ¶
func CommandCache(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
CommandCache creates the cache command group.
func CommandClear ¶
CommandClear creates the clear command.
Types ¶
type ClearOptions ¶
type ClearOptions struct {
CliParams *settings.Run
IOStreams *terminal.IOStreams
Kind string
Name string
Force bool
flags.KvxOutputFlags
}
ClearOptions holds options for the clear command.
type ClearOutput
deprecated
type ClearOutput = cachelib.ClearOutput
ClearOutput is an alias for cachelib.ClearOutput.
Deprecated: Use cache.ClearOutput from pkg/cache instead.
type InfoOptions ¶
type InfoOptions struct {
CliParams *settings.Run
IOStreams *terminal.IOStreams
flags.KvxOutputFlags
}
InfoOptions holds options for the info command.
type InfoOutput
deprecated
type InfoOutput = cachelib.InfoOutput
InfoOutput is an alias for cache.InfoOutput.
Deprecated: Use cache.InfoOutput from pkg/cache instead.
type Kind
deprecated
Kind is an alias for cachelib.Kind.
Deprecated: Use cache.Kind from pkg/cache instead.
Click to show internal directories.
Click to hide internal directories.