v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=profile.k8s.appscode.com

Package v1alpha1 contains API Schema definitions for the profile v1alpha1 API group +kubebuilder:object:generate=true +groupName=profile.k8s.appscode.com

Index

Constants

View Source
const (
	ResourceKindManagedClusterProfileBinding = "ManagedClusterProfileBinding"
	ResourceManagedClusterProfileBinding     = "managedclusterprofilebinding"
	ResourceManagedClusterProfileBindings    = "managedclusterprofilebindings"
)
View Source
const (
	ResourceKindManagedClusterSetProfile = "ManagedClusterSetProfile"
	ResourceManagedClusterSetProfile     = "managedclustersetprofile"
	ResourceManagedClusterSetProfiles    = "managedclustersetprofiles"
)

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "profile.k8s.appscode.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type BindingStatusPhase

type BindingStatusPhase string
const (
	BindingStatusPhaseInProgress BindingStatusPhase = "InProgress"
	BindingStatusPhaseCurrent    BindingStatusPhase = "Current"
	BindingStatusPhaseFailed     BindingStatusPhase = "Failed"
)

type FeatureSpec

type FeatureSpec struct {
	// +optional
	FeatureSet string `json:"featureSet,omitempty"`
	// Chart specifies the chart information that will be used by the FluxCD to install the respective feature
	// +optional
	Chart uiapi.ChartInfo `json:"chart,omitempty"`
	// ValuesFrom holds references to resources containing Helm values for this HelmRelease,
	// and information about how they should be merged.
	ValuesFrom []uiapi.ValuesReference `json:"valuesFrom,omitempty"`
	// Values holds the values for this Helm release.
	// +optional
	Values *apiextensionsv1.JSON `json:"values,omitempty"`
}

func (*FeatureSpec) DeepCopy

func (in *FeatureSpec) DeepCopy() *FeatureSpec

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

func (*FeatureSpec) DeepCopyInto

func (in *FeatureSpec) DeepCopyInto(out *FeatureSpec)

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

type ManagedClusterProfileBinding

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

	Spec   ManagedClusterProfileBindingSpec   `json:"spec,omitempty"`
	Status ManagedClusterProfileBindingStatus `json:"status,omitempty"`
}

ManagedClusterProfileBinding is the Schema for the managedclusterprofilebindings API

func (ManagedClusterProfileBinding) CustomResourceDefinition

func (*ManagedClusterProfileBinding) DeepCopy

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

func (*ManagedClusterProfileBinding) DeepCopyInto

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

func (*ManagedClusterProfileBinding) DeepCopyObject

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

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

type ManagedClusterProfileBindingList

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

ManagedClusterProfileBindingList contains a list of ManagedClusterProfileBinding

func (*ManagedClusterProfileBindingList) DeepCopy

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

func (*ManagedClusterProfileBindingList) DeepCopyInto

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

func (*ManagedClusterProfileBindingList) DeepCopyObject

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

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

type ManagedClusterProfileBindingSpec

type ManagedClusterProfileBindingSpec struct {
	ProfileRef      core.LocalObjectReference `json:"profileRef"`
	ClusterMetadata kmapi.ClusterInfo         `json:"clusterMetadata"`
}

ManagedClusterProfileBindingSpec defines the desired state of ManagedClusterProfileBinding

func (*ManagedClusterProfileBindingSpec) DeepCopy

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

func (*ManagedClusterProfileBindingSpec) DeepCopyInto

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

type ManagedClusterProfileBindingStatus

type ManagedClusterProfileBindingStatus struct {
	// Phase indicates the state this Vault cluster jumps in.
	// +optional
	Phase BindingStatusPhase `json:"phase,omitempty"`
	// Represents the latest available observations of a GrafanaDashboard current state.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
	// ObservedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64             `json:"observedGeneration,omitempty"`
	ManifestWorks      map[string]string `json:"manifestWorks,omitempty"`
}

ManagedClusterProfileBindingStatus defines the observed state of ManagedClusterProfileBinding

func (*ManagedClusterProfileBindingStatus) DeepCopy

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

func (*ManagedClusterProfileBindingStatus) DeepCopyInto

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

type ManagedClusterSetProfile

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

	Spec ManagedClusterSetProfileSpec `json:"spec,omitempty"`
}

ManagedClusterSetProfile is the Schema for the managedclustersetprofiles API

func (ManagedClusterSetProfile) CustomResourceDefinition

func (v ManagedClusterSetProfile) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*ManagedClusterSetProfile) DeepCopy

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

func (*ManagedClusterSetProfile) DeepCopyInto

func (in *ManagedClusterSetProfile) DeepCopyInto(out *ManagedClusterSetProfile)

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

func (*ManagedClusterSetProfile) DeepCopyObject

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

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

type ManagedClusterSetProfileList

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

ManagedClusterSetProfileList contains a list of ManagedClusterSetProfile

func (*ManagedClusterSetProfileList) DeepCopy

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

func (*ManagedClusterSetProfileList) DeepCopyInto

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

func (*ManagedClusterSetProfileList) DeepCopyObject

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

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

type ManagedClusterSetProfileSpec

type ManagedClusterSetProfileSpec struct {
	Namespaces []string               `json:"namespaces,omitempty"`
	Features   map[string]FeatureSpec `json:"features,omitempty"`
}

ManagedClusterSetProfileSpec defines the desired state of ManagedClusterSetProfile

func (*ManagedClusterSetProfileSpec) DeepCopy

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

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