v1alpha1

package
v0.0.0-...-9b0c9ef Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the noodepolicies v1 API group +kubebuilder:object:generate=true +groupName=noodepolicies.softonic.io

Index

Constants

This section is empty.

Variables

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

	// 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 NodePolicyProfile

type NodePolicyProfile struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NodePolicyProfileSpec   `json:"spec,omitempty"`
	Status NodePolicyProfileStatus `json:"status,omitempty"`
}

NodePolicyProfile is the Schema for the nodepolicyprofiles API

func (*NodePolicyProfile) DeepCopy

func (in *NodePolicyProfile) DeepCopy() *NodePolicyProfile

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

func (*NodePolicyProfile) DeepCopyInto

func (in *NodePolicyProfile) DeepCopyInto(out *NodePolicyProfile)

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

func (*NodePolicyProfile) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NodePolicyProfileList

type NodePolicyProfileList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NodePolicyProfile `json:"items"`
}

NodePolicyProfileList contains a list of NodePolicyProfile

func (*NodePolicyProfileList) DeepCopy

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

func (*NodePolicyProfileList) DeepCopyInto

func (in *NodePolicyProfileList) DeepCopyInto(out *NodePolicyProfileList)

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

func (*NodePolicyProfileList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NodePolicyProfileSpec

type NodePolicyProfileSpec struct {
	Tolerations  []corev1.Toleration `json:"tolerations,omitempty"`
	NodeAffinity corev1.NodeAffinity `json:"nodeAffinity,omitempty"`
	NodeSelector map[string]string   `json:"nodeSelector,omitempty"`
}

NodePolicyProfileSpec defines the desired state of NodePolicyProfile

func (*NodePolicyProfileSpec) DeepCopy

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

func (*NodePolicyProfileSpec) DeepCopyInto

func (in *NodePolicyProfileSpec) DeepCopyInto(out *NodePolicyProfileSpec)

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

type NodePolicyProfileStatus

type NodePolicyProfileStatus struct {
}

NodePolicyProfileStatus defines the observed state of NodePolicyProfile

func (*NodePolicyProfileStatus) DeepCopy

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

func (*NodePolicyProfileStatus) DeepCopyInto

func (in *NodePolicyProfileStatus) DeepCopyInto(out *NodePolicyProfileStatus)

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