Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=apps.kubepack.com
Index ¶
- Constants
- Variables
- func Convert_apps_PackList_To_v1alpha1_PackList(in *apps.PackList, out *PackList, s conversion.Scope) error
- func Convert_apps_PackSpec_To_v1alpha1_PackSpec(in *apps.PackSpec, out *PackSpec, s conversion.Scope) error
- func Convert_apps_PackStatus_To_v1alpha1_PackStatus(in *apps.PackStatus, out *PackStatus, s conversion.Scope) error
- func Convert_apps_Pack_To_v1alpha1_Pack(in *apps.Pack, out *Pack, s conversion.Scope) error
- func Convert_apps_UserList_To_v1alpha1_UserList(in *apps.UserList, out *UserList, s conversion.Scope) error
- func Convert_apps_User_To_v1alpha1_User(in *apps.User, out *User, s conversion.Scope) error
- func Convert_v1alpha1_PackList_To_apps_PackList(in *PackList, out *apps.PackList, s conversion.Scope) error
- func Convert_v1alpha1_PackSpec_To_apps_PackSpec(in *PackSpec, out *apps.PackSpec, s conversion.Scope) error
- func Convert_v1alpha1_PackStatus_To_apps_PackStatus(in *PackStatus, out *apps.PackStatus, s conversion.Scope) error
- func Convert_v1alpha1_Pack_To_apps_Pack(in *Pack, out *apps.Pack, s conversion.Scope) error
- func Convert_v1alpha1_UserList_To_apps_UserList(in *UserList, out *apps.UserList, s conversion.Scope) error
- func Convert_v1alpha1_User_To_apps_User(in *User, out *apps.User, s conversion.Scope) error
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Pack
- type PackList
- type PackSpec
- type PackStatus
- type User
- type UserList
Constants ¶
const GroupName = "apps.kubepack.com"
Variables ¶
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 )
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 ¶
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 ¶
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 ¶
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 ¶
Convert_v1alpha1_User_To_apps_User is an autogenerated conversion function.
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pack.
func (*Pack) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Pack) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackList.
func (*PackList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackSpec ¶
type PackSpec struct { }
func (*PackSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackSpec.
func (*PackSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.