v1

package
v0.0.0-...-c393724 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the pets v1 API group +kubebuilder:object:generate=true +groupName=pets.bestie.com

Index

Constants

This section is empty.

Variables

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

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

	Spec   BestieSpec   `json:"spec,omitempty"`
	Status BestieStatus `json:"status,omitempty"`
}

Bestie is the Schema for the besties API.

func (*Bestie) DeepCopy

func (in *Bestie) DeepCopy() *Bestie

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

func (*Bestie) DeepCopyInto

func (in *Bestie) DeepCopyInto(out *Bestie)

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

func (*Bestie) DeepCopyObject

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

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

type BestieList

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

BestieList contains a list of Bestie.

func (*BestieList) DeepCopy

func (in *BestieList) DeepCopy() *BestieList

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

func (*BestieList) DeepCopyInto

func (in *BestieList) DeepCopyInto(out *BestieList)

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

func (*BestieList) DeepCopyObject

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

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

type BestieSpec

type BestieSpec struct {
	Size    int32  `json:"size"`
	Image   string `json:"image,omitempty"`
	Version string `json:"version,omitempty"`
	// Replicas is the number of pod instances for Bestie Deployment
	// +optional
	Replicas *int32 `json:"replicas,omitempty"`

	// MaxReplicas sets an upper bound to the autoscaling feature. If MaxReplicas is set autoscaling is enabled.
	// +optional
	MaxReplicas *int32 `json:"maxReplicas,omitempty"`
}

BestieSpec defines the desired state of Bestie.

func (*BestieSpec) DeepCopy

func (in *BestieSpec) DeepCopy() *BestieSpec

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

func (*BestieSpec) DeepCopyInto

func (in *BestieSpec) DeepCopyInto(out *BestieSpec)

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

type BestieStatus

type BestieStatus struct {
	PodStatus  []string `json:"podstatus,omitempty"`
	AppVersion string   `json:"appversion,omitempty"`
}

BestieStatus defines the observed state of Bestie.

func (*BestieStatus) DeepCopy

func (in *BestieStatus) DeepCopy() *BestieStatus

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

func (*BestieStatus) DeepCopyInto

func (in *BestieStatus) DeepCopyInto(out *BestieStatus)

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