v1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=autodeploy.alpha-supsys.com

Index

Constants

This section is empty.

Variables

View Source
var (
	SB = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme todo
	AddToScheme = SB.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "autodeploy.alpha-supsys.com", Version: "v1"}

SchemeGroupVersion todo

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AutoDeployUnit

type AutoDeployUnit struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +optional
	Spec AutoDeployUnitSpec `json:"spec"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AutoDeployUnit) DeepCopy

func (in *AutoDeployUnit) DeepCopy() *AutoDeployUnit

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

func (*AutoDeployUnit) DeepCopyInto

func (in *AutoDeployUnit) DeepCopyInto(out *AutoDeployUnit)

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

func (*AutoDeployUnit) DeepCopyObject

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

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

type AutoDeployUnitList

type AutoDeployUnitList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []AutoDeployUnit `json:"items"`
}

AutoDeployUnitList todo

func (*AutoDeployUnitList) DeepCopy

func (in *AutoDeployUnitList) DeepCopy() *AutoDeployUnitList

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

func (*AutoDeployUnitList) DeepCopyInto

func (in *AutoDeployUnitList) DeepCopyInto(out *AutoDeployUnitList)

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

func (*AutoDeployUnitList) DeepCopyObject

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

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

type AutoDeployUnitSpec

type AutoDeployUnitSpec struct {
	Image string `json:"image"`
	// +optional
	Cmd []string `json:"cmd"`
	// +optional
	Url string `json:"url"`
	// +optional
	Env []corev1.EnvVar `json:"env"`
	// +optional
	Sync bool `json:"sync"`
}

AutoDeployUnitSpec todo

func (*AutoDeployUnitSpec) DeepCopy

func (in *AutoDeployUnitSpec) DeepCopy() *AutoDeployUnitSpec

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

func (*AutoDeployUnitSpec) DeepCopyInto

func (in *AutoDeployUnitSpec) DeepCopyInto(out *AutoDeployUnitSpec)

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