v1alpha1

package
v0.0.0-...-bd62828 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Copyright 2022 coseguera.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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: basiccontroller.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 Demo

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

	Spec   DemoSpec   `json:"spec"`
	Status DemoStatus `json:"status"`
}

Demo is a specification for a Demo resource

func (*Demo) DeepCopy

func (in *Demo) DeepCopy() *Demo

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

func (*Demo) DeepCopyInto

func (in *Demo) DeepCopyInto(out *Demo)

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

func (*Demo) DeepCopyObject

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

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

type DemoList

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

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

DemoList is a list of Demo resources

func (*DemoList) DeepCopy

func (in *DemoList) DeepCopy() *DemoList

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

func (*DemoList) DeepCopyInto

func (in *DemoList) DeepCopyInto(out *DemoList)

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

func (*DemoList) DeepCopyObject

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

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

type DemoSpec

type DemoSpec struct {
	Message string `json:"message"`
}

DemoSpec is the spec for a Demo resource

func (*DemoSpec) DeepCopy

func (in *DemoSpec) DeepCopy() *DemoSpec

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

func (*DemoSpec) DeepCopyInto

func (in *DemoSpec) DeepCopyInto(out *DemoSpec)

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

type DemoStatus

type DemoStatus struct {
	LastMessage string `json:"lastMessage"`
}

DemoStatus is the status for a Demo resource

func (*DemoStatus) DeepCopy

func (in *DemoStatus) DeepCopy() *DemoStatus

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

func (*DemoStatus) DeepCopyInto

func (in *DemoStatus) DeepCopyInto(out *DemoStatus)

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