options

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package options contains all of the primary arguments for cri-dockerd.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContainerRuntimeOptions

func NewContainerRuntimeOptions() *config.ContainerRuntimeOptions

NewContainerRuntimeOptions will create a new ContainerRuntimeOptions with default values.

Types

type DockerCRIFlags

type DockerCRIFlags struct {
	// Container-runtime-specific options.
	config.ContainerRuntimeOptions
	// remoteRuntimeEndpoint is the endpoint of backend runtime service
	RemoteRuntimeEndpoint string
	// nonMasqueradeCIDR configures masquerading: traffic to IPs outside this range will use IP masquerade.
	NonMasqueradeCIDR string
}

DockerCRIFlags contains configuration flags for cri-dockerd

func NewDockerCRIFlags

func NewDockerCRIFlags() *DockerCRIFlags

NewDockerCRIFlags will create a new DockerCRIFlags with default values

func (*DockerCRIFlags) AddFlags

func (f *DockerCRIFlags) AddFlags(mainfs *pflag.FlagSet)

AddFlags adds flags for a specific DockerCRIFlags to the specified FlagSet

type DockerCRIServer

type DockerCRIServer struct {
	DockerCRIFlags
}

DockerCRIServer encapsulates all of the parameters necessary for starting up a kubelet. These can either be set via command line or directly.

func (*DockerCRIServer) AddFlags

func (s *DockerCRIServer) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags for a specific DockerCRIServer to the specified FlagSet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL