Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapToken ¶
type ClusterConfiguration ¶
type ClusterConfiguration struct {
APIVersion string `yaml:"apiVersion,omitempty"`
Kind string `yaml:"kind"`
KubernetesVersion string `yaml:"kubernetesVersion,omitempty"`
ControlPlaneEndpoint string `yaml:"controlPlaneEndpoint,omitempty"`
APIServer struct {
CertSANs []string `yaml:"certSANs,omitempty"`
TimeoutForControlPlane string `yaml:"timeoutForControlPlane,omitempty"`
ExtraArgs map[string]string `yaml:"extraArgs,omitempty"`
ExtraVolumes []HostPathMount `yaml:"extraVolumes,omitempty"`
} `yaml:"apiServer,omitempty"`
CertificatesDir string `yaml:"certificatesDir,omitempty"`
ClusterName string `yaml:"clusterName,omitempty"`
ControllerManager struct {
ExtraArgs map[string]string `yaml:"extraArgs,omitempty"`
} `yaml:"controllerManager,omitempty"`
DNS struct {
Type string `yaml:"type,omitempty"`
} `yaml:"dns,omitempty"`
Etcd struct {
Local struct {
DataDir string `yaml:"dataDir,omitempty"`
ExtraArgs map[string]string `yaml:"extraArgs,omitempty"`
} `yaml:"local,omitempty"`
} `yaml:"etcd,omitempty"`
ImageRepository string `yaml:"imageRepository,omitempty"`
Networking struct {
DNSDomain string `yaml:"dnsDomain,omitempty"`
ServiceSubnet string `yaml:"serviceSubnet,omitempty"`
PodSubnet string `yaml:"podSubnet,omitempty"`
} `yaml:"networking,omitempty"`
Scheduler struct {
ExtraArgs map[string]string `yaml:"extraArgs,omitempty"`
} `yaml:"scheduler,omitempty"`
}
type HostPathMount ¶
type HostPathMount struct {
// Name of the volume inside the pod template.
Name string `yaml:"name"`
// HostPath is the path in the host that will be mounted inside
// the pod.
HostPath string `yaml:"hostPath"`
// MountPath is the path inside the pod where hostPath will be mounted.
MountPath string `yaml:"mountPath"`
// ReadOnly controls write access to the volume
ReadOnly bool `yaml:"readOnly,omitempty"`
// PathType is the type of the HostPath.
PathType HostPathType `yaml:"pathType,omitempty"`
}
type HostPathType ¶
type HostPathType string
const ( // For backwards compatible, leave it empty if unset HostPathUnset HostPathType = "" // If nothing exists at the given path, an empty directory will be created there // as needed with file mode 0755, having the same group and ownership with Kubelet. HostPathDirectoryOrCreate HostPathType = "DirectoryOrCreate" // A directory must exist at the given path HostPathDirectory HostPathType = "Directory" // If nothing exists at the given path, an empty file will be created there // as needed with file mode 0644, having the same group and ownership with Kubelet. HostPathFileOrCreate HostPathType = "FileOrCreate" // A file must exist at the given path HostPathFile HostPathType = "File" // A UNIX socket must exist at the given path HostPathSocket HostPathType = "Socket" // A character device must exist at the given path HostPathCharDev HostPathType = "CharDevice" // A block device must exist at the given path HostPathBlockDev HostPathType = "BlockDevice" )
type InitConfiguration ¶
type InitConfiguration struct {
APIVersion string `yaml:"apiVersion,omitempty"`
Kind string `yaml:"kind"`
BootstrapTokens []BootstrapToken `yaml:"bootstrapTokens,omitempty"`
NodeRegistration NodeRegistration `yaml:"nodeRegistration,omitempty"`
}
type NodeRegistration ¶
type Secret ¶
type Secret struct {
meta.TypeMeta `json:",inline"`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
meta.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Data contains the secret data. Each key must consist of alphanumeric
// characters, '-', '_' or '.'. The serialized form of the secret data is a
// base64 encoded string, representing the arbitrary (possibly non-string)
// data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
// +optional
Data map[string]string `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`
// stringData allows specifying non-binary secret data in string form.
// It is provided as a write-only convenience method.
// All keys and values are merged into the data field on write, overwriting any existing values.
// It is never output when reading from the API.
// +k8s:conversion-gen=false
// +optional
StringData map[string]string `json:"stringData,omitempty" protobuf:"bytes,4,rep,name=stringData"`
// Used to facilitate programmatic handling of secret data.
// +optional
Type string `json:"type,omitempty" protobuf:"bytes,3,opt,name=type,casttype=SecretType"`
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.