v1

package
v0.0.0-...-ff90247 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the tgik v1 API group +kubebuilder:object:generate=true +groupName=tgik.tgik.io

Index

Constants

This section is empty.

Variables

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

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

	Spec   SquareSpec   `json:"spec,omitempty"`
	Status SquareStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status Square is the Schema for the squares API

func (*Square) DeepCopy

func (in *Square) DeepCopy() *Square

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

func (*Square) DeepCopyInto

func (in *Square) DeepCopyInto(out *Square)

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

func (*Square) DeepCopyObject

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

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

type SquareList

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

SquareList contains a list of Square

func (*SquareList) DeepCopy

func (in *SquareList) DeepCopy() *SquareList

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

func (*SquareList) DeepCopyInto

func (in *SquareList) DeepCopyInto(out *SquareList)

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

func (*SquareList) DeepCopyObject

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

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

type SquareSpec

type SquareSpec struct {

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

	Base int `json:"base"` // base^2
}

SquareSpec defines the desired state of Square

func (*SquareSpec) DeepCopy

func (in *SquareSpec) DeepCopy() *SquareSpec

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

func (*SquareSpec) DeepCopyInto

func (in *SquareSpec) DeepCopyInto(out *SquareSpec)

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

type SquareStatus

type SquareStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Result     int    `json:"result"`
	Expression string `json:"expression"`
}

SquareStatus defines the observed state of Square

func (*SquareStatus) DeepCopy

func (in *SquareStatus) DeepCopy() *SquareStatus

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

func (*SquareStatus) DeepCopyInto

func (in *SquareStatus) DeepCopyInto(out *SquareStatus)

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