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
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Resource(resource string) schema.GroupResource
- type BindingStatusPhase
- type FeatureSpec
- type ManagedClusterProfileBinding
- func (v ManagedClusterProfileBinding) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *ManagedClusterProfileBinding) DeepCopy() *ManagedClusterProfileBinding
- func (in *ManagedClusterProfileBinding) DeepCopyInto(out *ManagedClusterProfileBinding)
- func (in *ManagedClusterProfileBinding) DeepCopyObject() runtime.Object
- type ManagedClusterProfileBindingList
- type ManagedClusterProfileBindingSpec
- type ManagedClusterProfileBindingStatus
- type ManagedClusterSetProfile
- func (v ManagedClusterSetProfile) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *ManagedClusterSetProfile) DeepCopy() *ManagedClusterSetProfile
- func (in *ManagedClusterSetProfile) DeepCopyInto(out *ManagedClusterSetProfile)
- func (in *ManagedClusterSetProfile) DeepCopyObject() runtime.Object
- type ManagedClusterSetProfileList
- type ManagedClusterSetProfileSpec
Constants ¶
const ( ResourceKindManagedClusterProfileBinding = "ManagedClusterProfileBinding" ResourceManagedClusterProfileBinding = "managedclusterprofilebinding" ResourceManagedClusterProfileBindings = "managedclusterprofilebindings" )
const ( ResourceKindManagedClusterSetProfile = "ManagedClusterSetProfile" ResourceManagedClusterSetProfile = "managedclustersetprofile" ResourceManagedClusterSetProfiles = "managedclustersetprofiles" )
Variables ¶
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 GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
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 (v ManagedClusterProfileBinding) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*ManagedClusterProfileBinding) DeepCopy ¶
func (in *ManagedClusterProfileBinding) DeepCopy() *ManagedClusterProfileBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProfileBinding.
func (*ManagedClusterProfileBinding) DeepCopyInto ¶
func (in *ManagedClusterProfileBinding) DeepCopyInto(out *ManagedClusterProfileBinding)
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 ¶
func (in *ManagedClusterProfileBindingList) DeepCopy() *ManagedClusterProfileBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProfileBindingList.
func (*ManagedClusterProfileBindingList) DeepCopyInto ¶
func (in *ManagedClusterProfileBindingList) DeepCopyInto(out *ManagedClusterProfileBindingList)
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 ¶
func (in *ManagedClusterProfileBindingSpec) DeepCopy() *ManagedClusterProfileBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProfileBindingSpec.
func (*ManagedClusterProfileBindingSpec) DeepCopyInto ¶
func (in *ManagedClusterProfileBindingSpec) DeepCopyInto(out *ManagedClusterProfileBindingSpec)
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 ¶
func (in *ManagedClusterProfileBindingStatus) DeepCopy() *ManagedClusterProfileBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProfileBindingStatus.
func (*ManagedClusterProfileBindingStatus) DeepCopyInto ¶
func (in *ManagedClusterProfileBindingStatus) DeepCopyInto(out *ManagedClusterProfileBindingStatus)
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 ¶
func (in *ManagedClusterSetProfile) DeepCopy() *ManagedClusterSetProfile
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 ¶
func (in *ManagedClusterSetProfileList) DeepCopy() *ManagedClusterSetProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSetProfileList.
func (*ManagedClusterSetProfileList) DeepCopyInto ¶
func (in *ManagedClusterSetProfileList) DeepCopyInto(out *ManagedClusterSetProfileList)
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 ¶
func (in *ManagedClusterSetProfileSpec) DeepCopy() *ManagedClusterSetProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSetProfileSpec.
func (*ManagedClusterSetProfileSpec) DeepCopyInto ¶
func (in *ManagedClusterSetProfileSpec) DeepCopyInto(out *ManagedClusterSetProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.