v1alpha1

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the configexport v1alpha1 API group +kubebuilder:object:generate=true +groupName=configexport.kraken-iac.eoinfennessy.com

Index

Constants

View Source
const (
	ConditionTypeReady string = "Ready"

	ConfigTypeConfigMap string = "ConfigMap"
	ConfigTypeSecret    string = "Secret"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "configexport.kraken-iac.eoinfennessy.com", 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 ConfigExport

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

	Spec   ConfigExportSpec   `json:"spec,omitempty"`
	Status ConfigExportStatus `json:"status,omitempty"`
}

ConfigExport is the Schema for the configexports API

func (*ConfigExport) DeepCopy

func (in *ConfigExport) DeepCopy() *ConfigExport

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

func (*ConfigExport) DeepCopyInto

func (in *ConfigExport) DeepCopyInto(out *ConfigExport)

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

func (*ConfigExport) DeepCopyObject

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

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

type ConfigExportEntry

type ConfigExportEntry struct {
	Key           string `json:"key"`
	option.String `json:",inline"`
}

func (*ConfigExportEntry) DeepCopy

func (in *ConfigExportEntry) DeepCopy() *ConfigExportEntry

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

func (*ConfigExportEntry) DeepCopyInto

func (in *ConfigExportEntry) DeepCopyInto(out *ConfigExportEntry)

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

type ConfigExportList

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

ConfigExportList contains a list of ConfigExport

func (*ConfigExportList) DeepCopy

func (in *ConfigExportList) DeepCopy() *ConfigExportList

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

func (*ConfigExportList) DeepCopyInto

func (in *ConfigExportList) DeepCopyInto(out *ConfigExportList)

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

func (*ConfigExportList) DeepCopyObject

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

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

type ConfigExportSpec

type ConfigExportSpec struct {

	// +kubebuilder:validation:Enum=ConfigMap;Secret
	ConfigType string `json:"configType"`

	ConfigMeta ConfigMeta          `json:"configMetadata"`
	Entries    []ConfigExportEntry `json:"entries,omitempty"`
}

ConfigExportSpec defines the desired state of ConfigExport

func (*ConfigExportSpec) DeepCopy

func (in *ConfigExportSpec) DeepCopy() *ConfigExportSpec

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

func (*ConfigExportSpec) DeepCopyInto

func (in *ConfigExportSpec) DeepCopyInto(out *ConfigExportSpec)

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

func (ConfigExportSpec) GenerateDependencyRequestSpec

func (s ConfigExportSpec) GenerateDependencyRequestSpec() corev1alpha1.DependencyRequestSpec

func (ConfigExportSpec) ToApplicableValues

func (s ConfigExportSpec) ToApplicableValues(depValues corev1alpha1.DependentValues) (map[string]string, error)

type ConfigExportStatus

type ConfigExportStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

ConfigExportStatus defines the observed state of ConfigExport

func (*ConfigExportStatus) DeepCopy

func (in *ConfigExportStatus) DeepCopy() *ConfigExportStatus

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

func (*ConfigExportStatus) DeepCopyInto

func (in *ConfigExportStatus) DeepCopyInto(out *ConfigExportStatus)

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

type ConfigMeta

type ConfigMeta struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

func (*ConfigMeta) DeepCopy

func (in *ConfigMeta) DeepCopy() *ConfigMeta

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

func (*ConfigMeta) DeepCopyInto

func (in *ConfigMeta) DeepCopyInto(out *ConfigMeta)

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