Documentation ¶
Index ¶
Constants ¶
View Source
const ( BuildDeb BuildType = "deb" BuildRpm BuildType = "rpm" BuildAll BuildType = "all" ChannelRelease ChannelType = "release" ChannelTesting ChannelType = "testing" ChannelNightly ChannelType = "nightly" DefaultRevision = "0" )
Variables ¶
View Source
var ( LatestTemplateDir = filepath.Join(templateRootDir, "latest") SupportedPackages = []string{"kubelet", "kubectl", "kubeadm", "kubernetes-cni", "cri-tools"} SupportedChannels = []string{"release", "testing", "nightly"} SupportedArchitectures = []string{"amd64", "arm", "arm64", "ppc64le", "s390x"} DefaultReleaseDownloadLinkBase = "https://dl.k8s.io" )
Functions ¶
func IsSupported ¶
TODO: kubepkg is failing validations when multiple options are selected
It seems like StringArrayVar is treating the multiple comma-separated values as a single value.
Example: $ time kubepkg debs --arch amd64,arm <snip> INFO[0000] Adding 'amd64,arm' (type: string) to not supported INFO[0000] The following options are not supported: [amd64,arm] FATA[0000] architectures selections are not supported
Types ¶
type Build ¶
type Build struct { Type BuildType Package string Definitions []*PackageDefinition TemplateDir string }
type ChannelType ¶
type ChannelType string
Click to show internal directories.
Click to hide internal directories.