v1

package
v0.0.0-...-d4ca5b8 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName string = "app.baffles.dev"
	Version   string = "v1"
)

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:   GroupName,
	Version: Version,
}

SchemeGroupVersion is group version used to register these objects.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type AppType

type AppType string
const (
	App AppType = "app"
	VM  AppType = "vm"
)

type BafflesApplication

type BafflesApplication struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BafflesApplicationSpec `json:"spec,omitempty"`
}

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

func (*BafflesApplication) DeepCopy

func (in *BafflesApplication) DeepCopy() *BafflesApplication

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

func (*BafflesApplication) DeepCopyInto

func (in *BafflesApplication) DeepCopyInto(out *BafflesApplication)

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

func (*BafflesApplication) DeepCopyObject

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

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

type BafflesApplicationList

type BafflesApplicationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BafflesApplication `json:"items"`
}

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

func (*BafflesApplicationList) DeepCopy

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

func (*BafflesApplicationList) DeepCopyInto

func (in *BafflesApplicationList) DeepCopyInto(out *BafflesApplicationList)

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

func (*BafflesApplicationList) DeepCopyObject

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

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

type BafflesApplicationSpec

type BafflesApplicationSpec struct {
	DisplayName string  `json:"displayName"`
	Description string  `json:"description"`
	Icon        string  `json:"icon"`
	Url         string  `json:"url"`
	Category    AppType `json:"category"`
}

func (*BafflesApplicationSpec) DeepCopy

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

func (*BafflesApplicationSpec) DeepCopyInto

func (in *BafflesApplicationSpec) DeepCopyInto(out *BafflesApplicationSpec)

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