v1beta1

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the nmstate v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=nmstate.io

Package v1beta1 contains API Schema definitions for the nmstate v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=nmstate.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "nmstate.io", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

Types

type NMState

type NMState struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NMStateSpec `json:"spec,omitempty"`
}

NMState is the Schema for the nmstates API +kubebuilder:resource:path=nmstates,scope=Cluster +kubebuilder:storageversion

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 masters (https://github.com/nmstate/kubernetes-nmstate/blob/master/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"`
}

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.

Jump to

Keyboard shortcuts

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