v1

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the konfigmanager v1 API group +kubebuilder:object:generate=true +groupName=konfigmanager.flanksource.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "konfigmanager.flanksource.com", Version: "v1"}

	// 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 Konfig

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

	Spec   KonfigSpec   `json:"spec,omitempty"`
	Status KonfigStatus `json:"status,omitempty"`
}

Konfig is the Schema for the hierarchyconfigs API

func (*Konfig) DeepCopy

func (in *Konfig) DeepCopy() *Konfig

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

func (*Konfig) DeepCopyInto

func (in *Konfig) DeepCopyInto(out *Konfig)

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

func (*Konfig) DeepCopyObject

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

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

type KonfigList

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

KonfigList contains a list of Konfig

func (*KonfigList) DeepCopy

func (in *KonfigList) DeepCopy() *KonfigList

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

func (*KonfigList) DeepCopyInto

func (in *KonfigList) DeepCopyInto(out *KonfigList)

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

func (*KonfigList) DeepCopyObject

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

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

type KonfigSpec

type KonfigSpec struct {
	Hierarchy []pkg.Item `yaml:"hierarchy" json:"hierarchy"`
	Output    Output     `yaml:"output,omitempty" json:"output,omitempty"`
}

KonfigSpec defines the desired state of Konfig

func (*KonfigSpec) DeepCopy

func (in *KonfigSpec) DeepCopy() *KonfigSpec

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

func (*KonfigSpec) DeepCopyInto

func (in *KonfigSpec) DeepCopyInto(out *KonfigSpec)

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

type KonfigStatus

type KonfigStatus struct {
	Hierarchy []pkg.Item `yaml:"hierarchy" json:"hierarchy"`
	Output    Output     `yaml:"output,omitempty" json:"output,omitempty"`
}

KonfigStatus defines the observed state of Konfig

func (*KonfigStatus) DeepCopy

func (in *KonfigStatus) DeepCopy() *KonfigStatus

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

func (*KonfigStatus) DeepCopyInto

func (in *KonfigStatus) DeepCopyInto(out *KonfigStatus)

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

type Output

type Output struct {
	Name      string `yaml:"name,omitempty" json:"name,omitempty"`
	Namespace string `yaml:"namespace,omitempty" json:"namespace,omitempty"`
	Kind      string `yaml:"kind,omitempty" json:"kind,omitempty"`
	Type      string `yaml:"type,omitempty" json:"type,omitempty"`
	FileType  string `yaml:"filetype,omitempty" json:"filetype,omitempty"`
	Key       string `yaml:"key,omitempty" json:"key,omitempty"`
}

Output defines where and how properties file need to be created

func (*Output) DeepCopy

func (in *Output) DeepCopy() *Output

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

func (*Output) DeepCopyInto

func (in *Output) DeepCopyInto(out *Output)

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