v1beta1

package
v0.0.0-...-86260ac Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "work.open-cluster-management-extension.io", Version: "v1beta1"}

	// 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 ClusterWorkState

type ClusterWorkState struct {
	// ManagedCluster Name
	Name string `json:"name"`
	// ManagedCluster manifest work resources state
	ManifestState string `json:"manifestState,omitempty"`
}

ClusterWorkState indicate the selected clusters manifest work status

func (*ClusterWorkState) DeepCopy

func (in *ClusterWorkState) DeepCopy() *ClusterWorkState

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

func (*ClusterWorkState) DeepCopyInto

func (in *ClusterWorkState) DeepCopyInto(out *ClusterWorkState)

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

type ManagedClusterGroupWork

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

	Spec   ManagedClusterGroupWorkSpec   `json:"spec,omitempty"`
	Status ManagedClusterGroupWorkStatus `json:"status,omitempty"`
}

ManagedClusterGroupWork is the Schema for the managedclustergroupworks API

func (*ManagedClusterGroupWork) DeepCopy

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

func (*ManagedClusterGroupWork) DeepCopyInto

func (in *ManagedClusterGroupWork) DeepCopyInto(out *ManagedClusterGroupWork)

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

func (*ManagedClusterGroupWork) DeepCopyObject

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

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

type ManagedClusterGroupWorkList

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

ManagedClusterGroupWorkList contains a list of ManagedClusterGroupWork

func (*ManagedClusterGroupWorkList) DeepCopy

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

func (*ManagedClusterGroupWorkList) DeepCopyInto

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

func (*ManagedClusterGroupWorkList) DeepCopyObject

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

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

type ManagedClusterGroupWorkSpec

type ManagedClusterGroupWorkSpec struct {

	// +optional
	Placement common.GenericPlacementReference `json:"placement,omitempty"`
	// +optional
	common.GenericPlacementFields `json:",inline"`
	// List of manifestWorks to be applied on the selected clusters
	// +optional
	ManifestWork workv1.ManifestWorkSpec `json:"manifestWork,omitempty"`
}

ManagedClusterGroupWorkSpec defines the desired state of ManagedClusterGroupWork

func (*ManagedClusterGroupWorkSpec) DeepCopy

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

func (*ManagedClusterGroupWorkSpec) DeepCopyInto

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

type ManagedClusterGroupWorkStatus

type ManagedClusterGroupWorkStatus struct {

	//List of the ManagedClusterGroupAct conditions
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// List of the selected managedClusters with act status
	Clusters []*ClusterWorkState `json:"clusters,omitempty"`
}

ManagedClusterGroupWorkStatus defines the observed state of ManagedClusterGroupWork

func (*ManagedClusterGroupWorkStatus) DeepCopy

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

func (*ManagedClusterGroupWorkStatus) 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