v1alpha1

package
v0.0.0-...-f4cf46b Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=echo-service-operator.davidebianchi.github.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "echo-service-operator.davidebianchi.github.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 EchoService

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

	Spec   EchoServiceSpec   `json:"spec,omitempty"`
	Status EchoServiceStatus `json:"status,omitempty"`
}

EchoService is the Schema for the echoservices API

func (*EchoService) DeepCopy

func (in *EchoService) DeepCopy() *EchoService

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

func (*EchoService) DeepCopyInto

func (in *EchoService) DeepCopyInto(out *EchoService)

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

func (*EchoService) DeepCopyObject

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

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

func (EchoService) GetImage

func (e EchoService) GetImage() string

func (EchoService) GetReplicas

func (e EchoService) GetReplicas() *int32

type EchoServiceConfig

type EchoServiceConfig struct {
	ResponseDelay string `json:"responseDelay,omitempty"`
}

func (*EchoServiceConfig) DeepCopy

func (in *EchoServiceConfig) DeepCopy() *EchoServiceConfig

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

func (*EchoServiceConfig) DeepCopyInto

func (in *EchoServiceConfig) DeepCopyInto(out *EchoServiceConfig)

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

type EchoServiceList

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

EchoServiceList contains a list of EchoService

func (*EchoServiceList) DeepCopy

func (in *EchoServiceList) DeepCopy() *EchoServiceList

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

func (*EchoServiceList) DeepCopyInto

func (in *EchoServiceList) DeepCopyInto(out *EchoServiceList)

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

func (*EchoServiceList) DeepCopyObject

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

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

type EchoServiceSpec

type EchoServiceSpec struct {
	Image    string            `json:"image,omitempty"`
	Version  string            `json:"version,omitempty"`
	Replicas *int32            `json:"replicas,omitempty"`
	Config   EchoServiceConfig `json:"config,omitempty"`
}

EchoServiceSpec defines the desired state of EchoService

func (*EchoServiceSpec) DeepCopy

func (in *EchoServiceSpec) DeepCopy() *EchoServiceSpec

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

func (*EchoServiceSpec) DeepCopyInto

func (in *EchoServiceSpec) DeepCopyInto(out *EchoServiceSpec)

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

type EchoServiceStatus

type EchoServiceStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

EchoServiceStatus defines the observed state of EchoService

func (*EchoServiceStatus) DeepCopy

func (in *EchoServiceStatus) DeepCopy() *EchoServiceStatus

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

func (*EchoServiceStatus) DeepCopyInto

func (in *EchoServiceStatus) DeepCopyInto(out *EchoServiceStatus)

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