v1

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

api/v1/myapp_types.go

api/v1/groupversion_info.go

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
	// AddToScheme is used to add the SchemeBuilder to the scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var GroupVersion = schema.GroupVersion{Group: "example.com", Version: "v1"}

GroupVersion is group version used to register these objects

Functions

This section is empty.

Types

type MyApp

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

	Spec   MyAppSpec   `json:"spec,omitempty"`
	Status MyAppStatus `json:"status,omitempty"`
}

MyApp is the Schema for the myapps API

func (*MyApp) DeepCopy

func (in *MyApp) DeepCopy() *MyApp

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

func (*MyApp) DeepCopyInto

func (in *MyApp) DeepCopyInto(out *MyApp)

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

func (*MyApp) DeepCopyObject

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

DeepCopyObject implements the runtime.Object interface.

type MyAppList

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

MyAppList contains a list of MyApp

func (*MyAppList) DeepCopy

func (in *MyAppList) DeepCopy() *MyAppList

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

func (*MyAppList) DeepCopyInto

func (in *MyAppList) DeepCopyInto(out *MyAppList)

func (*MyAppList) DeepCopyObject

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

DeepCopyObject implements the runtime.Object interface.

type MyAppSpec

type MyAppSpec struct {
	Replicas *int32  `json:"replicas"`
	Image    *string `json:"image"`
}

MyAppSpec defines the desired state of MyApp

func (*MyAppSpec) DeepCopy

func (in *MyAppSpec) DeepCopy() *MyAppSpec

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

func (*MyAppSpec) DeepCopyInto

func (in *MyAppSpec) DeepCopyInto(out *MyAppSpec)

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

type MyAppStatus

type MyAppStatus struct {
	AvailableReplicas int32 `json:"availableReplicas"`
}

MyAppStatus defines the observed state of MyApp

func (*MyAppStatus) DeepCopy

func (in *MyAppStatus) DeepCopy() *MyAppStatus

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

func (*MyAppStatus) DeepCopyInto

func (in *MyAppStatus) DeepCopyInto(out *MyAppStatus)

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