package storage
import "k8s.io/kubernetes/pkg/apis/storage"
+k8s:deepcopy-gen=package,register +groupName=storage.k8s.io
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type StorageClass
- func (in *StorageClass) DeepCopy() *StorageClass
- func (in *StorageClass) DeepCopyInto(out *StorageClass)
- func (in *StorageClass) DeepCopyObject() runtime.Object
- type StorageClassList
Constants ¶
const GroupName = "storage.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func RegisterDeepCopies ¶
RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.
Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type StorageClass ¶
type StorageClass struct { metav1.TypeMeta // +optional metav1.ObjectMeta // provisioner is the driver expected to handle this StorageClass. // This is an optionally-prefixed name, like a label key. // For example: "kubernetes.io/gce-pd" or "kubernetes.io/aws-ebs". // This value may not be empty. Provisioner string // parameters holds parameters for the provisioner. // These values are opaque to the system and are passed directly // to the provisioner. The only validation done on keys is that they are // not empty. The maximum number of parameters is // 512, with a cumulative max size of 256K // +optional Parameters map[string]string // reclaimPolicy is the reclaim policy that dynamically provisioned // PersistentVolumes of this storage class are created with // +optional ReclaimPolicy *api.PersistentVolumeReclaimPolicy // mountOptions are the mount options that dynamically provisioned // PersistentVolumes of this storage class are created with // +optional MountOptions []string // AllowVolumeExpansion shows whether the storage class allow volume expand // If the field is nil or not set, it would amount to expansion disabled // for all PVs created from this storageclass. // +optional AllowVolumeExpansion *bool }
StorageClass describes a named "class" of storage offered in a cluster. Different classes might map to quality-of-service levels, or to backup policies, or to arbitrary policies determined by the cluster administrators. Kubernetes itself is unopinionated about what classes represent. This concept is sometimes called "profiles" in other storage systems. The name of a StorageClass object is significant, and is how users can request a particular class.
func (*StorageClass) DeepCopy ¶
func (in *StorageClass) DeepCopy() *StorageClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
func (*StorageClass) DeepCopyInto ¶
func (in *StorageClass) DeepCopyInto(out *StorageClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageClass) DeepCopyObject ¶
func (in *StorageClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StorageClassList ¶
type StorageClassList struct { metav1.TypeMeta // Standard list metadata // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ListMeta // Items is the list of StorageClasses Items []StorageClass }
StorageClassList is a collection of storage classes.
func (*StorageClassList) DeepCopy ¶
func (in *StorageClassList) DeepCopy() *StorageClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
func (*StorageClassList) DeepCopyInto ¶
func (in *StorageClassList) DeepCopyInto(out *StorageClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageClassList) DeepCopyObject ¶
func (in *StorageClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Source Files ¶
doc.go register.go types.go zz_generated.deepcopy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/apis/storage/fuzzer | |
pkg/apis/storage/install | Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
pkg/apis/storage/util | |
pkg/apis/storage/v1 | +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 |
pkg/apis/storage/v1beta1 | +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 |
pkg/apis/storage/v1beta1/util | |
pkg/apis/storage/v1/util | |
pkg/apis/storage/validation |
- Version
- v1.8.5-beta.0
- Published
- Nov 20, 2017
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 1 minute ago –
Tools for package owners.