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: 7 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the act.open-cluster-management-extension.io v1beta1 API group +kubebuilder:object:generate=true +groupName=act.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: "act.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 Action

type Action struct {
	Name       string                   `json:"name"`
	ActionSpec actionv1beta1.ActionSpec `json:"spec"`
}

Action

func (*Action) DeepCopy

func (in *Action) DeepCopy() *Action

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

func (*Action) DeepCopyInto

func (in *Action) DeepCopyInto(out *Action)

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

type ClusterActState

type ClusterActState struct {
	// ManagedCluster Name
	Name string `json:"name"`
	// ManagedClusterActions Status
	//ActionsStatus map[string]string `json:"actionsStatus,omitempty"`
	ActionsStatus string `json:"actionsStatus,omitempty"`
	// ManagedClusterViews Status
	ViewsStatus string `json:"viewsStatus,omitempty"`
}

ClusterActState indicate the selected clusters act status

func (*ClusterActState) DeepCopy

func (in *ClusterActState) DeepCopy() *ClusterActState

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

func (*ClusterActState) DeepCopyInto

func (in *ClusterActState) DeepCopyInto(out *ClusterActState)

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

type ManagedClusterGroupAct

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

	Spec   ManagedClusterGroupActSpec   `json:"spec,omitempty"`
	Status ManagedClusterGroupActStatus `json:"status,omitempty"`
}

ManagedClusterGroupAct is the Schema for the managedclustergroupacts API

func (*ManagedClusterGroupAct) DeepCopy

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

func (*ManagedClusterGroupAct) DeepCopyInto

func (in *ManagedClusterGroupAct) DeepCopyInto(out *ManagedClusterGroupAct)

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

func (*ManagedClusterGroupAct) DeepCopyObject

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

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

type ManagedClusterGroupActList

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

ManagedClusterGroupActList contains a list of ManagedClusterGroupAct

func (*ManagedClusterGroupActList) DeepCopy

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

func (*ManagedClusterGroupActList) DeepCopyInto

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

func (*ManagedClusterGroupActList) DeepCopyObject

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

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

type ManagedClusterGroupActSpec

type ManagedClusterGroupActSpec struct {

	// +optional
	Placement common.GenericPlacementReference `json:"placement,omitempty"`
	// +optional
	common.GenericPlacementFields `json:",inline"`
	// List of ManagedClusterActions to be applied on the selected clusters
	// +optional
	Actions []Action `json:"actions,omitempty"`
	// List of ManagedClusterViews to be applied on the selected clusters
	// +optional
	Views []View `json:"views,omitempty"`
}

ManagedClusterGroupActSpec defines the desired state of ManagedClusterGroupAct

func (*ManagedClusterGroupActSpec) DeepCopy

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

func (*ManagedClusterGroupActSpec) DeepCopyInto

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

type ManagedClusterGroupActStatus

type ManagedClusterGroupActStatus struct {
	//Actions applied to the selected clusters
	AppliedActions string `json:"appliedActions,omitempty"`
	//List of the ManagedClusterGroupAct conditions
	Conditions []metav1.Condition `json:"conditions,omitempty"`
	// List of the selected managedClusters with act status
	Clusters []*ClusterActState `json:"clusters,omitempty"`
}

ManagedClusterGroupActStatus defines the observed state of ManagedClusterGroupAct

func (*ManagedClusterGroupActStatus) DeepCopy

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

func (*ManagedClusterGroupActStatus) DeepCopyInto

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

type View

type View struct {
	Name     string               `json:"name"`
	ViewSpec viewv1beta1.ViewSpec `json:"spec"`
}

View

func (*View) DeepCopy

func (in *View) DeepCopy() *View

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

func (*View) DeepCopyInto

func (in *View) DeepCopyInto(out *View)

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