v1beta2

package
v1.100.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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 GetMapIntersect(m1, m2 map[string]interface{}) map[string]interface{}

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

type ChartIdentifier struct {
	Name         string `json:"name"`
	ChartVersion string `json:"chartVersion"`
}

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

func (in *HelmChart) DeepCopy() *HelmChart

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

func (*HelmChart) DeepCopyInto

func (in *HelmChart) DeepCopyInto(out *HelmChart)

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

func (*HelmChart) DeepCopyObject

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

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

func (*HelmChart) GetAPIVersion

func (h *HelmChart) GetAPIVersion() string

func (*HelmChart) GetBuilderValues

func (h *HelmChart) GetBuilderValues() (map[string]interface{}, error)

func (*HelmChart) GetChartName

func (h *HelmChart) GetChartName() string

func (*HelmChart) GetChartVersion

func (h *HelmChart) GetChartVersion() string

func (*HelmChart) GetDirName

func (h *HelmChart) GetDirName() string

func (*HelmChart) GetHelmVersion

func (h *HelmChart) GetHelmVersion() string

func (*HelmChart) GetNamespace

func (h *HelmChart) GetNamespace() string

func (*HelmChart) GetReleaseName

func (h *HelmChart) GetReleaseName() string

func (*HelmChart) GetUpgradeFlags

func (h *HelmChart) GetUpgradeFlags() []string

func (*HelmChart) GetWeight

func (h *HelmChart) GetWeight() int64

func (*HelmChart) SetChartNamespace

func (h *HelmChart) SetChartNamespace(namespace string)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL