Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ChartfileName is the default Chart file name. ChartfileName = "Chart.yaml" // ValuesfileName is the default values file name. ValuesfileName = "values.yaml" // TemplatesDir is the relative directory name for templates. TemplatesDir = "templates" // HelpersName is the name of the example NOTES.txt file. HelpersName = "_helpers.tpl" )
View Source
const ( ClusterName = "clusterName" GenerateName = "generateName" Namespace = "namespace" HostName = "hostName" Subdomain = "subdomain" Nodename = "nodeName" ServiceAccountName = "serviceAccountName" Enabled = "enabled" Path = "path" EndpointsName = "endpointsName" VolumeID = "volumeID" Repository = "repository" Revision = "revision" Server = "Server" TargetPortal = "targetPortal" FSType = "fsType" Directory = "directory" User = "user" DiskName = "diskName" DataDiskURI = "dataDiskURI" VolumePath = "volumePath" ImagePullPolicy = "imagePullPolicy" PDName = "pdName" IQN = "IQN" ISCSIInterface = "ISCSIInterface" Image = "image" ImageTag = "imageTag" ClusterIP = "clusterIP" ExternalName = "externalName" LoadBalancer = "loadBalancer" VolumeName = "volumeName" AccessMode = "accessMode" ServiceType = "serviceType" SessionAffinity = "sessionAffinity" SecretName = "secretName" DatasetName = "datasetName" SecretFile = "secretFile" Group = "group" Volume = "volume" Registry = "registry" Keyring = "keyring" RadosUser = "radosUser" RBDImage = "RBDImage" RBDPool = "RBDPool" Persistence = "persistence" DeploymentStrategy = "deploymentStrategy" ServiceName = "serviceName" Type = "type" Provisioner = "provisioner" RestartPolicy = "restartPolicy" ReclaimPolicy = "reclaimPolicy" MinReplicas = "minReplicas" MaxReplicas = "maxReplicas" TargetCPUUtilizationPercentage = "targetCPUUtilizationPercentage" )
Variables ¶
View Source
var ChartObject map[string][]string
View Source
var PreserveName bool
Functions ¶
func InterfaceToSlice ¶
func InterfaceToSlice(slice interface{}) []interface{}
func ReadLocalFiles ¶
Types ¶
type KubeObjects ¶
type KubeObjects struct { ConfigMaps []string Deployments []string Daemons []string Jobs []string PersistentVolumes []string PersistentVolumeClaims []string Pods []string ReplicaSets []string ReplicationControllers []string Secrets []string Services []string StatefulSets []string StorageClasses []string HorizontalPodAutoscalers []string }
func (KubeObjects) CheckFlags ¶
func (ko KubeObjects) CheckFlags() bool
func (KubeObjects) Extract ¶
func (ko KubeObjects) Extract() []string
Click to show internal directories.
Click to hide internal directories.