v1alpha1

package
v0.0.0-...-d10fae5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the clusters v1alpha1 API group +kubebuilder:object:generate=true +groupName=clusters.ci.cilium.io

Index

Constants

This section is empty.

Variables

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

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

	Spec   TestClusterGKESpec   `json:"spec,omitempty"`
	Status TestClusterGKEStatus `json:"status,omitempty"`
}

TestClusterGKE is the Schema for the TestClustersGKE API

func (*TestClusterGKE) ConvertFrom

func (dst *TestClusterGKE) ConvertFrom(srcRaw conversion.Hub) error

ConvertTo converts from Hub version to this TestClusterGKE.

func (*TestClusterGKE) ConvertTo

func (src *TestClusterGKE) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this TestClusterGKE to the Hub version.

func (*TestClusterGKE) DeepCopy

func (in *TestClusterGKE) DeepCopy() *TestClusterGKE

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

func (*TestClusterGKE) DeepCopyInto

func (in *TestClusterGKE) DeepCopyInto(out *TestClusterGKE)

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

func (*TestClusterGKE) DeepCopyObject

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

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

func (*TestClusterGKE) Default

func (c *TestClusterGKE) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*TestClusterGKE) SetupWebhookWithManager

func (c *TestClusterGKE) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*TestClusterGKE) ValidateCreate

func (c *TestClusterGKE) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*TestClusterGKE) ValidateDelete

func (c *TestClusterGKE) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*TestClusterGKE) ValidateUpdate

func (c *TestClusterGKE) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*TestClusterGKE) WithoutTypeMeta

func (t *TestClusterGKE) WithoutTypeMeta() *TestClusterGKE_WithoutTypeMeta

WithoutTypeMeta returns a copy of t without TypeMeta, this is a workaround an issue with CUE (see https://github.com/cuelang/cue/discussions/439)

type TestClusterGKEJobRunnerSpec

type TestClusterGKEJobRunnerSpec struct {
	// Image that will drive the tests
	Image *string `json:"image,omitempty"`
	// Command that will be used
	Command []string `json:"command,omitempty"`
	// InitImage specifies the image used in init container
	InitImage *string `json:"initImage,omitempty"`
	// Env speficies environment variables for the runner
	Env []corev1.EnvVar `json:"env,omitempty"`
	// ConfigMap is a name of configmap of the runner
	ConfigMap *string `json:"configMap,omitempty"`
}

TestClusterGKEJobRunnerSpec is the specification of test job controll process container

func (*TestClusterGKEJobRunnerSpec) DeepCopy

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

func (*TestClusterGKEJobRunnerSpec) DeepCopyInto

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

type TestClusterGKEJobSpec

type TestClusterGKEJobSpec struct {
	// Runner specifies a container that will run control process that drives the tests
	Runner *TestClusterGKEJobRunnerSpec `json:"runner,omitempty"`
	// ImagesToTest is a set of application images that will be tested
	ImagesToTest *map[string]string `json:"imagesToTest,omitempty"`
}

TestClusterGKEJobSpec is the specification of test job

func (*TestClusterGKEJobSpec) DeepCopy

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

func (*TestClusterGKEJobSpec) DeepCopyInto

func (in *TestClusterGKEJobSpec) DeepCopyInto(out *TestClusterGKEJobSpec)

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

type TestClusterGKEList

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

TestClusterGKEList contains a list of TestClusterGKE

func (*TestClusterGKEList) DeepCopy

func (in *TestClusterGKEList) DeepCopy() *TestClusterGKEList

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

func (*TestClusterGKEList) DeepCopyInto

func (in *TestClusterGKEList) DeepCopyInto(out *TestClusterGKEList)

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

func (*TestClusterGKEList) DeepCopyObject

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

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

type TestClusterGKESpec

type TestClusterGKESpec struct {
	// Project is the name of GCP project
	Project *string `json:"project,omitempty"`
	// ConfigTemplate is the name of configuration template to use
	ConfigTemplate *string `json:"configTemplate,omitempty"`
	// Location is a GCP zone or region
	Location *string `json:"location,omitempty"`
	// Location is a GCP region (derived from location)
	// TODO: not user-settable, read-only
	Region *string `json:"region,omitempty"`
	// KubernetesVersion is the version of Kubernetes to use
	KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
	// JobSpec is the specification of test job
	JobSpec *TestClusterGKEJobSpec `json:"jobSpec,omitempty"`
	// MachineType is the GCP machine type
	MachineType *string `json:"machineType,omitempty"`
	// Nodes is the number of nodes
	Nodes *int `json:"nodes,omitempty"`
}

TestClusterGKESpec defines the desired state of TestClusterGKE

func (*TestClusterGKESpec) DeepCopy

func (in *TestClusterGKESpec) DeepCopy() *TestClusterGKESpec

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

func (*TestClusterGKESpec) DeepCopyInto

func (in *TestClusterGKESpec) DeepCopyInto(out *TestClusterGKESpec)

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

type TestClusterGKEStatus

type TestClusterGKEStatus struct {
	Conditions           v1alpha2.CommonConditions `json:"conditions,omitempty"`
	Endpoint             *string                   `json:"endpoint,omitempty"`
	Operation            *string                   `json:"operation,omitempty"`
	KubeconfigSecretName *string                   `json:"kubeconfigSecretName,omitempty"`
	ClusterName          *string                   `json:"clusterName,omitempty"`
}

TestClusterGKEStatus defines the observed state of TestClusterGKE

func (*TestClusterGKEStatus) DeepCopy

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

func (*TestClusterGKEStatus) DeepCopyInto

func (in *TestClusterGKEStatus) DeepCopyInto(out *TestClusterGKEStatus)

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

type TestClusterGKE_WithoutTypeMeta

type TestClusterGKE_WithoutTypeMeta struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TestClusterGKESpec   `json:"spec,omitempty"`
	Status TestClusterGKEStatus `json:"status,omitempty"`
}

func (*TestClusterGKE_WithoutTypeMeta) DeepCopy

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

func (*TestClusterGKE_WithoutTypeMeta) DeepCopyInto

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

type TestClusterPoolGKE

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

	Spec   TestClusterPoolGKESpec   `json:"spec,omitempty"`
	Status TestClusterPoolGKEStatus `json:"status,omitempty"`
}

TestClusterPoolGKE is the Schema for the testclusterpoolgkes API

func (*TestClusterPoolGKE) DeepCopy

func (in *TestClusterPoolGKE) DeepCopy() *TestClusterPoolGKE

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

func (*TestClusterPoolGKE) DeepCopyInto

func (in *TestClusterPoolGKE) DeepCopyInto(out *TestClusterPoolGKE)

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

func (*TestClusterPoolGKE) DeepCopyObject

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

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

type TestClusterPoolGKEList

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

TestClusterPoolGKEList contains a list of TestClusterPoolGKE

func (*TestClusterPoolGKEList) DeepCopy

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

func (*TestClusterPoolGKEList) DeepCopyInto

func (in *TestClusterPoolGKEList) DeepCopyInto(out *TestClusterPoolGKEList)

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

func (*TestClusterPoolGKEList) DeepCopyObject

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

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

type TestClusterPoolGKESpec

type TestClusterPoolGKESpec struct {

	// Foo is an example field of TestClusterPoolGKE. Edit TestClusterPoolGKE_types.go to remove/update
	Foo string `json:"foo,omitempty"`
}

TestClusterPoolGKESpec defines the desired state of TestClusterPoolGKE

func (*TestClusterPoolGKESpec) DeepCopy

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

func (*TestClusterPoolGKESpec) DeepCopyInto

func (in *TestClusterPoolGKESpec) DeepCopyInto(out *TestClusterPoolGKESpec)

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

type TestClusterPoolGKEStatus

type TestClusterPoolGKEStatus struct {
}

TestClusterPoolGKEStatus defines the observed state of TestClusterPoolGKE +kubebuilder:subresource:status

func (*TestClusterPoolGKEStatus) DeepCopy

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

func (*TestClusterPoolGKEStatus) DeepCopyInto

func (in *TestClusterPoolGKEStatus) DeepCopyInto(out *TestClusterPoolGKEStatus)

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