Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +groupName=ui.k8s.appscode.com
Index ¶
- Constants
- Variables
- func FormatMetadata(data []byte) ([]byte, error)
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Resource(resource string) schema.GroupResource
- type ActionTemplate
- type ActionTemplateGroup
- type ChartInfo
- type ComponentStatus
- type Dashboard
- type DashboardProvider
- type DependentFeatureSet
- type Dependents
- type Feature
- type FeatureList
- type FeatureSet
- type FeatureSetList
- type FeatureSetSpec
- type FeatureSetStatus
- type FeatureSpec
- type FeatureStatus
- type PanelLinkRequest
- type ReadinessChecks
- type Requirements
- type ResourceDashboard
- type ResourceDashboardList
- type ResourceDashboardSpec
- type ResourceEditor
- type ResourceEditorList
- type ResourceEditorSpec
- type UIParameters
- type VariantRef
- type WorkloadInfo
- type YAMLFormatter
Constants ¶
const ( ResourceKindFeature = "Feature" ResourceFeature = "feature" ResourceFeatures = "features" )
const ( ResourceKindFeatureSet = "FeatureSet" ResourceFeatureSet = "featureset" ResourceFeatureSets = "featuresets" )
const ( ResourceKindResourceDashboard = "ResourceDashboard" ResourceResourceDashboard = "resourcedashboard" ResourceResourceDashboards = "resourcedashboards" )
const ( ResourceKindResourceEditor = "ResourceEditor" ResourceResourceEditor = "resourceeditor" ResourceResourceEditors = "resourceeditors" )
const ( ObjectMetaSchema = `` /* 1545-byte string literal not displayed */ ObjectMetaFullSchema = `` /* 11089-byte string literal not displayed */ )
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: ui.GroupName, Version: "v1alpha1"}
Functions ¶
func FormatMetadata ¶
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 ActionTemplate ¶ added in v0.14.1
type ActionTemplate struct { shared.ActionInfo `json:",inline,omitempty"` // +optional Icons []helmshared.ImageSpec `json:"icons,omitempty"` OperationID string `json:"operationId"` Flow string `json:"flow"` DisabledTemplate string `json:"disabledTemplate,omitempty"` Editor *releasesapi.ChartSourceRef `json:"editor,omitempty"` EnforceQuota bool `json:"enforceQuota"` }
func (*ActionTemplate) DeepCopy ¶ added in v0.14.1
func (in *ActionTemplate) DeepCopy() *ActionTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionTemplate.
func (*ActionTemplate) DeepCopyInto ¶ added in v0.14.1
func (in *ActionTemplate) DeepCopyInto(out *ActionTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActionTemplateGroup ¶ added in v0.14.1
type ActionTemplateGroup struct { shared.ActionInfo `json:",inline,omitempty"` Items []ActionTemplate `json:"items"` }
func (*ActionTemplateGroup) DeepCopy ¶ added in v0.14.1
func (in *ActionTemplateGroup) DeepCopy() *ActionTemplateGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionTemplateGroup.
func (*ActionTemplateGroup) DeepCopyInto ¶ added in v0.14.1
func (in *ActionTemplateGroup) DeepCopyInto(out *ActionTemplateGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartInfo ¶ added in v0.16.0
type ChartInfo struct { // Name specifies the name of the chart Name string `json:"name"` // Namespace where the respective feature resources will be deployed. // +optional Namespace string `json:"namespace,omitempty"` // Version specifies the version of the chart. // +optional Version string `json:"version,omitempty"` // SourceRef specifies the source of the chart SourceRef v1.TypedObjectReference `json:"sourceRef"` }
func (*ChartInfo) DeepCopy ¶ added in v0.16.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartInfo.
func (*ChartInfo) DeepCopyInto ¶ added in v0.16.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentStatus ¶ added in v0.15.0
type ComponentStatus struct { // Name specify the name of the component feature. Name string `json:"name"` // Enabled specifies whether the component feature has been enabled or not. // +optional Enabled *bool `json:"enabled,omitempty"` // Ready specifies whether the component feature is ready or not. // +optional Ready *bool `json:"ready,omitempty"` // Managed specifies whether the component is managed by platform or not. // +optional Managed *bool `json:"managed,omitempty"` }
func (*ComponentStatus) DeepCopy ¶ added in v0.15.0
func (in *ComponentStatus) DeepCopy() *ComponentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
func (*ComponentStatus) DeepCopyInto ¶ added in v0.15.0
func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Dashboard ¶ added in v0.16.0
type Dashboard struct { // +optional Title string `json:"title,omitempty"` // +optional Vars []shared.DashboardVar `json:"vars,omitempty"` // +optional Panels []PanelLinkRequest `json:"panels,omitempty"` // +optional If *shared.If `json:"if,omitempty"` }
func (*Dashboard) DeepCopy ¶ added in v0.16.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dashboard.
func (*Dashboard) DeepCopyInto ¶ added in v0.16.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardProvider ¶
type DashboardProvider string
+kubebuilder:validation:Enum=Grafana
const (
DashboardProviderGrafana DashboardProvider = "Grafana"
)
type DependentFeatureSet ¶ added in v0.17.9
type DependentFeatureSet struct { // Name specifies the name of the dependent FeatureSet Name string `json:"name,omitempty"` // Features specifies the Feature names of the dependent FeatureSet Features []string `json:"features,omitempty"` }
func (*DependentFeatureSet) DeepCopy ¶ added in v0.17.9
func (in *DependentFeatureSet) DeepCopy() *DependentFeatureSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependentFeatureSet.
func (*DependentFeatureSet) DeepCopyInto ¶ added in v0.17.9
func (in *DependentFeatureSet) DeepCopyInto(out *DependentFeatureSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Dependents ¶ added in v0.17.9
type Dependents struct { // FeatureSets specifies a list of FeatureSet names that depend on this FeatureSet // +optional FeatureSets []DependentFeatureSet `json:"featureSets,omitempty"` }
func (*Dependents) DeepCopy ¶ added in v0.17.9
func (in *Dependents) DeepCopy() *Dependents
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dependents.
func (*Dependents) DeepCopyInto ¶ added in v0.17.9
func (in *Dependents) DeepCopyInto(out *Dependents)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Feature ¶ added in v0.15.0
type Feature struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Spec FeatureSpec `json:"spec,omitempty"` Status FeatureStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=features,singular=feature,scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Enabled",type="boolean",JSONPath=".status.enabled" +kubebuilder:printcolumn:name="Managed",type="boolean",JSONPath=".status.managed" +kubebuilder:printcolumn:name="Ready",type="boolean",JSONPath=".status.ready" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (Feature) CustomResourceDefinition ¶ added in v0.15.0
func (v Feature) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*Feature) DeepCopy ¶ added in v0.15.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Feature.
func (*Feature) DeepCopyInto ¶ added in v0.15.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Feature) DeepCopyObject ¶ added in v0.15.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FeatureList ¶ added in v0.15.0
type FeatureList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Feature `json:"items,omitempty"` }
func (*FeatureList) DeepCopy ¶ added in v0.15.0
func (in *FeatureList) DeepCopy() *FeatureList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureList.
func (*FeatureList) DeepCopyInto ¶ added in v0.15.0
func (in *FeatureList) DeepCopyInto(out *FeatureList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FeatureList) DeepCopyObject ¶ added in v0.15.0
func (in *FeatureList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FeatureSet ¶ added in v0.15.0
type FeatureSet struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Spec FeatureSetSpec `json:"spec,omitempty"` Status FeatureSetStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=featuresets,singular=featureset,scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Required",type="boolean",JSONPath=".spec.required" +kubebuilder:printcolumn:name="Enabled",type="boolean",JSONPath=".status.enabled" +kubebuilder:printcolumn:name="Ready",type="boolean",JSONPath=".status.ready" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (FeatureSet) CustomResourceDefinition ¶ added in v0.15.0
func (v FeatureSet) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*FeatureSet) DeepCopy ¶ added in v0.15.0
func (in *FeatureSet) DeepCopy() *FeatureSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSet.
func (*FeatureSet) DeepCopyInto ¶ added in v0.15.0
func (in *FeatureSet) DeepCopyInto(out *FeatureSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FeatureSet) DeepCopyObject ¶ added in v0.15.0
func (in *FeatureSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FeatureSetList ¶ added in v0.15.0
type FeatureSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FeatureSet `json:"items,omitempty"` }
func (*FeatureSetList) DeepCopy ¶ added in v0.15.0
func (in *FeatureSetList) DeepCopy() *FeatureSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSetList.
func (*FeatureSetList) DeepCopyInto ¶ added in v0.15.0
func (in *FeatureSetList) DeepCopyInto(out *FeatureSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FeatureSetList) DeepCopyObject ¶ added in v0.15.0
func (in *FeatureSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FeatureSetSpec ¶ added in v0.15.0
type FeatureSetSpec struct { // Title specify the title of this feature set. Title string `json:"title"` // Description specifies a short description of the services this feature set provides. Description string `json:"description"` // Icons is an optional list of icons for an application. Icon information includes the source, size, // and mime type. These icons will be used in UI. Icons []helmshared.ImageSpec `json:"icons,omitempty"` // Required specify whether this feature set is mandatory or not for using the UI. // +optional Recommended bool `json:"recommended,omitempty"` // RequiredFeatures specifies list of features that are necessary to consider this feature set as ready. // +optional RequiredFeatures []string `json:"requiredFeatures,omitempty"` // Chart specifies the chart that contains the respective resources for component features and the UI wizard. Chart releasesapi.ChartSourceRef `json:"chart"` }
func (*FeatureSetSpec) DeepCopy ¶ added in v0.15.0
func (in *FeatureSetSpec) DeepCopy() *FeatureSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSetSpec.
func (*FeatureSetSpec) DeepCopyInto ¶ added in v0.15.0
func (in *FeatureSetSpec) DeepCopyInto(out *FeatureSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureSetStatus ¶ added in v0.15.0
type FeatureSetStatus struct { // Enabled specifies whether this feature set is enabled or not. // +optional Enabled *bool `json:"enabled,omitempty"` // Ready specifies whether this feature set is ready not. // +optional Ready *bool `json:"ready,omitempty"` // Features specifies the status of the component features that belong to this feature set. // +optional Features []ComponentStatus `json:"features,omitempty"` // Dependents specifies the feature sets which depend on this FeatureSet // +optional Dependents Dependents `json:"dependents,omitempty"` // Note specifies the respective reason if the feature set is considered as disabled. // +optional Note string `json:"note,omitempty"` }
func (*FeatureSetStatus) DeepCopy ¶ added in v0.15.0
func (in *FeatureSetStatus) DeepCopy() *FeatureSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSetStatus.
func (*FeatureSetStatus) DeepCopyInto ¶ added in v0.15.0
func (in *FeatureSetStatus) DeepCopyInto(out *FeatureSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureSpec ¶ added in v0.15.0
type FeatureSpec struct { // Title specifies the title of this feature. Title string `json:"title"` // Description specifies a short description of the service this feature provides. Description string `json:"description"` // Icons is an optional list of icons for an application. Icon information includes the source, size, // and mime type. These icons will be used in UI. Icons []helmshared.ImageSpec `json:"icons,omitempty"` // FeatureSet specifies the name of the FeatureSet where this feature belong to. FeatureSet string `json:"featureSet"` // FeatureBlock specifies the ui block name of this feature. // +optional FeatureBlock string `json:"featureBlock,omitempty"` // Required specifies whether this feature is mandatory or not for enabling the respecting FeatureSet. // +optional Recommended bool `json:"recommended,omitempty"` // Requirements specifies the requirements to enable this feature. // +optional Requirements Requirements `json:"requirements,omitempty"` // ReadinessChecks specifies the conditions for this feature to be considered enabled. // +optional ReadinessChecks ReadinessChecks `json:"readinessChecks,omitempty"` // Chart specifies the chart information that will be used by the FluxCD to install the respective feature // +optional Chart ChartInfo `json:"chart,omitempty"` // Values holds the values for this Helm release. // +optional Values *apiextensionsv1.JSON `json:"values,omitempty"` }
func (*FeatureSpec) DeepCopy ¶ added in v0.15.0
func (in *FeatureSpec) DeepCopy() *FeatureSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSpec.
func (*FeatureSpec) DeepCopyInto ¶ added in v0.15.0
func (in *FeatureSpec) DeepCopyInto(out *FeatureSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureStatus ¶ added in v0.15.0
type FeatureStatus struct { // Enabled specifies whether this feature is enabled or not. // +optional Enabled *bool `json:"enabled,omitempty"` // Managed specifies whether this feature is managed by AppsCode Inc. or not. // +optional Managed *bool `json:"managed,omitempty"` // Ready specifies whether this feature is ready to user or not. This field will be present only for the // features that are managed by AppsCode Inc. // +optional Ready *bool `json:"ready,omitempty"` // Note specifies the respective reason if the feature does not meet the requirements or is not ready. // +optional Note string `json:"note,omitempty"` }
func (*FeatureStatus) DeepCopy ¶ added in v0.15.0
func (in *FeatureStatus) DeepCopy() *FeatureStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureStatus.
func (*FeatureStatus) DeepCopyInto ¶ added in v0.15.0
func (in *FeatureStatus) DeepCopyInto(out *FeatureStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PanelLinkRequest ¶ added in v0.16.0
type PanelLinkRequest struct { Title string `json:"title"` // +optional Width int `json:"width,omitempty"` }
func (*PanelLinkRequest) DeepCopy ¶ added in v0.16.0
func (in *PanelLinkRequest) DeepCopy() *PanelLinkRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PanelLinkRequest.
func (*PanelLinkRequest) DeepCopyInto ¶ added in v0.16.0
func (in *PanelLinkRequest) DeepCopyInto(out *PanelLinkRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReadinessChecks ¶ added in v0.17.8
type ReadinessChecks struct { // Resources specifies the resources that should be registered to consider this feature as enabled. // +optional Resources []metav1.GroupVersionKind `json:"resources,omitempty"` // Workloads specifies the workloads that should exist to consider this feature as enabled. // +optional Workloads []WorkloadInfo `json:"workloads,omitempty"` }
func (*ReadinessChecks) DeepCopy ¶ added in v0.17.8
func (in *ReadinessChecks) DeepCopy() *ReadinessChecks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadinessChecks.
func (*ReadinessChecks) DeepCopyInto ¶ added in v0.17.8
func (in *ReadinessChecks) DeepCopyInto(out *ReadinessChecks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Requirements ¶ added in v0.15.0
type Requirements struct { // Features specifies a list of Feature names that must be enabled for using this feature. // +optional Features []string `json:"features,omitempty"` }
func (*Requirements) DeepCopy ¶ added in v0.15.0
func (in *Requirements) DeepCopy() *Requirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Requirements.
func (*Requirements) DeepCopyInto ¶ added in v0.15.0
func (in *Requirements) DeepCopyInto(out *Requirements)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceDashboard ¶
type ResourceDashboard struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceDashboardSpec `json:"spec,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=resourcedashboards,singular=resourcedashboard,scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (ResourceDashboard) CustomResourceDefinition ¶
func (v ResourceDashboard) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*ResourceDashboard) DeepCopy ¶
func (in *ResourceDashboard) DeepCopy() *ResourceDashboard
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDashboard.
func (*ResourceDashboard) DeepCopyInto ¶
func (in *ResourceDashboard) DeepCopyInto(out *ResourceDashboard)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceDashboard) DeepCopyObject ¶
func (in *ResourceDashboard) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceDashboardList ¶
type ResourceDashboardList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceDashboard `json:"items,omitempty"` }
func (*ResourceDashboardList) DeepCopy ¶
func (in *ResourceDashboardList) DeepCopy() *ResourceDashboardList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDashboardList.
func (*ResourceDashboardList) DeepCopyInto ¶
func (in *ResourceDashboardList) DeepCopyInto(out *ResourceDashboardList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceDashboardList) DeepCopyObject ¶
func (in *ResourceDashboardList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceDashboardSpec ¶
type ResourceDashboardSpec struct { Resource kmapi.ResourceID `json:"resource"` Provider DashboardProvider `json:"provider,omitempty"` Dashboards []Dashboard `json:"dashboards"` }
func (*ResourceDashboardSpec) DeepCopy ¶
func (in *ResourceDashboardSpec) DeepCopy() *ResourceDashboardSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDashboardSpec.
func (*ResourceDashboardSpec) DeepCopyInto ¶
func (in *ResourceDashboardSpec) DeepCopyInto(out *ResourceDashboardSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceEditor ¶
type ResourceEditor struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceEditorSpec `json:"spec,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=resourceeditors,singular=resourceeditor,scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (ResourceEditor) CustomResourceDefinition ¶
func (v ResourceEditor) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*ResourceEditor) DeepCopy ¶
func (in *ResourceEditor) DeepCopy() *ResourceEditor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceEditor.
func (*ResourceEditor) DeepCopyInto ¶
func (in *ResourceEditor) DeepCopyInto(out *ResourceEditor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceEditor) DeepCopyObject ¶
func (in *ResourceEditor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceEditorList ¶
type ResourceEditorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceEditor `json:"items,omitempty"` }
func (*ResourceEditorList) DeepCopy ¶
func (in *ResourceEditorList) DeepCopy() *ResourceEditorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceEditorList.
func (*ResourceEditorList) DeepCopyInto ¶
func (in *ResourceEditorList) DeepCopyInto(out *ResourceEditorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceEditorList) DeepCopyObject ¶
func (in *ResourceEditorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceEditorSpec ¶
type ResourceEditorSpec struct { Resource kmapi.ResourceID `json:"resource"` UI *UIParameters `json:"ui,omitempty"` // Icons is an optional list of icons for an application. Icon information includes the source, size, // and mime type. Icons []helmshared.ImageSpec `json:"icons,omitempty"` // Kind == VendorChartPreset | ClusterChartPreset Variants []VariantRef `json:"variants,omitempty"` Installer *shared.DeploymentParameters `json:"installer,omitempty"` }
func (*ResourceEditorSpec) DeepCopy ¶
func (in *ResourceEditorSpec) DeepCopy() *ResourceEditorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceEditorSpec.
func (*ResourceEditorSpec) DeepCopyInto ¶
func (in *ResourceEditorSpec) DeepCopyInto(out *ResourceEditorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UIParameters ¶ added in v0.14.1
type UIParameters struct { Options *releasesapi.ChartSourceRef `json:"options,omitempty"` Editor *releasesapi.ChartSourceRef `json:"editor,omitempty"` EnforceQuota bool `json:"enforceQuota"` // app.kubernetes.io/instance label must be updated at these paths when refilling metadata // +optional InstanceLabelPaths []string `json:"instanceLabelPaths,omitempty"` // +optional Actions []*ActionTemplateGroup `json:"actions,omitempty"` }
func (*UIParameters) DeepCopy ¶ added in v0.14.1
func (in *UIParameters) DeepCopy() *UIParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIParameters.
func (*UIParameters) DeepCopyInto ¶ added in v0.14.1
func (in *UIParameters) DeepCopyInto(out *UIParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VariantRef ¶
type VariantRef struct { Name string `json:"name"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` Selector *metav1.LabelSelector `json:"selector,omitempty"` // Icons is an optional list of icons for an application. Icon information includes the source, size, // and mime type. Icons []helmshared.ImageSpec `json:"icons,omitempty"` }
func (*VariantRef) DeepCopy ¶
func (in *VariantRef) DeepCopy() *VariantRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariantRef.
func (*VariantRef) DeepCopyInto ¶
func (in *VariantRef) DeepCopyInto(out *VariantRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadInfo ¶ added in v0.16.0
type WorkloadInfo struct { metav1.GroupVersionKind `json:",inline"` // Selector specifies label selector that should be used to select this workload Selector map[string]string `json:"selector"` }
func (*WorkloadInfo) DeepCopy ¶ added in v0.16.0
func (in *WorkloadInfo) DeepCopy() *WorkloadInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadInfo.
func (*WorkloadInfo) DeepCopyInto ¶ added in v0.16.0
func (in *WorkloadInfo) DeepCopyInto(out *WorkloadInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.