Documentation ¶
Overview ¶
+k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/storage +k8s:conversion-gen-external-types=../../../../vendor/k8s.io/api/storage/v1beta1 +groupName=storage.k8s.io +k8s:defaulter-gen=TypeMeta +k8s:defaulter-gen-input=../../../../vendor/k8s.io/api/storage/v1beta1
Index ¶
- Constants
- Variables
- func Convert_storage_StorageClassList_To_v1beta1_StorageClassList(in *storage.StorageClassList, out *v1beta1.StorageClassList, ...) error
- func Convert_storage_StorageClass_To_v1beta1_StorageClass(in *storage.StorageClass, out *v1beta1.StorageClass, s conversion.Scope) error
- func Convert_v1beta1_StorageClassList_To_storage_StorageClassList(in *v1beta1.StorageClassList, out *storage.StorageClassList, ...) error
- func Convert_v1beta1_StorageClass_To_storage_StorageClass(in *v1beta1.StorageClass, out *storage.StorageClass, s conversion.Scope) error
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_StorageClass(obj *storagev1beta1.StorageClass)
- func SetObjectDefaults_StorageClass(in *v1beta1.StorageClass)
- func SetObjectDefaults_StorageClassList(in *v1beta1.StorageClassList)
Constants ¶
const GroupName = "storage.k8s.io"
GroupName is the group name use in this package
Variables ¶
var (
AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_storage_StorageClassList_To_v1beta1_StorageClassList ¶
func Convert_storage_StorageClassList_To_v1beta1_StorageClassList(in *storage.StorageClassList, out *v1beta1.StorageClassList, s conversion.Scope) error
Convert_storage_StorageClassList_To_v1beta1_StorageClassList is an autogenerated conversion function.
func Convert_storage_StorageClass_To_v1beta1_StorageClass ¶
func Convert_storage_StorageClass_To_v1beta1_StorageClass(in *storage.StorageClass, out *v1beta1.StorageClass, s conversion.Scope) error
Convert_storage_StorageClass_To_v1beta1_StorageClass is an autogenerated conversion function.
func Convert_v1beta1_StorageClassList_To_storage_StorageClassList ¶
func Convert_v1beta1_StorageClassList_To_storage_StorageClassList(in *v1beta1.StorageClassList, out *storage.StorageClassList, s conversion.Scope) error
Convert_v1beta1_StorageClassList_To_storage_StorageClassList is an autogenerated conversion function.
func Convert_v1beta1_StorageClass_To_storage_StorageClass ¶
func Convert_v1beta1_StorageClass_To_storage_StorageClass(in *v1beta1.StorageClass, out *storage.StorageClass, s conversion.Scope) error
Convert_v1beta1_StorageClass_To_storage_StorageClass is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶ added in v1.6.0
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 ¶ added in v1.6.0
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func SetDefaults_StorageClass ¶ added in v1.8.0
func SetDefaults_StorageClass(obj *storagev1beta1.StorageClass)
func SetObjectDefaults_StorageClass ¶ added in v1.8.0
func SetObjectDefaults_StorageClass(in *v1beta1.StorageClass)
func SetObjectDefaults_StorageClassList ¶ added in v1.8.0
func SetObjectDefaults_StorageClassList(in *v1beta1.StorageClassList)
Types ¶
This section is empty.