v1alpha1

package
v0.0.0-...-142e272 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: agh.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Shout

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

	Spec   ShoutSpec   `json:"spec"`
	Status ShoutStatus `json:"status"`
}

Shout is a specification for a Foo resource

func (*Shout) DeepCopy

func (in *Shout) DeepCopy() *Shout

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

func (*Shout) DeepCopyInto

func (in *Shout) DeepCopyInto(out *Shout)

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

func (*Shout) DeepCopyObject

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

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

type ShoutList

type ShoutList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Shout `json:"items"`
}

FooList is a list of Foo resources

func (*ShoutList) DeepCopy

func (in *ShoutList) DeepCopy() *ShoutList

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

func (*ShoutList) DeepCopyInto

func (in *ShoutList) DeepCopyInto(out *ShoutList)

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

func (*ShoutList) DeepCopyObject

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

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

type ShoutSpec

type ShoutSpec struct {
	Text  string `json:"text"`
	Count *int32 `json:"count"`
}

ShoutSpec is the spec for a Shout resource

func (*ShoutSpec) DeepCopy

func (in *ShoutSpec) DeepCopy() *ShoutSpec

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

func (*ShoutSpec) DeepCopyInto

func (in *ShoutSpec) DeepCopyInto(out *ShoutSpec)

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

type ShoutStatus

type ShoutStatus struct {
	Written bool `json:"written"`
}

ShoutStatus is the status for a Shout resource

func (*ShoutStatus) DeepCopy

func (in *ShoutStatus) DeepCopy() *ShoutStatus

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

func (*ShoutStatus) DeepCopyInto

func (in *ShoutStatus) DeepCopyInto(out *ShoutStatus)

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