v1alpha1

package
v0.0.0-...-479a984 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

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

	Spec   BenchmarkSpec   `json:"spec,omitempty"`
	Status BenchmarkStatus `json:"status,omitempty"`
}

Benchmark is the Schema for the benchmarks API

func (*Benchmark) DeepCopy

func (in *Benchmark) DeepCopy() *Benchmark

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

func (*Benchmark) DeepCopyInto

func (in *Benchmark) DeepCopyInto(out *Benchmark)

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

func (*Benchmark) DeepCopyObject

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

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

type BenchmarkList

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

BenchmarkList contains a list of Benchmark

func (*BenchmarkList) DeepCopy

func (in *BenchmarkList) DeepCopy() *BenchmarkList

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

func (*BenchmarkList) DeepCopyInto

func (in *BenchmarkList) DeepCopyInto(out *BenchmarkList)

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

func (*BenchmarkList) DeepCopyObject

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

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

type BenchmarkSpec

type BenchmarkSpec struct {
	// This has to be the name of a secret that contains clientId, clientSecret,
	// zeebeAddress and authServer. It defaults to "cloud-credentials"
	//+optional
	CredentialsSecretName string `json:"credentialsSecretName"`
	// Starter rate value on the starter deployment
	ProcessStarterRate int `json:"processStarterRate"`
	// Number of replicas for the starter
	StarterReplicas int `json:"starterReplicas"`
	// Number of workers
	WorkerCount int `json:"workerCount"`
	// How long the benchmark should run
	Duration string `json:"duration"`
}

BenchmarkSpec defines the desired state of Benchmark

func (*BenchmarkSpec) DeepCopy

func (in *BenchmarkSpec) DeepCopy() *BenchmarkSpec

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

func (*BenchmarkSpec) DeepCopyInto

func (in *BenchmarkSpec) DeepCopyInto(out *BenchmarkSpec)

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

type BenchmarkStatus

type BenchmarkStatus struct {
	StartTime *metav1.Time `json:"startTime"`
	Progress  string       `json:"progress"`
}

BenchmarkStatus defines the observed state of Benchmark

func (*BenchmarkStatus) DeepCopy

func (in *BenchmarkStatus) DeepCopy() *BenchmarkStatus

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

func (*BenchmarkStatus) DeepCopyInto

func (in *BenchmarkStatus) DeepCopyInto(out *BenchmarkStatus)

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