v1beta1

package
v0.58.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2021 License: GPL-2.0 Imports: 8 Imported by: 2

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

View Source
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

func (in *NMState) DeepCopy() *NMState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NMState.

func (*NMState) DeepCopyInto

func (in *NMState) DeepCopyInto(out *NMState)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NMState) DeepCopyObject

func (in *NMState) DeepCopyObject() runtime.Object

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"`
	// InfraNodeSelector is an optional selector that will be added to webhook & certmanager Deployment manifests
	// If InfraNodeSelector is specified, the webhook and certmanager will run only on nodes that have each of the indicated
	// key-value pairs as labels applied to the node.
	// +optional
	InfraNodeSelector map[string]string `json:"infraNodeSelector,omitempty"`
	// InfraTolerations is an optional list of tolerations to be added to webhook & certmanager Deployment manifests
	// If InfraTolerations is specified, the handler daemonset will be able to be scheduled on nodes with corresponding taints
	// +optional
	InfraTolerations []corev1.Toleration `json:"infraTolerations,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 (*NodeNetworkConfigurationEnactment) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigurationEnactment.

func (*NodeNetworkConfigurationEnactment) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigurationEnactmentList.

func (*NodeNetworkConfigurationEnactmentList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeNetworkConfigurationEnactmentList) DeepCopyObject

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigurationPolicy.

func (*NodeNetworkConfigurationPolicy) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigurationPolicyList.

func (*NodeNetworkConfigurationPolicyList) DeepCopyInto

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL