v1alpha1

package
v0.0.0-...-4bc6627 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the reach v1alpha1 API group +kubebuilder:object:generate=true +groupName=reach.spectrocloud.com

Index

Constants

View Source
const (
	SingleValue = EnvVarType("single")
	MultiValue  = EnvVarType("multi")
)
View Source
const (
	Replace = MergeStrategy("replace")
	Append  = MergeStrategy("append")
	Prepend = MergeStrategy("prepend")
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "reach.spectrocloud.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 ClusterPodPreset

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

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

ClusterPodPreset is the Schema for the clusterpodpresets API

func (*ClusterPodPreset) DeepCopy

func (in *ClusterPodPreset) DeepCopy() *ClusterPodPreset

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

func (*ClusterPodPreset) DeepCopyInto

func (in *ClusterPodPreset) DeepCopyInto(out *ClusterPodPreset)

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

func (*ClusterPodPreset) DeepCopyObject

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

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

func (*ClusterPodPreset) Default

func (r *ClusterPodPreset) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*ClusterPodPreset) SetupWebhookWithManager

func (r *ClusterPodPreset) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ClusterPodPreset) ValidateCreate

func (r *ClusterPodPreset) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ClusterPodPreset) ValidateDelete

func (r *ClusterPodPreset) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ClusterPodPreset) ValidateUpdate

func (r *ClusterPodPreset) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ClusterPodPresetList

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

ClusterPodPresetList contains a list of ClusterPodPreset

func (*ClusterPodPresetList) DeepCopy

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

func (*ClusterPodPresetList) DeepCopyInto

func (in *ClusterPodPresetList) DeepCopyInto(out *ClusterPodPresetList)

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

func (*ClusterPodPresetList) DeepCopyObject

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

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

type ClusterPodPresetSpec

type ClusterPodPresetSpec struct {
	Selector metav1.LabelSelector `json:"selector"`

	Env []Env `json:"env"`
}

ClusterPodPresetSpec defines the desired state of ClusterPodPreset

func (*ClusterPodPresetSpec) DeepCopy

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

func (*ClusterPodPresetSpec) DeepCopyInto

func (in *ClusterPodPresetSpec) DeepCopyInto(out *ClusterPodPresetSpec)

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

type Env

type Env struct {
	v1.EnvVar `json:",inline"`
	// +optional
	Metadata *EnvVarMetadata `json:"metadata"`
}

func (*Env) DeepCopy

func (in *Env) DeepCopy() *Env

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

func (*Env) DeepCopyInto

func (in *Env) DeepCopyInto(out *Env)

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

type EnvVarMetadata

type EnvVarMetadata struct {
	Type EnvVarType `json:"type"`
	// +optional
	Separator string `json:"separator"`
	// +optional
	MergeStrategy MergeStrategy `json:"merge_strategy"`
}

func (*EnvVarMetadata) DeepCopy

func (in *EnvVarMetadata) DeepCopy() *EnvVarMetadata

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

func (*EnvVarMetadata) DeepCopyInto

func (in *EnvVarMetadata) DeepCopyInto(out *EnvVarMetadata)

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

type EnvVarType

type EnvVarType string

type MergeStrategy

type MergeStrategy string

type PodPreset

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

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

PodPreset is the Schema for the podpresets API

func (*PodPreset) DeepCopy

func (in *PodPreset) DeepCopy() *PodPreset

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

func (*PodPreset) DeepCopyInto

func (in *PodPreset) DeepCopyInto(out *PodPreset)

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

func (*PodPreset) DeepCopyObject

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

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

func (*PodPreset) Default

func (r *PodPreset) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*PodPreset) SetupWebhookWithManager

func (r *PodPreset) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*PodPreset) ValidateCreate

func (r *PodPreset) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*PodPreset) ValidateDelete

func (r *PodPreset) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*PodPreset) ValidateUpdate

func (r *PodPreset) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PodPresetList

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

PodPresetList contains a list of PodPreset

func (*PodPresetList) DeepCopy

func (in *PodPresetList) DeepCopy() *PodPresetList

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

func (*PodPresetList) DeepCopyInto

func (in *PodPresetList) DeepCopyInto(out *PodPresetList)

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

func (*PodPresetList) DeepCopyObject

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

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

type PodPresetSpec

type PodPresetSpec struct {
	Selector metav1.LabelSelector `json:"selector"`

	Env []Env `json:"env"`
}

PodPresetSpec defines the desired state of PodPreset

func (*PodPresetSpec) DeepCopy

func (in *PodPresetSpec) DeepCopy() *PodPresetSpec

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

func (*PodPresetSpec) DeepCopyInto

func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec)

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