Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the nmstate.io v1beta1 API group +kubebuilder:object:generate=true +groupName=nmstate.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "nmstate.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type NMState ¶
type NMState struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NMStateSpec `json:"spec,omitempty"` Status NMStateStatus `json:"status,omitempty"` }
NMState is the Schema for the nmstates API
func (*NMState) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NMState.
func (*NMState) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NMState) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NMStateList ¶
type NMStateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NMState `json:"items"` }
NMStateList contains a list of NMState
func (*NMStateList) DeepCopy ¶
func (in *NMStateList) DeepCopy() *NMStateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NMStateList.
func (*NMStateList) DeepCopyInto ¶
func (in *NMStateList) DeepCopyInto(out *NMStateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NMStateList) DeepCopyObject ¶
func (in *NMStateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NMStateSpec ¶
type NMStateSpec struct { // NodeSelector is an optional selector that will be added to handler DaemonSet manifest // for both workers and control-plane (https://github.com/nmstate/kubernetes-nmstate/blob/main/deploy/handler/operator.yaml). // If NodeSelector is specified, the handler will run only on nodes that have each of the indicated key-value pairs // as labels applied to the node. // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` // Tolerations is an optional list of tolerations to be added to handler DaemonSet manifest // If Tolerations is specified, the handler daemonset will be also scheduled on nodes with corresponding taints // +optional Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
NMStateSpec defines the desired state of NMState
func (*NMStateSpec) DeepCopy ¶
func (in *NMStateSpec) DeepCopy() *NMStateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NMStateSpec.
func (*NMStateSpec) DeepCopyInto ¶
func (in *NMStateSpec) DeepCopyInto(out *NMStateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NMStateStatus ¶ added in v0.34.0
type NMStateStatus struct {
Conditions shared.ConditionList `json:"conditions,omitempty"`
}
NMStateStatus defines the observed state of NMState
func (*NMStateStatus) DeepCopy ¶ added in v0.34.0
func (in *NMStateStatus) DeepCopy() *NMStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NMStateStatus.
func (*NMStateStatus) DeepCopyInto ¶ added in v0.34.0
func (in *NMStateStatus) DeepCopyInto(out *NMStateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeNetworkConfigurationEnactment ¶
type NodeNetworkConfigurationEnactment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Status shared.NodeNetworkConfigurationEnactmentStatus `json:"status,omitempty"` }
NodeNetworkConfigurationEnactment is the Schema for the nodenetworkconfigurationenactments API
func NewEnactment ¶
func NewEnactment(nodeName string, policy NodeNetworkConfigurationPolicy) NodeNetworkConfigurationEnactment
func (*NodeNetworkConfigurationEnactment) DeepCopy ¶
func (in *NodeNetworkConfigurationEnactment) DeepCopy() *NodeNetworkConfigurationEnactment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigurationEnactment.
func (*NodeNetworkConfigurationEnactment) DeepCopyInto ¶
func (in *NodeNetworkConfigurationEnactment) DeepCopyInto(out *NodeNetworkConfigurationEnactment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeNetworkConfigurationEnactment) DeepCopyObject ¶
func (in *NodeNetworkConfigurationEnactment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeNetworkConfigurationEnactmentList ¶
type NodeNetworkConfigurationEnactmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NodeNetworkConfigurationEnactment `json:"items"` }
NodeNetworkConfigurationEnactmentList contains a list of NodeNetworkConfigurationEnactment
func (*NodeNetworkConfigurationEnactmentList) DeepCopy ¶
func (in *NodeNetworkConfigurationEnactmentList) DeepCopy() *NodeNetworkConfigurationEnactmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigurationEnactmentList.
func (*NodeNetworkConfigurationEnactmentList) DeepCopyInto ¶
func (in *NodeNetworkConfigurationEnactmentList) DeepCopyInto(out *NodeNetworkConfigurationEnactmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeNetworkConfigurationEnactmentList) DeepCopyObject ¶
func (in *NodeNetworkConfigurationEnactmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeNetworkConfigurationPolicy ¶
type NodeNetworkConfigurationPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec shared.NodeNetworkConfigurationPolicySpec `json:"spec,omitempty"` Status shared.NodeNetworkConfigurationPolicyStatus `json:"status,omitempty"` }
NodeNetworkConfigurationPolicy is the Schema for the nodenetworkconfigurationpolicies API
func (*NodeNetworkConfigurationPolicy) DeepCopy ¶
func (in *NodeNetworkConfigurationPolicy) DeepCopy() *NodeNetworkConfigurationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigurationPolicy.
func (*NodeNetworkConfigurationPolicy) DeepCopyInto ¶
func (in *NodeNetworkConfigurationPolicy) DeepCopyInto(out *NodeNetworkConfigurationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeNetworkConfigurationPolicy) DeepCopyObject ¶
func (in *NodeNetworkConfigurationPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeNetworkConfigurationPolicyList ¶
type NodeNetworkConfigurationPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NodeNetworkConfigurationPolicy `json:"items"` }
NodeNetworkConfigurationPolicyList contains a list of NodeNetworkConfigurationPolicy
func (*NodeNetworkConfigurationPolicyList) DeepCopy ¶
func (in *NodeNetworkConfigurationPolicyList) DeepCopy() *NodeNetworkConfigurationPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigurationPolicyList.
func (*NodeNetworkConfigurationPolicyList) DeepCopyInto ¶
func (in *NodeNetworkConfigurationPolicyList) DeepCopyInto(out *NodeNetworkConfigurationPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeNetworkConfigurationPolicyList) DeepCopyObject ¶
func (in *NodeNetworkConfigurationPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeNetworkState ¶
type NodeNetworkState struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Status shared.NodeNetworkStateStatus `json:"status,omitempty"` }
NodeNetworkState is the Schema for the nodenetworkstates API
func (*NodeNetworkState) DeepCopy ¶
func (in *NodeNetworkState) DeepCopy() *NodeNetworkState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkState.
func (*NodeNetworkState) DeepCopyInto ¶
func (in *NodeNetworkState) DeepCopyInto(out *NodeNetworkState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeNetworkState) DeepCopyObject ¶
func (in *NodeNetworkState) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeNetworkStateList ¶
type NodeNetworkStateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NodeNetworkState `json:"items"` }
NodeNetworkStateList contains a list of NodeNetworkState
func (*NodeNetworkStateList) DeepCopy ¶
func (in *NodeNetworkStateList) DeepCopy() *NodeNetworkStateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkStateList.
func (*NodeNetworkStateList) DeepCopyInto ¶
func (in *NodeNetworkStateList) DeepCopyInto(out *NodeNetworkStateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeNetworkStateList) DeepCopyObject ¶
func (in *NodeNetworkStateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.