Documentation ¶
Index ¶
- Variables
- func PrintSuccessMessageDockerInstall(host, password string, log log.Logger)
- func WrapCommandError(stdout []byte, err error) error
- type ContainerDetails
- type ContainerDetailsConfig
- type ContainerDetailsState
- type ContainerNetworkSettings
- type ContainerPort
- type Error
- type LoftStarter
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingContainer = errors.New("missing container") ErrLoftNotReachable = errors.New("product is not reachable") )
Functions ¶
func WrapCommandError ¶
Types ¶
type ContainerDetails ¶
type ContainerDetails struct { NetworkSettings ContainerNetworkSettings `json:"NetworkSettings,omitempty"` State ContainerDetailsState `json:"State,omitempty"` ID string `json:"ID,omitempty"` Created string `json:"Created,omitempty"` Config ContainerDetailsConfig `json:"Config,omitempty"` }
type ContainerDetailsConfig ¶
type ContainerDetailsState ¶
type ContainerNetworkSettings ¶
type ContainerNetworkSettings struct {
Ports map[string][]ContainerPort `json:"ports,omitempty"`
}
type ContainerPort ¶
type LoftStarter ¶
type LoftStarter struct {
Options
}
func NewLoftStarter ¶
func NewLoftStarter(options Options) *LoftStarter
type Options ¶
type Options struct { *flags.GlobalFlags // Will be filled later KubeClient kubernetes.Interface Log log.Logger RestConfig *rest.Config Context string Values string LocalPort string Version string DockerImage string Namespace string Password string Host string Email string ChartRepo string Product string ChartName string ChartPath string DockerArgs []string Reset bool NoPortForwarding bool NoTunnel bool NoLogin bool NoWait bool Upgrade bool ReuseValues bool Docker bool }
Options holds the cmd flags
Click to show internal directories.
Click to hide internal directories.