script

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DockerDaemonConfig = `` /* 199-byte string literal not displayed */
View Source
const DockerDaemonConfigPath = "/etc/docker/daemon.json"
View Source
const DockerKubeadmExtraArgs = `[Service]
Environment="DOCKER_OPTS=--exec-opt native.cgroupdriver=cgroupfs"
`
View Source
const DockerKubeadmExtraArgsPath = "/etc/systemd/system/docker.service.d/20-kubeadm-extra-args.conf"
View Source
const KubeadmBootstrapPath = "/opt/kube-spawn/bootstrap.sh"
View Source
const KubeadmConfigPath = "/etc/kubeadm/kubeadm.yml"
View Source
const KubeadmExtraArgsPath = "/etc/systemd/system/kubelet.service.d/20-kubeadm-extra-args.conf"
View Source
const KubeletTmpfiles = `d /var/lib/kubelet 0755 - - -`
View Source
const KubeletTmpfilesPath = "/etc/tmpfiles.d/kubelet.conf"
View Source
const RktletService = `` /* 299-byte string literal not displayed */
View Source
const RktletServicePath = "/etc/systemd/system/rktlet.service"
View Source
const WeaveNetworkdUnmask = `[Match]
Name=weave datapath vethwe*

[Link]
Unmanaged=yes
`
View Source
const WeaveNetworkdUnmaskPath = "/etc/systemd/network/50-weave.network"

Variables

This section is empty.

Functions

func GetKubeadmBootstrap

func GetKubeadmBootstrap(opts KubeadmBootstrapOpts) (*bytes.Buffer, error)

func GetKubeadmConfig

func GetKubeadmConfig(opts KubeadmYmlOpts) (*bytes.Buffer, error)

func GetKubeadmExtraArgs

func GetKubeadmExtraArgs(opts KubeadmExtraArgsOpts) (*bytes.Buffer, error)

Types

type KubeadmBootstrapOpts

type KubeadmBootstrapOpts struct {
	ContainerRuntime string
}

type KubeadmExtraArgsOpts

type KubeadmExtraArgsOpts struct {
	ContainerRuntime      string
	UseLegacyCgroupDriver bool
	CgroupsPerQOS         bool
	FailSwapOn            bool
	RuntimeEndpoint       string
	RequestTimeout        string
}

type KubeadmExtraRuntimeOpts

type KubeadmExtraRuntimeOpts struct {
	RktRuntime      bool
	RuntimeEndpoint string
	RequestTimeout  string
}

type KubeadmYmlOpts

type KubeadmYmlOpts struct {
	KubernetesVersion string
}

Jump to

Keyboard shortcuts

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