v1alpha1

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the action v1alpha1 API group +kubebuilder:object:generate=true +groupName=cluster.open-cluster-management.io

Index

Constants

This section is empty.

Variables

View Source
var (
	GroupName = "cluster.open-cluster-management.io"

	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: GroupName, 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 MirroredManagedCluster

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

	// Spec represents a desired configuration for the agent on the managed cluster.
	Spec clusterv1.ManagedClusterSpec `json:"spec"`

	// Status represents the current status of joined managed cluster
	// +optional
	Status clusterv1.ManagedClusterStatus `json:"status,omitempty"`
}

MirroredManagedCluster is a mirror of a managed cluster in namespace scope. It is ready only and keeps synced with the managed cluster it mirrored.

func (*MirroredManagedCluster) DeepCopy

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

func (*MirroredManagedCluster) DeepCopyInto

func (in *MirroredManagedCluster) DeepCopyInto(out *MirroredManagedCluster)

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

func (*MirroredManagedCluster) DeepCopyObject

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

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

type MirroredManagedClusterList

type MirroredManagedClusterList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

	// Items is a list of mirrored managed clusters.
	Items []MirroredManagedCluster `json:"items"`
}

MirroredManagedClusterList is a collection of mirrored managed clusters.

func (*MirroredManagedClusterList) DeepCopy

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

func (*MirroredManagedClusterList) DeepCopyInto

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

func (*MirroredManagedClusterList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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