package
0.0.0-20190319231021-e6272b887b81
Repository: https://github.com/marun/kubernetes.git
Documentation: pkg.go.dev

# Functions

ComponentPod returns a Pod object from the container and volume specifications.
ComponentResources returns the v1.ResourceRequirements object needed for allocating a specified amount of the CPU.
EtcdProbe is a helper function for building a shell-based, etcdctl v1.Probe object to healthcheck etcd.
GetAPIServerProbeAddress returns the probe address for the API server.
GetControllerManagerProbeAddress returns the kubernetes controller manager probe address.
GetEtcdProbeAddress returns the etcd probe address.
GetExtraParameters builds a list of flag arguments two string-string maps, one with default, base commands and one with overrides.
GetSchedulerProbeAddress returns the kubernetes scheduler probe address.
ManifestFilesAreEqual compares 2 files.
NewVolume creates a v1.Volume with a hostPath mount to the specified location.
NewVolumeMount creates a v1.VolumeMount to the specified location.
ReadStaticPodFromDisk reads a static pod file from disk.
VolumeMapToSlice returns a slice of volumes from a map's values.
VolumeMountMapToSlice returns a slice of volumes from a map's values.
WriteStaticPodToDisk writes a static pod file to disk.