v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the devx v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=devx.ibm.com

Package v1alpha1 contains API Schema definitions for the devx v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=devx.ibm.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "devx.ibm.com", Version: "v1alpha1"}

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

Functions

Types

type StarterKit

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

	Spec   StarterKitSpec   `json:"spec,omitempty"`
	Status StarterKitStatus `json:"status,omitempty"`
}

StarterKit is the Schema for the starterkits API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=starterkits,scope=Namespaced

func (*StarterKit) DeepCopy

func (in *StarterKit) DeepCopy() *StarterKit

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

func (*StarterKit) DeepCopyInto

func (in *StarterKit) DeepCopyInto(out *StarterKit)

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

func (*StarterKit) DeepCopyObject

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

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

type StarterKitList

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

StarterKitList contains a list of StarterKit

func (*StarterKitList) DeepCopy

func (in *StarterKitList) DeepCopy() *StarterKitList

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

func (*StarterKitList) DeepCopyInto

func (in *StarterKitList) DeepCopyInto(out *StarterKitList)

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

func (*StarterKitList) DeepCopyObject

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

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

type StarterKitSpec

type StarterKitSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	Options      StarterKitSpecOptions  `json:"options"`
	TemplateRepo StarterKitSpecTemplate `json:"templateRepo"`
}

StarterKitSpec defines the desired state of StarterKit +k8s:openapi-gen=true

func (*StarterKitSpec) DeepCopy

func (in *StarterKitSpec) DeepCopy() *StarterKitSpec

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

func (*StarterKitSpec) DeepCopyInto

func (in *StarterKitSpec) DeepCopyInto(out *StarterKitSpec)

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

type StarterKitSpecOptions

type StarterKitSpecOptions struct {
	Port int32           `json:"port"`
	Env  []corev1.EnvVar `json:"env"`
}

func (*StarterKitSpecOptions) DeepCopy

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

func (*StarterKitSpecOptions) DeepCopyInto

func (in *StarterKitSpecOptions) DeepCopyInto(out *StarterKitSpecOptions)

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

type StarterKitSpecTemplate

type StarterKitSpecTemplate struct {
	TemplateOwner    string                   `json:"templateOwner"`
	TemplateRepoName string                   `json:"templateRepoName"`
	Owner            string                   `json:"owner"`
	Name             string                   `json:"name"`
	Description      string                   `json:"repoDescription"`
	SecretKeyRef     corev1.SecretKeySelector `json:"secretKeyRef"`
}

func (*StarterKitSpecTemplate) DeepCopy

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

func (*StarterKitSpecTemplate) DeepCopyInto

func (in *StarterKitSpecTemplate) DeepCopyInto(out *StarterKitSpecTemplate)

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

type StarterKitStatus

type StarterKitStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	TargetRepo string `json:"targetRepo"`
}

StarterKitStatus defines the observed state of StarterKit +k8s:openapi-gen=true

func (*StarterKitStatus) DeepCopy

func (in *StarterKitStatus) DeepCopy() *StarterKitStatus

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

func (*StarterKitStatus) DeepCopyInto

func (in *StarterKitStatus) DeepCopyInto(out *StarterKitStatus)

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