Documentation ¶
Index ¶
- func GetRootfsPathUnder(bundle string) string
- func Run(ctx context.Context, bundle string, config v1.Image, opts ...Option) error
- type Option
- func WithArgs(args []string) Option
- func WithCNI() Option
- func WithCNIPluginConfDir(cniPluginConfDir string) Option
- func WithCNIPluginDir(cniPluginDir string) Option
- func WithDNSNameservers(dnsNameservers []string) Option
- func WithDNSOptions(dnsOptions []string) Option
- func WithDNSSearchDomains(dnsSearchDomains []string) Option
- func WithEntrypoint(entrypoint []string) Option
- func WithEnvs(envs []string) Option
- func WithExtraHosts(extraHosts []string) Option
- func WithMounts(mounts []string) Option
- func WithTerminal() Option
- func WithUser(user string) Option
- func WithWaitOnSignal() Option
- func WithWorkingDir(workingDir string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRootfsPathUnder ¶
Types ¶
type Option ¶
type Option func(*options)
func WithCNIPluginConfDir ¶
func WithCNIPluginDir ¶
func WithDNSNameservers ¶
func WithDNSOptions ¶
func WithDNSSearchDomains ¶
func WithEntrypoint ¶
func WithExtraHosts ¶
func WithMounts ¶
func WithTerminal ¶
func WithTerminal() Option
func WithWaitOnSignal ¶
func WithWaitOnSignal() Option
func WithWorkingDir ¶
Click to show internal directories.
Click to hide internal directories.