Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProxyEnvVars ¶
GetProxyEnvVars builds a list of environment variables to use in the control plane containers in order to use the right proxy
Types ¶
type APIEndpoint ¶
type APIEndpoint struct {
// The hostname on which the API server is serving.
Host string `json:"host"`
// The port on which the API server is serving.
Port int32 `json:"port"`
}
APIEndpoint represents a reachable Kubernetes API endpoint using scheme-less host:port (port is optional).
func (APIEndpoint) IsZero ¶
func (v APIEndpoint) IsZero() bool
IsZero returns true if host and the port are zero values.
func (APIEndpoint) String ¶
func (v APIEndpoint) String() string
String returns a formatted version HOST:PORT of this APIEndpoint.
func (*APIEndpoint) UnmarshalJSON ¶
func (v *APIEndpoint) UnmarshalJSON(data []byte) error
type HostPathMount ¶
type HostPathMount struct {
// Name of the volume inside the pod template.
Name string `json:"name,omitempty"`
// HostPath is the path in the host that will be mounted inside
// the pod.
HostPath string `json:"hostPath,omitempty"`
// MountPath is the path inside the pod where hostPath will be mounted.
MountPath string `json:"mountPath,omitempty"`
// ReadOnly controls write access to the volume
ReadOnly bool `json:"readOnly,omitempty"`
HostPathType corev1.HostPathType `json:"hostPathType,omitempty"`
}
HostPathMount contains elements describing volumes that are mounted from the host.
Click to show internal directories.
Click to hide internal directories.