Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +groupName=storage.k8s.io
Index ¶
- Constants
- Variables
- func DeepCopy_storage_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_storage_StorageClassList(in interface{}, out interface{}, c *conversion.Cloner) error
- func Kind(kind string) unversioned.GroupKind
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func Resource(resource string) unversioned.GroupResource
- type StorageClass
- 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 = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func DeepCopy_storage_StorageClass ¶
func DeepCopy_storage_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_storage_StorageClassList ¶
func DeepCopy_storage_StorageClassList(in interface{}, out interface{}, c *conversion.Cloner) error
func Kind ¶
func Kind(kind string) unversioned.GroupKind
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.
func Resource ¶
func Resource(resource string) unversioned.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type StorageClass ¶
type StorageClass struct { unversioned.TypeMeta `json:",inline"` api.ObjectMeta `json:"metadata,omitempty"` // 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 `json:"provisioner"` // 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 Parameters map[string]string `json:"parameters,omitempty"` }
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) CodecDecodeSelf ¶
func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder)
func (*StorageClass) CodecEncodeSelf ¶
func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder)
type StorageClassList ¶
type StorageClassList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of StorageClasses Items []StorageClass `json:"items"` }
StorageClassList is a collection of storage classes.
func (*StorageClassList) CodecDecodeSelf ¶
func (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder)
func (*StorageClassList) CodecEncodeSelf ¶
func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
+k8s:deepcopy-gen=package,register +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/storage +groupName=storage.k8s.io
|
+k8s:deepcopy-gen=package,register +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/storage +groupName=storage.k8s.io |