v1alpha1

package
v0.0.0-...-dc98513 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

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

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

Functions

Types

type EclipseChe

type EclipseChe struct {
	EnableTokenExchange bool   `json:"enableTokenExchange"`
	OperatorImage       string `json:"operatorImage"`
	CheVersion          string `json:"version"`
	TLSSupport          bool   `json:"tlsSupport,omitempty"`
	SelfSignedCert      bool   `json:"selfSignedCert,omitempty"`
}

EclipseChe configures few parameters for CR Eclipse Che Cluster

func (*EclipseChe) DeepCopy

func (in *EclipseChe) DeepCopy() *EclipseChe

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

func (*EclipseChe) DeepCopyInto

func (in *EclipseChe) DeepCopyInto(out *EclipseChe)

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

type PackageInfo

type PackageInfo struct {
	Name     string `json:"name"`
	Version  string `json:"version"`
	Operator string `json:"operator"`
}

PackageInfo defines the software package that will be installed using the operators

func (*PackageInfo) DeepCopy

func (in *PackageInfo) DeepCopy() *PackageInfo

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

func (*PackageInfo) DeepCopyInto

func (in *PackageInfo) DeepCopyInto(out *PackageInfo)

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

type Workshop

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

	Spec   WorkshopSpec   `json:"spec,omitempty"`
	Status WorkshopStatus `json:"status,omitempty"`
}

Workshop is the Schema for the workshops API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*Workshop) DeepCopy

func (in *Workshop) DeepCopy() *Workshop

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

func (*Workshop) DeepCopyInto

func (in *Workshop) DeepCopyInto(out *Workshop)

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

func (*Workshop) DeepCopyObject

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

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

type WorkshopList

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

WorkshopList contains a list of Workshop

func (*WorkshopList) DeepCopy

func (in *WorkshopList) DeepCopy() *WorkshopList

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

func (*WorkshopList) DeepCopyInto

func (in *WorkshopList) DeepCopyInto(out *WorkshopList)

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

func (*WorkshopList) DeepCopyObject

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

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

type WorkshopProject

type WorkshopProject struct {
	Create   bool     `json:"create"`
	Prefixes []string `json:"prefixes"`
}

WorkshopProject defines the student projects of Workshop

func (*WorkshopProject) DeepCopy

func (in *WorkshopProject) DeepCopy() *WorkshopProject

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

func (*WorkshopProject) DeepCopyInto

func (in *WorkshopProject) DeepCopyInto(out *WorkshopProject)

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

type WorkshopSpec

type WorkshopSpec 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
	Clean              bool            `json:"clean"`
	OpenshiftAPIServer string          `json:"openshiftAPIServer,omitempty"`
	Project            WorkshopProject `json:"project"`
	User               WorkshopUser    `json:"user"`
	Stack              WorkshopStack   `json:"stack"`
}

WorkshopSpec defines the desired state of Workshop +k8s:openapi-gen=true

func (*WorkshopSpec) DeepCopy

func (in *WorkshopSpec) DeepCopy() *WorkshopSpec

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

func (*WorkshopSpec) DeepCopyInto

func (in *WorkshopSpec) DeepCopyInto(out *WorkshopSpec)

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

type WorkshopStack

type WorkshopStack struct {
	Install   bool          `json:"install"`
	Che       EclipseChe    `json:"che"`
	Community []PackageInfo `json:"community"`
	RedHat    []PackageInfo `json:"redhat"`
}

WorkshopStack defines the software stack for the Workshop

func (*WorkshopStack) DeepCopy

func (in *WorkshopStack) DeepCopy() *WorkshopStack

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

func (*WorkshopStack) DeepCopyInto

func (in *WorkshopStack) DeepCopyInto(out *WorkshopStack)

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

type WorkshopStatus

type WorkshopStatus struct {
}

WorkshopStatus defines the observed state of Workshop +k8s:openapi-gen=true

func (*WorkshopStatus) DeepCopy

func (in *WorkshopStatus) DeepCopy() *WorkshopStatus

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

func (*WorkshopStatus) DeepCopyInto

func (in *WorkshopStatus) DeepCopyInto(out *WorkshopStatus)

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

type WorkshopUser

type WorkshopUser struct {
	Create        bool   `json:"create"`
	Prefix        string `json:"prefix"`
	Password      string `json:"password"`
	AdminPassword string `json:"adminPassword"`
	//+kubebuilder:validation:Minimum=0
	//+kubebuilder:validation:Maximum=1
	Start int32 `json:"start"`
	//+kubebuilder:validation:Minimum=1
	//+kubebuilder:validation:Maximum=100
	End int32 `json:"end"`
}

WorkshopUser defines the students for Workshop

func (*WorkshopUser) DeepCopy

func (in *WorkshopUser) DeepCopy() *WorkshopUser

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

func (*WorkshopUser) DeepCopyInto

func (in *WorkshopUser) DeepCopyInto(out *WorkshopUser)

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