v1alpha1

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: 7 Imported by: 10

Documentation

Overview

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

Index

Constants

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

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_apps_PackList_To_v1alpha1_PackList

func Convert_apps_PackList_To_v1alpha1_PackList(in *apps.PackList, out *PackList, s conversion.Scope) error

Convert_apps_PackList_To_v1alpha1_PackList is an autogenerated conversion function.

func Convert_apps_PackSpec_To_v1alpha1_PackSpec

func Convert_apps_PackSpec_To_v1alpha1_PackSpec(in *apps.PackSpec, out *PackSpec, s conversion.Scope) error

Convert_apps_PackSpec_To_v1alpha1_PackSpec is an autogenerated conversion function.

func Convert_apps_PackStatus_To_v1alpha1_PackStatus

func Convert_apps_PackStatus_To_v1alpha1_PackStatus(in *apps.PackStatus, out *PackStatus, s conversion.Scope) error

Convert_apps_PackStatus_To_v1alpha1_PackStatus is an autogenerated conversion function.

func Convert_apps_Pack_To_v1alpha1_Pack

func Convert_apps_Pack_To_v1alpha1_Pack(in *apps.Pack, out *Pack, s conversion.Scope) error

Convert_apps_Pack_To_v1alpha1_Pack is an autogenerated conversion function.

func Convert_apps_UserList_To_v1alpha1_UserList

func Convert_apps_UserList_To_v1alpha1_UserList(in *apps.UserList, out *UserList, s conversion.Scope) error

Convert_apps_UserList_To_v1alpha1_UserList is an autogenerated conversion function.

func Convert_apps_User_To_v1alpha1_User

func Convert_apps_User_To_v1alpha1_User(in *apps.User, out *User, s conversion.Scope) error

Convert_apps_User_To_v1alpha1_User is an autogenerated conversion function.

func Convert_v1alpha1_PackList_To_apps_PackList

func Convert_v1alpha1_PackList_To_apps_PackList(in *PackList, out *apps.PackList, s conversion.Scope) error

Convert_v1alpha1_PackList_To_apps_PackList is an autogenerated conversion function.

func Convert_v1alpha1_PackSpec_To_apps_PackSpec

func Convert_v1alpha1_PackSpec_To_apps_PackSpec(in *PackSpec, out *apps.PackSpec, s conversion.Scope) error

Convert_v1alpha1_PackSpec_To_apps_PackSpec is an autogenerated conversion function.

func Convert_v1alpha1_PackStatus_To_apps_PackStatus

func Convert_v1alpha1_PackStatus_To_apps_PackStatus(in *PackStatus, out *apps.PackStatus, s conversion.Scope) error

Convert_v1alpha1_PackStatus_To_apps_PackStatus is an autogenerated conversion function.

func Convert_v1alpha1_Pack_To_apps_Pack

func Convert_v1alpha1_Pack_To_apps_Pack(in *Pack, out *apps.Pack, s conversion.Scope) error

Convert_v1alpha1_Pack_To_apps_Pack is an autogenerated conversion function.

func Convert_v1alpha1_UserList_To_apps_UserList

func Convert_v1alpha1_UserList_To_apps_UserList(in *UserList, out *apps.UserList, s conversion.Scope) error

Convert_v1alpha1_UserList_To_apps_UserList is an autogenerated conversion function.

func Convert_v1alpha1_User_To_apps_User

func Convert_v1alpha1_User_To_apps_User(in *User, out *apps.User, s conversion.Scope) error

Convert_v1alpha1_User_To_apps_User is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(scheme *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 Pack

type Pack struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   PackSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status PackStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

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 `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []Pack `json:"items" protobuf:"bytes,2,rep,name=items"`
}

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   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// DisallowedPacks holds a list of Pack.Names that are disallowed.
	DisallowedPacks []string `json:"disallowedPacks,omitempty" protobuf:"bytes,2,rep,name=disallowedPacks"`
}

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 `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []User `json:"items" protobuf:"bytes,2,rep,name=items"`
}

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.

Jump to

Keyboard shortcuts

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