Documentation ¶
Overview ¶
Copyright 2021 k0s authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Package v1beta1 contains API Schema definitions for the helm v1beta1 API group +kubebuilder:object:generate=true +groupName=helm.k0sproject.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "helm.k0sproject.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme //SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func CleanUpGenericMap ¶ added in v0.8.0
CleanUpGenericMap is a helper to "cleanup" generic yaml parsing where nested maps are unmarshalled with type map[interface{}]interface{}
Types ¶
type Chart ¶
type Chart struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ChartSpec `json:"spec,omitempty"` Status ChartStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status Chart is the Schema for the charts API
func (*Chart) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Chart.
func (*Chart) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Chart) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChartList ¶
type ChartList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Chart `json:"items"` }
+kubebuilder:object:root=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object ChartList contains a list of Chart
func (*ChartList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartList.
func (*ChartList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChartList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChartSpec ¶
type ChartSpec struct { ChartName string `json:"chartName,omitempty"` Values string `json:"values,omitempty"` Version string `json:"version,omitempty"` Namespace string `json:"namespace,omitempty"` }
ChartSpec defines the desired state of Chart
func (*ChartSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSpec.
func (*ChartSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ChartSpec) YamlValues ¶
YamlValues returns values as map
type ChartStatus ¶
type ChartStatus struct { ReleaseName string `json:"releaseName,omitempty"` Status string `json:"status,omitempty"` AppVersion string `json:"appVersion,omitempty"` Version string `json:"version,omitempty"` Updated string `json:"updated,omitempty"` Namespace string `json:"namespace,omitempty"` Revision int64 `json:"revision,omitempty"` Error string `json:"error,omitempty"` }
ChartStatus defines the observed state of Chart
func (*ChartStatus) DeepCopy ¶
func (in *ChartStatus) DeepCopy() *ChartStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartStatus.
func (*ChartStatus) DeepCopyInto ¶
func (in *ChartStatus) DeepCopyInto(out *ChartStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.