v1beta1

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the app v1 API group +kubebuilder:object:generate=true +groupName=app.vajain.com +k8s:deepcopy-gen=package,register

Index

Constants

This section is empty.

Variables

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

func GetOpenAPIDefinitions added in v0.1.3

func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition

Types

type KogitoRuntime

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

	Spec   KogitoRuntimeSpec   `json:"spec,omitempty"`
	Status KogitoRuntimeStatus `json:"status,omitempty"`
}

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

func (*KogitoRuntime) DeepCopy

func (in *KogitoRuntime) DeepCopy() *KogitoRuntime

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

func (*KogitoRuntime) DeepCopyInto

func (in *KogitoRuntime) DeepCopyInto(out *KogitoRuntime)

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

func (*KogitoRuntime) DeepCopyObject

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

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

func (*KogitoRuntime) GetSpec added in v0.1.3

GetSpec ...

func (*KogitoRuntime) GetStatus added in v0.1.3

GetStatus ...

type KogitoRuntimeList

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

KogitoRuntimeList contains a list of KogitoRuntime

func (*KogitoRuntimeList) DeepCopy

func (in *KogitoRuntimeList) DeepCopy() *KogitoRuntimeList

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

func (*KogitoRuntimeList) DeepCopyInto

func (in *KogitoRuntimeList) DeepCopyInto(out *KogitoRuntimeList)

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

func (*KogitoRuntimeList) DeepCopyObject

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

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

func (*KogitoRuntimeList) GetItemAt added in v0.1.3

func (l *KogitoRuntimeList) GetItemAt(index int) api.KogitoService

GetItemAt ...

func (*KogitoRuntimeList) GetItemsCount added in v0.1.3

func (l *KogitoRuntimeList) GetItemsCount() int

GetItemsCount ...

type KogitoRuntimeSpec

type KogitoRuntimeSpec struct {
	api.KogitoServiceSpec `json:",inline"`

	// Annotates the pods managed by the operator with the required metadata for Istio to setup its sidecars, enabling the mesh. Defaults to false.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Enable Istio"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	EnableIstio bool `json:"enableIstio,omitempty"`

	// The name of the runtime used, either Quarkus or SpringBoot.
	// Default value: quarkus
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="runtime"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:label"
	// +kubebuilder:validation:Enum=quarkus;springboot
	Runtime api.RuntimeType `json:"runtime,omitempty"`
}

KogitoRuntimeSpec defines the desired state of KogitoRuntime

func (*KogitoRuntimeSpec) DeepCopy

func (in *KogitoRuntimeSpec) DeepCopy() *KogitoRuntimeSpec

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

func (*KogitoRuntimeSpec) DeepCopyInto

func (in *KogitoRuntimeSpec) DeepCopyInto(out *KogitoRuntimeSpec)

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

func (*KogitoRuntimeSpec) GetRuntime added in v0.1.3

func (k *KogitoRuntimeSpec) GetRuntime() api.RuntimeType

GetRuntime ...

type KogitoRuntimeStatus

type KogitoRuntimeStatus struct {
	api.KogitoServiceStatus `json:",inline"`
}

KogitoRuntimeStatus defines the observed state of KogitoRuntime

func (*KogitoRuntimeStatus) DeepCopy

func (in *KogitoRuntimeStatus) DeepCopy() *KogitoRuntimeStatus

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

func (*KogitoRuntimeStatus) DeepCopyInto

func (in *KogitoRuntimeStatus) DeepCopyInto(out *KogitoRuntimeStatus)

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