v1alpha1

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the multicluster v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=admiralty.io/multicluster-scheduler/pkg/apis/multicluster +k8s:defaulter-gen=TypeMeta +groupName=multicluster.admiralty.io

Package v1alpha1 contains API Schema definitions for the multicluster v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=admiralty.io/multicluster-scheduler/pkg/apis/multicluster +k8s:defaulter-gen=TypeMeta +groupName=multicluster.admiralty.io

Index

Constants

This section is empty.

Variables

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

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

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type ClusterKubeconfigSecret added in v0.10.0

type ClusterKubeconfigSecret struct {
	Namespace string `json:"namespace"`
	Name      string `json:"name"`
	// +optional
	Key string `json:"key,omitempty"`
	// +optional
	Context string `json:"context,omitempty"`
}

func (*ClusterKubeconfigSecret) DeepCopy added in v0.10.0

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

func (*ClusterKubeconfigSecret) DeepCopyInto added in v0.10.0

func (in *ClusterKubeconfigSecret) DeepCopyInto(out *ClusterKubeconfigSecret)

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

type ClusterSource added in v0.10.0

type ClusterSource struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec ClusterSourceSpec `json:"spec,omitempty"`
	// +optional
	Status ClusterSourceStatus `json:"status,omitempty"`
}

ClusterSource is the Schema for the clustersources API +k8s:openapi-gen=true

func (*ClusterSource) DeepCopy added in v0.10.0

func (in *ClusterSource) DeepCopy() *ClusterSource

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

func (*ClusterSource) DeepCopyInto added in v0.10.0

func (in *ClusterSource) DeepCopyInto(out *ClusterSource)

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

func (*ClusterSource) DeepCopyObject added in v0.10.0

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

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

type ClusterSourceList added in v0.10.0

type ClusterSourceList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterSource `json:"items"`
}

ClusterSourceList contains a list of ClusterSource

func (*ClusterSourceList) DeepCopy added in v0.10.0

func (in *ClusterSourceList) DeepCopy() *ClusterSourceList

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

func (*ClusterSourceList) DeepCopyInto added in v0.10.0

func (in *ClusterSourceList) DeepCopyInto(out *ClusterSourceList)

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

func (*ClusterSourceList) DeepCopyObject added in v0.10.0

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

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

type ClusterSourceSpec added in v0.10.0

type ClusterSourceSpec struct {
	// +optional
	UserName string `json:"userName,omitempty"`
	// +optional
	ServiceAccount *ServiceAccountReference `json:"serviceAccount,omitempty"`
}

func (*ClusterSourceSpec) DeepCopy added in v0.10.0

func (in *ClusterSourceSpec) DeepCopy() *ClusterSourceSpec

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

func (*ClusterSourceSpec) DeepCopyInto added in v0.10.0

func (in *ClusterSourceSpec) DeepCopyInto(out *ClusterSourceSpec)

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

type ClusterSourceStatus added in v0.10.0

type ClusterSourceStatus struct {
}

func (*ClusterSourceStatus) DeepCopy added in v0.10.0

func (in *ClusterSourceStatus) DeepCopy() *ClusterSourceStatus

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

func (*ClusterSourceStatus) DeepCopyInto added in v0.10.0

func (in *ClusterSourceStatus) DeepCopyInto(out *ClusterSourceStatus)

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

type ClusterSummary added in v0.10.0

type ClusterSummary struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Capacity v1.ResourceList `json:"capacity,omitempty"`
	// +optional
	Allocatable v1.ResourceList `json:"allocatable,omitempty"`
}

ClusterSummary is the Schema for the clustersummaries API

func (*ClusterSummary) DeepCopy added in v0.10.0

func (in *ClusterSummary) DeepCopy() *ClusterSummary

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

func (*ClusterSummary) DeepCopyInto added in v0.10.0

func (in *ClusterSummary) DeepCopyInto(out *ClusterSummary)

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

func (*ClusterSummary) DeepCopyObject added in v0.10.0

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

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

type ClusterSummaryList added in v0.10.0

type ClusterSummaryList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterSummary `json:"items"`
}

ClusterSummaryList contains a list of ClusterSummary

func (*ClusterSummaryList) DeepCopy added in v0.10.0

func (in *ClusterSummaryList) DeepCopy() *ClusterSummaryList

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

func (*ClusterSummaryList) DeepCopyInto added in v0.10.0

func (in *ClusterSummaryList) DeepCopyInto(out *ClusterSummaryList)

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

func (*ClusterSummaryList) DeepCopyObject added in v0.10.0

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

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

type ClusterTarget added in v0.10.0

type ClusterTarget struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec ClusterTargetSpec `json:"spec,omitempty"`
	// +optional
	Status ClusterTargetStatus `json:"status,omitempty"`
}

ClusterTarget is the Schema for the clustertargets API +k8s:openapi-gen=true

func (*ClusterTarget) DeepCopy added in v0.10.0

func (in *ClusterTarget) DeepCopy() *ClusterTarget

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

func (*ClusterTarget) DeepCopyInto added in v0.10.0

func (in *ClusterTarget) DeepCopyInto(out *ClusterTarget)

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

func (*ClusterTarget) DeepCopyObject added in v0.10.0

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

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

type ClusterTargetList added in v0.10.0

type ClusterTargetList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterTarget `json:"items"`
}

ClusterTargetList contains a list of ClusterTarget

func (*ClusterTargetList) DeepCopy added in v0.10.0

func (in *ClusterTargetList) DeepCopy() *ClusterTargetList

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

func (*ClusterTargetList) DeepCopyInto added in v0.10.0

func (in *ClusterTargetList) DeepCopyInto(out *ClusterTargetList)

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

func (*ClusterTargetList) DeepCopyObject added in v0.10.0

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

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

type ClusterTargetSpec added in v0.10.0

type ClusterTargetSpec struct {
	// +optional
	Self bool `json:"self,omitempty"`
	// +optional
	KubeconfigSecret *ClusterKubeconfigSecret `json:"kubeconfigSecret,omitempty"`
	// +optional
	ExcludedLabelsRegexp *string `json:"excludedLabelsRegexp,omitempty"`
}

func (*ClusterTargetSpec) DeepCopy added in v0.10.0

func (in *ClusterTargetSpec) DeepCopy() *ClusterTargetSpec

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

func (*ClusterTargetSpec) DeepCopyInto added in v0.10.0

func (in *ClusterTargetSpec) DeepCopyInto(out *ClusterTargetSpec)

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

type ClusterTargetStatus added in v0.10.0

type ClusterTargetStatus struct {
}

func (*ClusterTargetStatus) DeepCopy added in v0.10.0

func (in *ClusterTargetStatus) DeepCopy() *ClusterTargetStatus

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

func (*ClusterTargetStatus) DeepCopyInto added in v0.10.0

func (in *ClusterTargetStatus) DeepCopyInto(out *ClusterTargetStatus)

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

type KubeconfigSecret added in v0.10.0

type KubeconfigSecret struct {
	Name string `json:"name"`
	// +optional
	Key string `json:"key,omitempty"`
	// +optional
	Context string `json:"context,omitempty"`
}

func (*KubeconfigSecret) DeepCopy added in v0.10.0

func (in *KubeconfigSecret) DeepCopy() *KubeconfigSecret

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

func (*KubeconfigSecret) DeepCopyInto added in v0.10.0

func (in *KubeconfigSecret) DeepCopyInto(out *KubeconfigSecret)

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

type PodChaperon added in v0.8.0

type PodChaperon struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec v1.PodSpec `json:"spec,omitempty"`
	// +optional
	Status v1.PodStatus `json:"status,omitempty"`
}

PodChaperon is the Schema for the podchaperons API

func (*PodChaperon) DeepCopy added in v0.8.0

func (in *PodChaperon) DeepCopy() *PodChaperon

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

func (*PodChaperon) DeepCopyInto added in v0.8.0

func (in *PodChaperon) DeepCopyInto(out *PodChaperon)

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

func (*PodChaperon) DeepCopyObject added in v0.8.0

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

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

type PodChaperonList added in v0.8.0

type PodChaperonList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PodChaperon `json:"items"`
}

PodChaperonList contains a list of PodChaperon

func (*PodChaperonList) DeepCopy added in v0.8.0

func (in *PodChaperonList) DeepCopy() *PodChaperonList

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

func (*PodChaperonList) DeepCopyInto added in v0.8.0

func (in *PodChaperonList) DeepCopyInto(out *PodChaperonList)

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

func (*PodChaperonList) DeepCopyObject added in v0.8.0

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

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

type ServiceAccountReference added in v0.10.0

type ServiceAccountReference struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

func (*ServiceAccountReference) DeepCopy added in v0.10.0

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

func (*ServiceAccountReference) DeepCopyInto added in v0.10.0

func (in *ServiceAccountReference) DeepCopyInto(out *ServiceAccountReference)

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

type Source added in v0.10.0

type Source struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec SourceSpec `json:"spec,omitempty"`
	// +optional
	Status SourceStatus `json:"status,omitempty"`
}

Source is the Schema for the sources API +k8s:openapi-gen=true

func (*Source) DeepCopy added in v0.10.0

func (in *Source) DeepCopy() *Source

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

func (*Source) DeepCopyInto added in v0.10.0

func (in *Source) DeepCopyInto(out *Source)

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

func (*Source) DeepCopyObject added in v0.10.0

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

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

type SourceList added in v0.10.0

type SourceList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Source `json:"items"`
}

SourceList contains a list of Source

func (*SourceList) DeepCopy added in v0.10.0

func (in *SourceList) DeepCopy() *SourceList

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

func (*SourceList) DeepCopyInto added in v0.10.0

func (in *SourceList) DeepCopyInto(out *SourceList)

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

func (*SourceList) DeepCopyObject added in v0.10.0

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

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

type SourceSpec added in v0.10.0

type SourceSpec struct {
	// +optional
	UserName string `json:"userName,omitempty"`
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty"`
}

func (*SourceSpec) DeepCopy added in v0.10.0

func (in *SourceSpec) DeepCopy() *SourceSpec

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

func (*SourceSpec) DeepCopyInto added in v0.10.0

func (in *SourceSpec) DeepCopyInto(out *SourceSpec)

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

type SourceStatus added in v0.10.0

type SourceStatus struct {
}

func (*SourceStatus) DeepCopy added in v0.10.0

func (in *SourceStatus) DeepCopy() *SourceStatus

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

func (*SourceStatus) DeepCopyInto added in v0.10.0

func (in *SourceStatus) DeepCopyInto(out *SourceStatus)

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

type Target added in v0.10.0

type Target struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec TargetSpec `json:"spec,omitempty"`
	// +optional
	Status TargetStatus `json:"status,omitempty"`
}

Target is the Schema for the targets API +k8s:openapi-gen=true

func (*Target) DeepCopy added in v0.10.0

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto added in v0.10.0

func (in *Target) DeepCopyInto(out *Target)

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

func (*Target) DeepCopyObject added in v0.10.0

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

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

type TargetList added in v0.10.0

type TargetList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Target `json:"items"`
}

TargetList contains a list of Target

func (*TargetList) DeepCopy added in v0.10.0

func (in *TargetList) DeepCopy() *TargetList

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

func (*TargetList) DeepCopyInto added in v0.10.0

func (in *TargetList) DeepCopyInto(out *TargetList)

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

func (*TargetList) DeepCopyObject added in v0.10.0

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

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

type TargetSpec added in v0.10.0

type TargetSpec struct {
	// +optional
	Self bool `json:"self,omitempty"`
	// +optional
	KubeconfigSecret *KubeconfigSecret `json:"kubeconfigSecret,omitempty"`
	// +optional
	ExcludedLabelsRegexp *string `json:"excludedLabelsRegexp,omitempty"`
}

func (*TargetSpec) DeepCopy added in v0.10.0

func (in *TargetSpec) DeepCopy() *TargetSpec

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

func (*TargetSpec) DeepCopyInto added in v0.10.0

func (in *TargetSpec) DeepCopyInto(out *TargetSpec)

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

type TargetStatus added in v0.10.0

type TargetStatus struct {
}

func (*TargetStatus) DeepCopy added in v0.10.0

func (in *TargetStatus) DeepCopy() *TargetStatus

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

func (*TargetStatus) DeepCopyInto added in v0.10.0

func (in *TargetStatus) DeepCopyInto(out *TargetStatus)

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