v1

package
v0.0.0-...-cca2926 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API.

Index

Constants

View Source
const (
	Version   = "v1"
	GroupName = "example"
)

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnowTypes)

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	// SchemeGroupPROJECT_VERSION is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
)

Functions

func Convert_example_BarList_To_v1_BarList

func Convert_example_BarList_To_v1_BarList(in *example.BarList, out *BarList, s conversion.Scope) error

Convert_example_BarList_To_v1_BarList is an autogenerated conversion function.

func Convert_example_BarSpec_To_v1_BarSpec

func Convert_example_BarSpec_To_v1_BarSpec(in *example.BarSpec, out *BarSpec, s conversion.Scope) error

Convert_example_BarSpec_To_v1_BarSpec is an autogenerated conversion function.

func Convert_example_BarStatus_To_v1_BarStatus

func Convert_example_BarStatus_To_v1_BarStatus(in *example.BarStatus, out *BarStatus, s conversion.Scope) error

Convert_example_BarStatus_To_v1_BarStatus is an autogenerated conversion function.

func Convert_example_Bar_To_v1_Bar

func Convert_example_Bar_To_v1_Bar(in *example.Bar, out *Bar, s conversion.Scope) error

Convert_example_Bar_To_v1_Bar is an autogenerated conversion function.

func Convert_example_FooList_To_v1_FooList

func Convert_example_FooList_To_v1_FooList(in *example.FooList, out *FooList, s conversion.Scope) error

Convert_example_FooList_To_v1_FooList is an autogenerated conversion function.

func Convert_example_FooSpec_To_v1_FooSpec

func Convert_example_FooSpec_To_v1_FooSpec(in *example.FooSpec, out *FooSpec, s conversion.Scope) error

Convert_example_FooSpec_To_v1_FooSpec is an autogenerated conversion function.

func Convert_example_FooStatus_To_v1_FooStatus

func Convert_example_FooStatus_To_v1_FooStatus(in *example.FooStatus, out *FooStatus, s conversion.Scope) error

Convert_example_FooStatus_To_v1_FooStatus is an autogenerated conversion function.

func Convert_example_Foo_To_v1_Foo

func Convert_example_Foo_To_v1_Foo(in *example.Foo, out *Foo, s conversion.Scope) error

Convert_example_Foo_To_v1_Foo is an autogenerated conversion function.

func Convert_v1_BarList_To_example_BarList

func Convert_v1_BarList_To_example_BarList(in *BarList, out *example.BarList, s conversion.Scope) error

Convert_v1_BarList_To_example_BarList is an autogenerated conversion function.

func Convert_v1_BarSpec_To_example_BarSpec

func Convert_v1_BarSpec_To_example_BarSpec(in *BarSpec, out *example.BarSpec, s conversion.Scope) error

Convert_v1_BarSpec_To_example_BarSpec is an autogenerated conversion function.

func Convert_v1_BarStatus_To_example_BarStatus

func Convert_v1_BarStatus_To_example_BarStatus(in *BarStatus, out *example.BarStatus, s conversion.Scope) error

Convert_v1_BarStatus_To_example_BarStatus is an autogenerated conversion function.

func Convert_v1_Bar_To_example_Bar

func Convert_v1_Bar_To_example_Bar(in *Bar, out *example.Bar, s conversion.Scope) error

Convert_v1_Bar_To_example_Bar is an autogenerated conversion function.

func Convert_v1_FooList_To_example_FooList

func Convert_v1_FooList_To_example_FooList(in *FooList, out *example.FooList, s conversion.Scope) error

Convert_v1_FooList_To_example_FooList is an autogenerated conversion function.

func Convert_v1_FooSpec_To_example_FooSpec

func Convert_v1_FooSpec_To_example_FooSpec(in *FooSpec, out *example.FooSpec, s conversion.Scope) error

Convert_v1_FooSpec_To_example_FooSpec is an autogenerated conversion function.

func Convert_v1_FooStatus_To_example_FooStatus

func Convert_v1_FooStatus_To_example_FooStatus(in *FooStatus, out *example.FooStatus, s conversion.Scope) error

Convert_v1_FooStatus_To_example_FooStatus is an autogenerated conversion function.

func Convert_v1_Foo_To_example_Foo

func Convert_v1_Foo_To_example_Foo(in *Foo, out *example.Foo, s conversion.Scope) error

Convert_v1_Foo_To_example_Foo is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

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

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group-qualified GroupResource.

Types

type Bar

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

	Spec   BarSpec   `json:"spec"`
	Status BarStatus `json:"status"`
}

Bar defines Bar deployment

func (*Bar) DeepCopy

func (in *Bar) DeepCopy() *Bar

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

func (*Bar) DeepCopyInto

func (in *Bar) DeepCopyInto(out *Bar)

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

func (*Bar) DeepCopyObject

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

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

type BarList

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

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

BarList carries a list of Bar objects

func (*BarList) DeepCopy

func (in *BarList) DeepCopy() *BarList

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

func (*BarList) DeepCopyInto

func (in *BarList) DeepCopyInto(out *BarList)

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

func (*BarList) DeepCopyObject

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

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

type BarSpec

type BarSpec struct {
}

BarSpec describes the specification of Bar applications using kubernetes as a cluster manager

func (*BarSpec) DeepCopy

func (in *BarSpec) DeepCopy() *BarSpec

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

func (*BarSpec) DeepCopyInto

func (in *BarSpec) DeepCopyInto(out *BarSpec)

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

type BarStatus

type BarStatus struct {
}

BarStatus describes the current status of Bar applications

func (*BarStatus) DeepCopy

func (in *BarStatus) DeepCopy() *BarStatus

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

func (*BarStatus) DeepCopyInto

func (in *BarStatus) DeepCopyInto(out *BarStatus)

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

type Foo

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

	Spec   FooSpec   `json:"spec"`
	Status FooStatus `json:"status"`
}

Foo defines Foo deployment

func (*Foo) DeepCopy

func (in *Foo) DeepCopy() *Foo

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

func (*Foo) DeepCopyInto

func (in *Foo) DeepCopyInto(out *Foo)

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

func (*Foo) DeepCopyObject

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

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

type FooList

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

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

FooList carries a list of Foo objects

func (*FooList) DeepCopy

func (in *FooList) DeepCopy() *FooList

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

func (*FooList) DeepCopyInto

func (in *FooList) DeepCopyInto(out *FooList)

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

func (*FooList) DeepCopyObject

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

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

type FooSpec

type FooSpec struct {
}

FooSpec describes the specification of Foo applications using kubernetes as a cluster manager

func (*FooSpec) DeepCopy

func (in *FooSpec) DeepCopy() *FooSpec

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

func (*FooSpec) DeepCopyInto

func (in *FooSpec) DeepCopyInto(out *FooSpec)

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

type FooStatus

type FooStatus struct {
}

FooStatus describes the current status of Foo applications

func (*FooStatus) DeepCopy

func (in *FooStatus) DeepCopy() *FooStatus

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

func (*FooStatus) DeepCopyInto

func (in *FooStatus) DeepCopyInto(out *FooStatus)

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