v1

package
v0.0.0-...-83d1063 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the apps v1 API group +kubebuilder:object:generate=true +groupName=apps.qaware.de

Index

Constants

This section is empty.

Variables

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

This section is empty.

Types

type Microservice

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

	Spec   MicroserviceSpec   `json:"spec,omitempty"`
	Status MicroserviceStatus `json:"status,omitempty"`
}

Microservice is the Schema for the microservices API

func (*Microservice) DeepCopy

func (in *Microservice) DeepCopy() *Microservice

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

func (*Microservice) DeepCopyInto

func (in *Microservice) DeepCopyInto(out *Microservice)

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

func (*Microservice) DeepCopyObject

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

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

type MicroserviceList

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

MicroserviceList contains a list of Microservice

func (*MicroserviceList) DeepCopy

func (in *MicroserviceList) DeepCopy() *MicroserviceList

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

func (*MicroserviceList) DeepCopyInto

func (in *MicroserviceList) DeepCopyInto(out *MicroserviceList)

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

func (*MicroserviceList) DeepCopyObject

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

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

type MicroserviceSpec

type MicroserviceSpec struct {

	// +kubebuilder:validation:Minimum=0
	// Replicas is the number of replicas for the microservice deployment
	Replicas int32 `json:"replicas,omitempty"`

	// Image is the Docker image and tag to use for the microservice deployment
	Image string `json:"image,omitempty"`

	// Ports is the list of HTTP container ports for the microservice deployment
	Ports []int32 `json:"ports"`

	// ServiceType is the service type to use for the microservice service
	ServiceType string `json:"serviceType,omitempty"`
}

MicroserviceSpec defines the desired state of Microservice

func (*MicroserviceSpec) DeepCopy

func (in *MicroserviceSpec) DeepCopy() *MicroserviceSpec

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

func (*MicroserviceSpec) DeepCopyInto

func (in *MicroserviceSpec) DeepCopyInto(out *MicroserviceSpec)

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

type MicroserviceStatus

type MicroserviceStatus struct {
}

MicroserviceStatus defines the observed state of Microservice

func (*MicroserviceStatus) DeepCopy

func (in *MicroserviceStatus) DeepCopy() *MicroserviceStatus

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

func (*MicroserviceStatus) DeepCopyInto

func (in *MicroserviceStatus) DeepCopyInto(out *MicroserviceStatus)

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