v1alpha1

package
v0.1.2-rc1 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the demo v1alpha1 API group +kubebuilder:object:generate=true +groupName=demo.opni.io

Index

Constants

This section is empty.

Variables

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

type ChartOptions struct {
	Enabled bool `json:"enabled"`
	// +optional
	Set map[string]intstr.IntOrString `json:"set,omitempty"`
}

func (*ChartOptions) DeepCopy

func (in *ChartOptions) DeepCopy() *ChartOptions

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

func (*ChartOptions) DeepCopyInto

func (in *ChartOptions) DeepCopyInto(out *ChartOptions)

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

type ComponentsSpec

type ComponentsSpec struct {
	Infra InfraStack `json:"infra"`
	Opni  OpniStack  `json:"opni"`
}

func (*ComponentsSpec) DeepCopy

func (in *ComponentsSpec) DeepCopy() *ComponentsSpec

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

func (*ComponentsSpec) DeepCopyInto

func (in *ComponentsSpec) DeepCopyInto(out *ComponentsSpec)

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

type InfraStack

type InfraStack struct {
	DeployHelmController bool `json:"deployHelmController,omitempty"`
	DeployNvidiaPlugin   bool `json:"deployNvidiaPlugin,omitempty"`
}

func (*InfraStack) DeepCopy

func (in *InfraStack) DeepCopy() *InfraStack

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

func (*InfraStack) DeepCopyInto

func (in *InfraStack) DeepCopyInto(out *InfraStack)

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

type OpniDemo

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

	Spec   OpniDemoSpec   `json:"spec,omitempty"`
	Status OpniDemoStatus `json:"status,omitempty"`
}

OpniDemo is the Schema for the opnidemoes API

func (*OpniDemo) DeepCopy

func (in *OpniDemo) DeepCopy() *OpniDemo

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

func (*OpniDemo) DeepCopyInto

func (in *OpniDemo) DeepCopyInto(out *OpniDemo)

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

func (*OpniDemo) DeepCopyObject

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

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

type OpniDemoList

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

OpniDemoList contains a list of OpniDemo

func (*OpniDemoList) DeepCopy

func (in *OpniDemoList) DeepCopy() *OpniDemoList

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

func (*OpniDemoList) DeepCopyInto

func (in *OpniDemoList) DeepCopyInto(out *OpniDemoList)

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

func (*OpniDemoList) DeepCopyObject

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

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

type OpniDemoSpec

type OpniDemoSpec struct {
	Components             ComponentsSpec `json:"components"`
	MinioAccessKey         string         `json:"minioAccessKey"`
	MinioSecretKey         string         `json:"minioSecretKey"`
	MinioVersion           string         `json:"minioVersion"`
	NatsVersion            string         `json:"natsVersion"`
	NatsPassword           string         `json:"natsPassword"`
	NatsReplicas           int            `json:"natsReplicas"`
	NatsMaxPayload         int            `json:"natsMaxPayload"`
	NvidiaVersion          string         `json:"nvidiaVersion"`
	ElasticsearchUser      string         `json:"elasticsearchUser"`
	ElasticsearchPassword  string         `json:"elasticsearchPassword"`
	NulogServiceCPURequest string         `json:"nulogServiceCpuRequest"`
	NulogTrainImage        string         `json:"nulogTrainImage"`
	CreateKibanaDashboard  *bool          `json:"createKibanaDashboard,omitempty"`
}

OpniDemoSpec defines the desired state of OpniDemo

func (*OpniDemoSpec) DeepCopy

func (in *OpniDemoSpec) DeepCopy() *OpniDemoSpec

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

func (*OpniDemoSpec) DeepCopyInto

func (in *OpniDemoSpec) DeepCopyInto(out *OpniDemoSpec)

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

type OpniDemoStatus

type OpniDemoStatus struct {
	Conditions []string `json:"conditions,omitempty"`
	State      string   `json:"state,omitempty"`
}

OpniDemoStatus defines the observed state of OpniDemo

func (*OpniDemoStatus) DeepCopy

func (in *OpniDemoStatus) DeepCopy() *OpniDemoStatus

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

func (*OpniDemoStatus) DeepCopyInto

func (in *OpniDemoStatus) DeepCopyInto(out *OpniDemoStatus)

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

type OpniStack

type OpniStack struct {
	DeployGpuServices bool `json:"deployGpuServices,omitempty"`

	// +optional
	RancherLogging ChartOptions `json:"rancherLogging,omitempty"`
	// +optional
	Minio ChartOptions `json:"minio,omitempty"`
	// +optional
	Nats ChartOptions `json:"nats,omitempty"`
	// +optional
	Elastic ChartOptions `json:"elastic,omitempty"`
}

func (*OpniStack) DeepCopy

func (in *OpniStack) DeepCopy() *OpniStack

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

func (*OpniStack) DeepCopyInto

func (in *OpniStack) DeepCopyInto(out *OpniStack)

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