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
Click to show internal directories.
Click to hide internal directories.