Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandKubeNameBytes ¶
func RandKubeNameBytes(n int) string
TODO(mitchdraft) - merge this with go-utils
func RandStringBytes ¶
func RandStringBytes(n int, basis string) string
RandStringBytes produces a random string of length n using the characters present in the basis string
Types ¶
type DebugContainer ¶
type DebugContainer struct {
Name string
Namespace string
Image string
Pod string
Container string
ProcessName string
DebuggerType string
}
type DemoOptions ¶
type DemoOptions struct {
Namespace1 string
Namespace2 string
DemoId string
}
type DeployOptions ¶
type DeployOptions struct {
DemoOptions DemoOptions
SquashProcessOptions SquashProcessOptions
}
type Internal ¶
type Internal struct {
// ConfigLoaded should be set once the config has been loaded
ConfigLoaded bool
// ConfigRead should be set once the config has been read
ConfigRead bool
}
type Options ¶
type Options struct {
Url string
Json bool
DebugContainer DebugContainer
// Debug Container is a superset of DebugRequest so we can use the same struct
// TODO(mitchdraft) - refactor
DebugRequest DebugContainer
Wait Wait
Squash config.Squash
DebugTarget config.DebugTarget
DeployOptions DeployOptions
// Internal contains cli-specific metadata
Internal Internal
// Config may be blended into other options
Config Config
ConfigFilename string
// contains filtered or unexported fields
}
func NewOptions ¶
func NewOptions() *Options
type SquashProcessOptions ¶
type SquashProcessOptions struct {
Namespace string
// Preview, if set prints a yaml description of the Squash installation without creating installing Squash
Preview bool
}
Click to show internal directories.
Click to hide internal directories.