Documentation ¶
Overview ¶
+k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/storage +k8s:conversion-gen-external-types=../../../../vendor/k8s.io/api/storage/v1 +groupName=storage.k8s.io +k8s:defaulter-gen=TypeMeta +k8s:defaulter-gen-input=../../../../vendor/k8s.io/api/storage/v1
Index ¶
- Constants
- Variables
- func Convert_storage_StorageClassList_To_v1_StorageClassList(in *storage.StorageClassList, out *v1.StorageClassList, s conversion.Scope) error
- func Convert_storage_StorageClass_To_v1_StorageClass(in *storage.StorageClass, out *v1.StorageClass, s conversion.Scope) error
- func Convert_v1_StorageClassList_To_storage_StorageClassList(in *v1.StorageClassList, out *storage.StorageClassList, s conversion.Scope) error
- func Convert_v1_StorageClass_To_storage_StorageClass(in *v1.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 *storagev1.StorageClass)
- func SetObjectDefaults_StorageClass(in *v1.StorageClass)
- func SetObjectDefaults_StorageClassList(in *v1.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: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_storage_StorageClassList_To_v1_StorageClassList ¶
func Convert_storage_StorageClassList_To_v1_StorageClassList(in *storage.StorageClassList, out *v1.StorageClassList, s conversion.Scope) error
Convert_storage_StorageClassList_To_v1_StorageClassList is an autogenerated conversion function.
func Convert_storage_StorageClass_To_v1_StorageClass ¶
func Convert_storage_StorageClass_To_v1_StorageClass(in *storage.StorageClass, out *v1.StorageClass, s conversion.Scope) error
Convert_storage_StorageClass_To_v1_StorageClass is an autogenerated conversion function.
func Convert_v1_StorageClassList_To_storage_StorageClassList ¶
func Convert_v1_StorageClassList_To_storage_StorageClassList(in *v1.StorageClassList, out *storage.StorageClassList, s conversion.Scope) error
Convert_v1_StorageClassList_To_storage_StorageClassList is an autogenerated conversion function.
func Convert_v1_StorageClass_To_storage_StorageClass ¶
func Convert_v1_StorageClass_To_storage_StorageClass(in *v1.StorageClass, out *storage.StorageClass, s conversion.Scope) error
Convert_v1_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 ¶
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
func SetDefaults_StorageClass ¶ added in v1.8.1
func SetDefaults_StorageClass(obj *storagev1.StorageClass)
func SetObjectDefaults_StorageClass ¶ added in v1.8.1
func SetObjectDefaults_StorageClass(in *v1.StorageClass)
func SetObjectDefaults_StorageClassList ¶ added in v1.8.1
func SetObjectDefaults_StorageClassList(in *v1.StorageClassList)
Types ¶
This section is empty.