Documentation
¶
Index ¶
- func DoDev(devOptions Options, args []string, f cmdutil.Factory) error
- func GetClient() (*client.Client, *command.DockerCli, error)
- func GetDNS(ctx context.Context, f util.Factory, ns, pod string) (*miekgdns.ClientConfig, error)
- func GetVolume(ctx context.Context, f util.Factory, ns, pod string) (map[string][]mount.Mount, error)
- func PullImage(ctx context.Context, platform *v12.Platform, cli *client.Client, ...) error
- func TransferImage(ctx context.Context, conf *util.SshConfig) error
- type ConnectMode
- type Options
- type Run
- type RunConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVolume ¶
func GetVolume(ctx context.Context, f util.Factory, ns, pod string) (map[string][]mount.Mount, error)
GetVolume key format: [container name]-[volume mount name]
Types ¶
type ConnectMode ¶
type ConnectMode string
const ( ConnectModeContainer ConnectMode = "container" ConnectModeHost ConnectMode = "host" )
type Options ¶
type Options struct {
Headers map[string]string
Namespace string
Workload string
Factory cmdutil.Factory
ContainerName string
NoProxy bool
ExtraCIDR []string
ExtraDomain []string
ConnectMode ConnectMode
// docker options
Platform string
//Pull string // always, missing, never
PublishAll bool
Entrypoint string
DockerImage string
Publish opts.ListOpts
Expose opts.ListOpts
ExtraHosts opts.ListOpts
NetMode opts.NetworkOpt
Env opts.ListOpts
Mounts opts.MountOpt
Volumes opts.ListOpts
VolumeDriver string
}
Click to show internal directories.
Click to hide internal directories.