v1alpha1

package
v0.0.0-...-f60eec5 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cluster.open-cluster-management.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 HubControlPlane

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

	Spec   HubControlPlaneSpec   `json:"spec,omitempty"`
	Status HubControlPlaneStatus `json:"status,omitempty"`
}

HubControlPlane is the Schema for the hubcontrolplanes API

func (*HubControlPlane) DeepCopy

func (in *HubControlPlane) DeepCopy() *HubControlPlane

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

func (*HubControlPlane) DeepCopyInto

func (in *HubControlPlane) DeepCopyInto(out *HubControlPlane)

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

func (*HubControlPlane) DeepCopyObject

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

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

type HubControlPlaneList

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

HubControlPlaneList contains a list of HubControlPlane

func (*HubControlPlaneList) DeepCopy

func (in *HubControlPlaneList) DeepCopy() *HubControlPlaneList

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

func (*HubControlPlaneList) DeepCopyInto

func (in *HubControlPlaneList) DeepCopyInto(out *HubControlPlaneList)

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

func (*HubControlPlaneList) DeepCopyObject

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

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

type HubControlPlaneSpec

type HubControlPlaneSpec struct {
	Endpoint string `json:"endpoint,omitempty"`
}

HubControlPlaneSpec defines the desired state of HubControlPlane

func (*HubControlPlaneSpec) DeepCopy

func (in *HubControlPlaneSpec) DeepCopy() *HubControlPlaneSpec

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

func (*HubControlPlaneSpec) DeepCopyInto

func (in *HubControlPlaneSpec) DeepCopyInto(out *HubControlPlaneSpec)

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

type HubControlPlaneStatus

type HubControlPlaneStatus struct {
	Addons          []string              `json:"addons,omitempty"`
	ManagedClusters ManagedClustersStatus `json:"managedClusters,omitempty"`
}

HubControlPlaneStatus defines the observed state of HubControlPlane

func (*HubControlPlaneStatus) DeepCopy

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

func (*HubControlPlaneStatus) DeepCopyInto

func (in *HubControlPlaneStatus) DeepCopyInto(out *HubControlPlaneStatus)

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

type ManagedClustersStatus

type ManagedClustersStatus struct {
	Available   []string `json:"available,omitempty"`
	Unavailable []string `json:"unavailable,omitempty"`
	Unknown     []string `json:"unknown,omitempty"`
}

ManagedClustersStatus defines managed clusters with available, unavailable and unknown status

func (*ManagedClustersStatus) DeepCopy

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

func (*ManagedClustersStatus) DeepCopyInto

func (in *ManagedClustersStatus) DeepCopyInto(out *ManagedClustersStatus)

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