v1alpha1

package
v0.0.0-...-b20f359 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the io v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=org.scribble

Package v1alpha1 contains API Schema definitions for the io v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=io.objectiser

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "io.objectiser", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type Scribble

type Scribble struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              ScribbleSpec `json:"spec"`
}

Scribble defines the main structure for the custom-resource

func NewScribble

func NewScribble(name string) *Scribble

NewScribble returns a new Scribble instance with the given name

func (*Scribble) DeepCopy

func (in *Scribble) DeepCopy() *Scribble

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

func (*Scribble) DeepCopyInto

func (in *Scribble) DeepCopyInto(out *Scribble)

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

func (*Scribble) DeepCopyObject

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

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

type ScribbleList

type ScribbleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Scribble `json:"items"`
}

ScribbleList is a list of Scribble structs

func (*ScribbleList) DeepCopy

func (in *ScribbleList) DeepCopy() *ScribbleList

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

func (*ScribbleList) DeepCopyInto

func (in *ScribbleList) DeepCopyInto(out *ScribbleList)

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

func (*ScribbleList) DeepCopyObject

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

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

type ScribbleSpec

type ScribbleSpec struct {
	Name string `json:"name"`
}

ScribbleSpec defines the structure of the Scribble JSON object from the CR

func (*ScribbleSpec) DeepCopy

func (in *ScribbleSpec) DeepCopy() *ScribbleSpec

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

func (*ScribbleSpec) DeepCopyInto

func (in *ScribbleSpec) DeepCopyInto(out *ScribbleSpec)

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