Documentation ¶
Overview ¶
Package v1beta2 contains API Schema definitions for the kots v1beta2 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/replicatedhq/kots/kotskinds/apis/kots +k8s:defaulter-gen=TypeMeta +groupName=kots.io
Index ¶
- Variables
- func GetMapIntersect(m1, m2 map[string]interface{}) map[string]interface{}
- func MergeHelmChartValues(baseValues map[string]MappedChartValue, ...) map[string]MappedChartValue
- func Resource(resource string) schema.GroupResource
- type ChartIdentifier
- type HelmChart
- func (in *HelmChart) DeepCopy() *HelmChart
- func (in *HelmChart) DeepCopyInto(out *HelmChart)
- func (in *HelmChart) DeepCopyObject() runtime.Object
- func (h *HelmChart) GetAPIVersion() string
- func (h *HelmChart) GetBuilderValues() (map[string]interface{}, error)
- func (h *HelmChart) GetChartName() string
- func (h *HelmChart) GetChartVersion() string
- func (h *HelmChart) GetDirName() string
- func (h *HelmChart) GetHelmVersion() string
- func (h *HelmChart) GetNamespace() string
- func (h *HelmChart) GetReleaseName() string
- func (h *HelmChart) GetUpgradeFlags() []string
- func (h *HelmChart) GetWeight() int64
- func (h *HelmChart) SetChartNamespace(namespace string)
- type HelmChartList
- type HelmChartSpec
- func (in *HelmChartSpec) DeepCopy() *HelmChartSpec
- func (in *HelmChartSpec) DeepCopyInto(out *HelmChartSpec)
- func (h *HelmChartSpec) GetHelmValues(values map[string]MappedChartValue) (map[string]interface{}, error)
- func (h *HelmChartSpec) GetReplTmplValues(values map[string]MappedChartValue) (map[string]interface{}, error)
- type HelmChartStatus
- type MappedChartValue
- type OptionalValue
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "kots.io", Version: "v1beta2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func GetMapIntersect ¶
func MergeHelmChartValues ¶
func MergeHelmChartValues(baseValues map[string]MappedChartValue, overlayValues map[string]MappedChartValue) map[string]MappedChartValue
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type ChartIdentifier ¶
func (*ChartIdentifier) DeepCopy ¶
func (in *ChartIdentifier) DeepCopy() *ChartIdentifier
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartIdentifier.
func (*ChartIdentifier) DeepCopyInto ¶
func (in *ChartIdentifier) DeepCopyInto(out *ChartIdentifier)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmChart ¶
type HelmChart struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HelmChartSpec `json:"spec,omitempty"` Status HelmChartStatus `json:"status,omitempty"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object HelmChart is the Schema for the helmchart API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:storageversion
func (*HelmChart) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChart.
func (*HelmChart) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmChart) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HelmChart) GetAPIVersion ¶
func (*HelmChart) GetBuilderValues ¶
func (*HelmChart) GetChartName ¶
func (*HelmChart) GetChartVersion ¶
func (*HelmChart) GetDirName ¶
func (*HelmChart) GetHelmVersion ¶
func (*HelmChart) GetNamespace ¶
func (*HelmChart) GetReleaseName ¶
func (*HelmChart) GetUpgradeFlags ¶
func (*HelmChart) SetChartNamespace ¶
type HelmChartList ¶
type HelmChartList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HelmChart `json:"items"` }
HelmChartList contains a list of HelmCharts
func (*HelmChartList) DeepCopy ¶
func (in *HelmChartList) DeepCopy() *HelmChartList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartList.
func (*HelmChartList) DeepCopyInto ¶
func (in *HelmChartList) DeepCopyInto(out *HelmChartList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmChartList) DeepCopyObject ¶
func (in *HelmChartList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmChartSpec ¶
type HelmChartSpec struct { Chart ChartIdentifier `json:"chart"` ReleaseName string `json:"releaseName,omitempty"` Exclude multitype.BoolOrString `json:"exclude,omitempty"` Namespace string `json:"namespace,omitempty"` Values map[string]MappedChartValue `json:"values,omitempty"` OptionalValues []*OptionalValue `json:"optionalValues,omitempty"` Builder map[string]MappedChartValue `json:"builder,omitempty"` Weight int64 `json:"weight,omitempty"` HelmUpgradeFlags []string `json:"helmUpgradeFlags,omitempty"` }
HelmChartSpec defines the desired state of HelmChartSpec
func (*HelmChartSpec) DeepCopy ¶
func (in *HelmChartSpec) DeepCopy() *HelmChartSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartSpec.
func (*HelmChartSpec) DeepCopyInto ¶
func (in *HelmChartSpec) DeepCopyInto(out *HelmChartSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmChartSpec) GetHelmValues ¶
func (h *HelmChartSpec) GetHelmValues(values map[string]MappedChartValue) (map[string]interface{}, error)
func (*HelmChartSpec) GetReplTmplValues ¶
func (h *HelmChartSpec) GetReplTmplValues(values map[string]MappedChartValue) (map[string]interface{}, error)
type HelmChartStatus ¶
type HelmChartStatus struct { }
HelmChartStatus defines the observed state of HelmChart
func (*HelmChartStatus) DeepCopy ¶
func (in *HelmChartStatus) DeepCopy() *HelmChartStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartStatus.
func (*HelmChartStatus) DeepCopyInto ¶
func (in *HelmChartStatus) DeepCopyInto(out *HelmChartStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappedChartValue ¶
type MappedChartValue struct { Value string `json:"-"` // contains filtered or unexported fields }
+kubebuilder:validation:Type=""
func (*MappedChartValue) DeepCopy ¶
func (in *MappedChartValue) DeepCopy() *MappedChartValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappedChartValue.
func (*MappedChartValue) DeepCopyInto ¶
func (in *MappedChartValue) DeepCopyInto(out *MappedChartValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (MappedChartValue) MarshalJSON ¶
func (m MappedChartValue) MarshalJSON() ([]byte, error)
func (*MappedChartValue) UnmarshalJSON ¶
func (m *MappedChartValue) UnmarshalJSON(value []byte) error
type OptionalValue ¶
type OptionalValue struct { When string `json:"when"` RecursiveMerge bool `json:"recursiveMerge"` Values map[string]MappedChartValue `json:"values,omitempty"` }
func (*OptionalValue) DeepCopy ¶
func (in *OptionalValue) DeepCopy() *OptionalValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalValue.
func (*OptionalValue) DeepCopyInto ¶
func (in *OptionalValue) DeepCopyInto(out *OptionalValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.