v1alpha1

package
v0.0.0-...-624b100 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

'package' indicates that the generated code should be included at the package level 'groupName' indicates the name of the API Group +k8s:deepcopy-gen=package,register +groupName=kompass.io

Index

Constants

View Source
const GroupName = "kompass.io"

GroupName specifies the group name used to register the objects.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// Depreciated: use Install instead
	AddToScheme = localSchemeBuilder.AddToScheme
	Install     = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}

GroupVersion specifies the group and the version used to register the objects.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type LeafPodConvertPolicy

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

	Spec LeafPodConvertPolicySpec `json:"spec"`

	// +optional
	Status LeafPodConvertPolicyStatus `json:"status"`
}

func (*LeafPodConvertPolicy) DeepCopy

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

func (*LeafPodConvertPolicy) DeepCopyInto

func (in *LeafPodConvertPolicy) DeepCopyInto(out *LeafPodConvertPolicy)

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

func (*LeafPodConvertPolicy) DeepCopyObject

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

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

type LeafPodConvertPolicyList

type LeafPodConvertPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []LeafPodConvertPolicy `json:"items"`
}

func (*LeafPodConvertPolicyList) DeepCopy

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

func (*LeafPodConvertPolicyList) DeepCopyInto

func (in *LeafPodConvertPolicyList) DeepCopyInto(out *LeafPodConvertPolicyList)

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

func (*LeafPodConvertPolicyList) DeepCopyObject

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

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

type LeafPodConvertPolicySpec

type LeafPodConvertPolicySpec struct {
	// If specified, the pod's scheduling constraints
	// +optional
	Affinity *corev1.Affinity `json:"affinity,omitempty" protobuf:"bytes,18,opt,name=affinity"`

	// If specified, the pod's tolerations.
	// +optional
	Tolerations []corev1.Toleration `json:"tolerations,omitempty" protobuf:"bytes,22,opt,name=tolerations"`

	// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
	// file if specified. This is only valid for non-hostNetwork pods.
	// +optional
	HostAliases []corev1.HostAlias `json:"hostAliases,omitempty"`
}

func (*LeafPodConvertPolicySpec) DeepCopy

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

func (*LeafPodConvertPolicySpec) DeepCopyInto

func (in *LeafPodConvertPolicySpec) DeepCopyInto(out *LeafPodConvertPolicySpec)

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

type LeafPodConvertPolicyStatus

type LeafPodConvertPolicyStatus struct {
	// +optional
	CUEScript string `json:"cue,omitempty"`
}

func (*LeafPodConvertPolicyStatus) DeepCopy

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

func (*LeafPodConvertPolicyStatus) DeepCopyInto

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