v1alpha1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the charts v1alpha1 API group +kubebuilder:object:generate=true +groupName=charts.x-helm.dev

Index

Constants

View Source
const (
	ResourceKindChartPreset = "ChartPreset"
	ResourceChartPreset     = "chartpreset"
	ResourceChartPresets    = "chartpresets"
)
View Source
const (
	ResourceKindClusterChartPreset = "ClusterChartPreset"
	ResourceClusterChartPreset     = "clusterchartpreset"
	ResourceClusterChartPresets    = "clusterchartpresets"
)
View Source
const (
	ResourceKindVendorChartPreset = "VendorChartPreset"
	ResourceVendorChartPreset     = "vendorchartpreset"
	ResourceVendorChartPresets    = "vendorchartpresets"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "charts.x-helm.dev", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ChartPreset

type ChartPreset struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ClusterChartPresetSpec `json:"spec,omitempty"`
}

ChartPreset is the Schema for the chartpresets API

func (ChartPreset) CustomResourceDefinition

func (_ ChartPreset) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*ChartPreset) DeepCopy

func (in *ChartPreset) DeepCopy() *ChartPreset

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

func (*ChartPreset) DeepCopyInto

func (in *ChartPreset) DeepCopyInto(out *ChartPreset)

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

func (*ChartPreset) DeepCopyObject

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

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

func (ChartPreset) GetDisplayName added in v0.0.2

func (in ChartPreset) GetDisplayName() string

func (ChartPreset) GetSpec

func (in ChartPreset) GetSpec() ClusterChartPresetSpec

type ChartPresetList

type ChartPresetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ChartPreset `json:"items"`
}

ChartPresetList contains a list of ChartPreset

func (*ChartPresetList) DeepCopy

func (in *ChartPresetList) DeepCopy() *ChartPresetList

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

func (*ChartPresetList) DeepCopyInto

func (in *ChartPresetList) DeepCopyInto(out *ChartPresetList)

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

func (*ChartPresetList) DeepCopyObject

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

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

type ChartPresetRef

type ChartPresetRef struct {
	Name           string `json:"name"`
	URL            string `json:"url"`
	Version        string `json:"version"`
	PresetGroup    string `json:"presetGroup,omitempty"`
	PresetKind     string `json:"presetKind,omitempty"`
	PresetName     string `json:"presetName,omitempty"`
	PresetSelector string `json:"presetSelector,omitempty"`
	Namespace      string `json:"namespace,omitempty"`
}

func (ChartPresetRef) ClusterChartPreset

func (ref ChartPresetRef) ClusterChartPreset() (*ClusterChartPreset, error)

func (*ChartPresetRef) DeepCopy

func (in *ChartPresetRef) DeepCopy() *ChartPresetRef

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

func (*ChartPresetRef) DeepCopyInto

func (in *ChartPresetRef) DeepCopyInto(out *ChartPresetRef)

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

type ClusterChartPreset

type ClusterChartPreset struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ClusterChartPresetSpec `json:"spec,omitempty"`
}

ClusterChartPreset is the Schema for the clusterchartpresets API

func (ClusterChartPreset) CustomResourceDefinition

func (_ ClusterChartPreset) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*ClusterChartPreset) DeepCopy

func (in *ClusterChartPreset) DeepCopy() *ClusterChartPreset

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

func (*ClusterChartPreset) DeepCopyInto

func (in *ClusterChartPreset) DeepCopyInto(out *ClusterChartPreset)

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

func (*ClusterChartPreset) DeepCopyObject

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

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

func (ClusterChartPreset) GetDisplayName added in v0.0.2

func (in ClusterChartPreset) GetDisplayName() string

func (ClusterChartPreset) GetSpec

type ClusterChartPresetList

type ClusterChartPresetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterChartPreset `json:"items"`
}

ClusterChartPresetList contains a list of ClusterChartPreset

func (*ClusterChartPresetList) DeepCopy

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

func (*ClusterChartPresetList) DeepCopyInto

func (in *ClusterChartPresetList) DeepCopyInto(out *ClusterChartPresetList)

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

func (*ClusterChartPresetList) DeepCopyObject

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

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

type ClusterChartPresetSpec

type ClusterChartPresetSpec struct {
	// +optional
	DisplayName string `json:"displayName,omitempty"`

	// selector is a label query over pods that should match the replica count.
	// It must match the pod template's labels.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	//
	// +optional
	Selector *metav1.LabelSelector `json:"selector,omitempty"`

	// +optional
	UsePresets []core.TypedLocalObjectReference `json:"usePresets,omitempty"`

	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	Values *runtime.RawExtension `json:"values,omitempty"`
}

ClusterChartPresetSpec defines the desired state of ClusterChartPreset

func (*ClusterChartPresetSpec) DeepCopy

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

func (*ClusterChartPresetSpec) DeepCopyInto

func (in *ClusterChartPresetSpec) DeepCopyInto(out *ClusterChartPresetSpec)

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

type Preset

type Preset interface {
	GetObjectKind() schema.ObjectKind
	GetName() string
	GetDisplayName() string
	GetLabels() map[string]string
	GetSpec() ClusterChartPresetSpec
}

+kubebuilder:object:generate:=false

type VendorChartPreset

type VendorChartPreset struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec VendorChartPresetSpec `json:"spec,omitempty"`
}

VendorChartPreset is the Schema for the vendorchartpresets API

func (VendorChartPreset) CustomResourceDefinition

func (_ VendorChartPreset) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*VendorChartPreset) DeepCopy

func (in *VendorChartPreset) DeepCopy() *VendorChartPreset

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

func (*VendorChartPreset) DeepCopyInto

func (in *VendorChartPreset) DeepCopyInto(out *VendorChartPreset)

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

func (*VendorChartPreset) DeepCopyObject

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

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

type VendorChartPresetList

type VendorChartPresetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VendorChartPreset `json:"items"`
}

VendorChartPresetList contains a list of VendorChartPreset

func (*VendorChartPresetList) DeepCopy

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

func (*VendorChartPresetList) DeepCopyInto

func (in *VendorChartPresetList) DeepCopyInto(out *VendorChartPresetList)

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

func (*VendorChartPresetList) DeepCopyObject

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

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

type VendorChartPresetSpec

type VendorChartPresetSpec struct {
	// selector is a label query over pods that should match the replica count.
	// It must match the pod template's labels.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	//
	// +optional
	Selector *metav1.LabelSelector `json:"selector,omitempty"`

	// +optional
	UsePresets []core.LocalObjectReference `json:"usePresets,omitempty"`

	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	Values *runtime.RawExtension `json:"values,omitempty"`
}

VendorChartPresetSpec defines the desired state of VendorChartPreset

func (*VendorChartPresetSpec) DeepCopy

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

func (*VendorChartPresetSpec) DeepCopyInto

func (in *VendorChartPresetSpec) DeepCopyInto(out *VendorChartPresetSpec)

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