example

package
v0.0.0-...-843aa42 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

package example is the internal version of the API.

Index

Constants

View Source
const GroupName = "example.toddtreece.com"

GroupName is the group name used in this package

Variables

View Source
var (
	// SchemeBuilder is the scheme builder with scheme init functions to run for this API package
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

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 back a Group qualified GroupResource

Types

type Example

type Example struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   ExampleSpec
	Status ExampleStatus
}

Example is an example type with a spec and a status.

func (*Example) DeepCopy

func (in *Example) DeepCopy() *Example

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

func (*Example) DeepCopyInto

func (in *Example) DeepCopyInto(out *Example)

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

func (*Example) DeepCopyObject

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

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

type ExampleList

type ExampleList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []Example
}

ExampleList is a list of Example objects.

func (*ExampleList) DeepCopy

func (in *ExampleList) DeepCopy() *ExampleList

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

func (*ExampleList) DeepCopyInto

func (in *ExampleList) DeepCopyInto(out *ExampleList)

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

func (*ExampleList) DeepCopyObject

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

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

type ExampleSpec

type ExampleSpec struct {
	Description string
}

ExampleSpec is the specification of a Example.

func (*ExampleSpec) DeepCopy

func (in *ExampleSpec) DeepCopy() *ExampleSpec

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

func (*ExampleSpec) DeepCopyInto

func (in *ExampleSpec) DeepCopyInto(out *ExampleSpec)

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

type ExampleStatus

type ExampleStatus struct {
}

ExampleStatus is the status of a Example.

func (*ExampleStatus) DeepCopy

func (in *ExampleStatus) DeepCopy() *ExampleStatus

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

func (*ExampleStatus) DeepCopyInto

func (in *ExampleStatus) DeepCopyInto(out *ExampleStatus)

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

type QueryRequest

type QueryRequest struct {
	metav1.TypeMeta `json:",inline"`

	Spec QueryRequestSpec `json:"spec,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*QueryRequest) DeepCopy

func (in *QueryRequest) DeepCopy() *QueryRequest

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

func (*QueryRequest) DeepCopyInto

func (in *QueryRequest) DeepCopyInto(out *QueryRequest)

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

func (*QueryRequest) DeepCopyObject

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

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

type QueryRequestSpec

type QueryRequestSpec struct {
	Foo string `json:"foo,omitempty"`
}

func (*QueryRequestSpec) DeepCopy

func (in *QueryRequestSpec) DeepCopy() *QueryRequestSpec

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

func (*QueryRequestSpec) DeepCopyInto

func (in *QueryRequestSpec) DeepCopyInto(out *QueryRequestSpec)

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

type QueryResponse

type QueryResponse struct {
	metav1.TypeMeta `json:",inline"`

	Spec QueryResponseSpec `json:"spec,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*QueryResponse) DeepCopy

func (in *QueryResponse) DeepCopy() *QueryResponse

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

func (*QueryResponse) DeepCopyInto

func (in *QueryResponse) DeepCopyInto(out *QueryResponse)

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

func (*QueryResponse) DeepCopyObject

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

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

type QueryResponseSpec

type QueryResponseSpec struct {
	Bar string `json:"bar,omitempty"`
}

func (*QueryResponseSpec) DeepCopy

func (in *QueryResponseSpec) DeepCopy() *QueryResponseSpec

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

func (*QueryResponseSpec) DeepCopyInto

func (in *QueryResponseSpec) DeepCopyInto(out *QueryResponseSpec)

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

type ResourceCallOptions

type ResourceCallOptions struct {
	metav1.TypeMeta

	// Path is the URL path to use for the current proxy request
	Path string
}

func (*ResourceCallOptions) DeepCopy

func (in *ResourceCallOptions) DeepCopy() *ResourceCallOptions

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

func (*ResourceCallOptions) DeepCopyInto

func (in *ResourceCallOptions) DeepCopyInto(out *ResourceCallOptions)

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

func (*ResourceCallOptions) DeepCopyObject

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

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

Directories

Path Synopsis
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 is the v1beta1 version of the API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL