apps

package
v0.0.0-...-a052cf5 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2018 License: Apache-2.0 Imports: 3 Imported by: 12

Documentation

Overview

Package api is the internal version of the API. +groupName=apps.kubepack.com

Index

Constants

View Source
const GroupName = "apps.kubepack.com"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	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 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 back a Group qualified GroupResource

Types

type Pack

type Pack struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   PackSpec
	Status PackStatus
}

func (*Pack) DeepCopy

func (in *Pack) DeepCopy() *Pack

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

func (*Pack) DeepCopyInto

func (in *Pack) DeepCopyInto(out *Pack)

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

func (*Pack) DeepCopyObject

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

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

type PackList

type PackList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []Pack
}

PackList is a list of Pack objects.

func (*PackList) DeepCopy

func (in *PackList) DeepCopy() *PackList

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

func (*PackList) DeepCopyInto

func (in *PackList) DeepCopyInto(out *PackList)

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

func (*PackList) DeepCopyObject

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

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

type PackSpec

type PackSpec struct {
}

func (*PackSpec) DeepCopy

func (in *PackSpec) DeepCopy() *PackSpec

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

func (*PackSpec) DeepCopyInto

func (in *PackSpec) DeepCopyInto(out *PackSpec)

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

type PackStatus

type PackStatus struct {
}

func (*PackStatus) DeepCopy

func (in *PackStatus) DeepCopy() *PackStatus

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

func (*PackStatus) DeepCopyInto

func (in *PackStatus) DeepCopyInto(out *PackStatus)

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

type User

type User struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	// DisallowedPacks holds a list of Pack.Names that are disallowed.
	DisallowedPacks []string
}

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject

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

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

type UserList

type UserList struct {
	metav1.TypeMeta
	metav1.ListMeta

	// Items is a list of Users
	Items []User
}

UserList is a list of User objects.

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject

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

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

Directories

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

Jump to

Keyboard shortcuts

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