v1beta1

package
v0.0.0-...-f89bcde Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Overview

Package v1beta1 contains API Schema definitions for the kmm v1beta1 API group +kubebuilder:object:generate=true +groupName=hub.kmm.sigs.x-k8s.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "hub.kmm.sigs.x-k8s.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 ManagedClusterModule

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

	Spec   ManagedClusterModuleSpec   `json:"spec,omitempty"`
	Status ManagedClusterModuleStatus `json:"status,omitempty"`
}

ManagedClusterModule describes how to load a kernel module on managed clusters +operator-sdk:csv:customresourcedefinitions:displayName="Managed Cluster Module"

func (*ManagedClusterModule) DeepCopy

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

func (*ManagedClusterModule) DeepCopyInto

func (in *ManagedClusterModule) DeepCopyInto(out *ManagedClusterModule)

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

func (*ManagedClusterModule) DeepCopyObject

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

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

type ManagedClusterModuleList

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

ManagedClusterModuleList contains a list of ManagedClusterModule

func (*ManagedClusterModuleList) DeepCopy

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

func (*ManagedClusterModuleList) DeepCopyInto

func (in *ManagedClusterModuleList) DeepCopyInto(out *ManagedClusterModuleList)

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

func (*ManagedClusterModuleList) DeepCopyObject

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

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

type ManagedClusterModuleSpec

type ManagedClusterModuleSpec struct {
	// ModuleSpec describes how the KMM operator should deploy a Module on those nodes that need it.
	ModuleSpec kmmv1beta1.ModuleSpec `json:"moduleSpec,omitempty"`

	// SpokeNamespace describes the Spoke namespace, in which the ModuleSpec should be applied.
	SpokeNamespace string `json:"spokeNamespace"`

	// Selector describes on which managed clusters the ModuleSpec should be applied.
	Selector map[string]string `json:"selector"`
}

ManagedClusterModuleSpec defines the desired state of ManagedClusterModule

func (*ManagedClusterModuleSpec) DeepCopy

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

func (*ManagedClusterModuleSpec) DeepCopyInto

func (in *ManagedClusterModuleSpec) DeepCopyInto(out *ManagedClusterModuleSpec)

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

type ManagedClusterModuleStatus

type ManagedClusterModuleStatus struct {
	// Number of ManifestWorks to be applied.
	NumberDesired int32 `json:"numberDesired,omitempty"`

	// Number of ManifestWorks that have been successfully applied.
	NumberApplied int32 `json:"numberApplied,omitempty"`

	// Number of ManifestWorks that could not be successfully applied.
	NumberDegraded int32 `json:"numberDegraded,omitempty"`
}

ManagedClusterModuleStatus defines the observed state of ManagedClusterModule.

func (*ManagedClusterModuleStatus) DeepCopy

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

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