Documentation
¶
Overview ¶
+kubebuilder:object:generate=true
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerSpec ¶
type ContainerSpec struct { // Compute Resources required by this container. Cannot be updated. [More // info](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/). Resources *corev1.ResourceRequirements `json:"resources,omitempty"` // Periodic probe of container liveness. Container will be restarted if the // probe fails. Cannot be updated. [More // info](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes). LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"` // Periodic probe of container service readiness. Container will be removed // from service endpoints if the probe fails. Cannot be updated. [More // info](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes). ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty"` // StartupProbe indicates that the Pod has successfully initialized. If // specified, no other probes are executed until this completes // successfully. If this probe fails, the Pod will be restarted, just as if // the livenessProbe failed. This can be used to provide different probe // parameters at the beginning of a Pod's lifecycle, when it might take a // long time to load data or warm a cache, than during steady-state // operation. This cannot be updated. [More // info](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes). StartupProbe *corev1.Probe `json:"startupProbe,omitempty"` }
func (*ContainerSpec) DeepCopy ¶
func (in *ContainerSpec) DeepCopy() *ContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec.
func (*ContainerSpec) DeepCopyInto ¶
func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggerSpec ¶
type LoggerSpec struct { // +kubebuilder:validation:Enum=debug;info;warn;error Level string `json:"level,omitempty"` // +kubebuilder:validation:Enum=json;console Format string `json:"format,omitempty"` }
func (*LoggerSpec) DeepCopy ¶
func (in *LoggerSpec) DeepCopy() *LoggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggerSpec.
func (*LoggerSpec) DeepCopyInto ¶
func (in *LoggerSpec) DeepCopyInto(out *LoggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodSpec ¶
type PodSpec struct { // Map of string keys and values that can be used to organize and categorize // (scope and select) objects. May match selectors of replication // controllers and services. [More // info](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels). Labels map[string]string `json:"labels,omitempty"` // Annotations is an unstructured key value map stored with a resource that // may be set by external tools to store and retrieve arbitrary metadata. // They are not queryable and should be preserved when modifying objects. // [More // info](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations). Annotations map[string]string `json:"annotations,omitempty"` // NodeSelector is a selector which must be true for the pod to fit on a // node. Selector which must match a node's labels for the pod to be // scheduled on that node. [More // info](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/). NodeSelector map[string]string `json:"nodeSelector,omitempty"` // NodeName is a request to schedule this pod onto a specific node. If it is // non-empty, the scheduler simply schedules this pod onto that node, // assuming that it fits resource requirements. NodeName string `json:"nodeName,omitempty"` // If specified, the pod's scheduling constraints Affinity *corev1.Affinity `json:"affinity,omitempty"` // If specified, the pod's tolerations. Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
func (*PodSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.
func (*PodSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Problem ¶
type Problem struct { api.Problem `json:",inline"` // ObservedTime at which the problem was recorded. ObservedTime metav1.Time `json:"observedTime"` }
ObservedTime is added here instead of api package to prevent k8s.io dependencies from getting pulled into Kit.
func (*Problem) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Problem.
func (*Problem) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Directories
¶
Path | Synopsis |
---|---|
Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +kubebuilder:object:generate=true +groupName=kubefox.xigxog.io
|
Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +kubebuilder:object:generate=true +groupName=kubefox.xigxog.io |