multicluster-scheduler: admiralty.io/multicluster-scheduler/pkg/apis/multicluster/v1alpha1 Index | Files

package v1alpha1

import "admiralty.io/multicluster-scheduler/pkg/apis/multicluster/v1alpha1"

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

Package Files

clustersource_types.go clustersummary_types.go clustertarget_types.go doc.go podchaperon_types.go register.go source_types.go target_types.go zz_generated.deepcopy.go

Variables

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
)

func Resource Uses

func Resource(resource string) schema.GroupResource

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

type ClusterKubeconfigSecret Uses

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 Uses

func (in *ClusterKubeconfigSecret) DeepCopy() *ClusterKubeconfigSecret

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

func (*ClusterKubeconfigSecret) DeepCopyInto Uses

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 Uses

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 Uses

func (in *ClusterSource) DeepCopy() *ClusterSource

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

func (*ClusterSource) DeepCopyInto Uses

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 Uses

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

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

type ClusterSourceList Uses

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 Uses

func (in *ClusterSourceList) DeepCopy() *ClusterSourceList

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

func (*ClusterSourceList) DeepCopyInto Uses

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 Uses

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

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

type ClusterSourceSpec Uses

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

func (*ClusterSourceSpec) DeepCopy Uses

func (in *ClusterSourceSpec) DeepCopy() *ClusterSourceSpec

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

func (*ClusterSourceSpec) DeepCopyInto Uses

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 Uses

type ClusterSourceStatus struct {
}

func (*ClusterSourceStatus) DeepCopy Uses

func (in *ClusterSourceStatus) DeepCopy() *ClusterSourceStatus

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

func (*ClusterSourceStatus) DeepCopyInto Uses

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 Uses

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 Uses

func (in *ClusterSummary) DeepCopy() *ClusterSummary

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

func (*ClusterSummary) DeepCopyInto Uses

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 Uses

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

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

type ClusterSummaryList Uses

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 Uses

func (in *ClusterSummaryList) DeepCopy() *ClusterSummaryList

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

func (*ClusterSummaryList) DeepCopyInto Uses

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 Uses

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

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

type ClusterTarget Uses

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 Uses

func (in *ClusterTarget) DeepCopy() *ClusterTarget

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

func (*ClusterTarget) DeepCopyInto Uses

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 Uses

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

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

type ClusterTargetList Uses

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 Uses

func (in *ClusterTargetList) DeepCopy() *ClusterTargetList

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

func (*ClusterTargetList) DeepCopyInto Uses

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 Uses

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

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

type ClusterTargetSpec Uses

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

func (*ClusterTargetSpec) DeepCopy Uses

func (in *ClusterTargetSpec) DeepCopy() *ClusterTargetSpec

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

func (*ClusterTargetSpec) DeepCopyInto Uses

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 Uses

type ClusterTargetStatus struct {
}

func (*ClusterTargetStatus) DeepCopy Uses

func (in *ClusterTargetStatus) DeepCopy() *ClusterTargetStatus

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

func (*ClusterTargetStatus) DeepCopyInto Uses

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 Uses

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

func (*KubeconfigSecret) DeepCopy Uses

func (in *KubeconfigSecret) DeepCopy() *KubeconfigSecret

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

func (*KubeconfigSecret) DeepCopyInto Uses

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 Uses

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 Uses

func (in *PodChaperon) DeepCopy() *PodChaperon

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

func (*PodChaperon) DeepCopyInto Uses

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 Uses

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

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

type PodChaperonList Uses

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 Uses

func (in *PodChaperonList) DeepCopy() *PodChaperonList

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

func (*PodChaperonList) DeepCopyInto Uses

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 Uses

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

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

type ServiceAccountReference Uses

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

func (*ServiceAccountReference) DeepCopy Uses

func (in *ServiceAccountReference) DeepCopy() *ServiceAccountReference

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

func (*ServiceAccountReference) DeepCopyInto Uses

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 Uses

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 Uses

func (in *Source) DeepCopy() *Source

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

func (*Source) DeepCopyInto Uses

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 Uses

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

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

type SourceList Uses

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 Uses

func (in *SourceList) DeepCopy() *SourceList

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

func (*SourceList) DeepCopyInto Uses

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 Uses

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

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

type SourceSpec Uses

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

func (*SourceSpec) DeepCopy Uses

func (in *SourceSpec) DeepCopy() *SourceSpec

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

func (*SourceSpec) DeepCopyInto Uses

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 Uses

type SourceStatus struct {
}

func (*SourceStatus) DeepCopy Uses

func (in *SourceStatus) DeepCopy() *SourceStatus

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

func (*SourceStatus) DeepCopyInto Uses

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 Uses

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 Uses

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto Uses

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 Uses

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

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

type TargetList Uses

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 Uses

func (in *TargetList) DeepCopy() *TargetList

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

func (*TargetList) DeepCopyInto Uses

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 Uses

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

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

type TargetSpec Uses

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

func (*TargetSpec) DeepCopy Uses

func (in *TargetSpec) DeepCopy() *TargetSpec

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

func (*TargetSpec) DeepCopyInto Uses

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 Uses

type TargetStatus struct {
}

func (*TargetStatus) DeepCopy Uses

func (in *TargetStatus) DeepCopy() *TargetStatus

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

func (*TargetStatus) DeepCopyInto Uses

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

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

Package v1alpha1 imports 5 packages (graph) and is imported by 15 packages. Updated 2020-09-25. Refresh now. Tools for package owners.