Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +groupName=storage.k8s.io +k8s:openapi-gen=true
Package v1beta1 is a generated protocol buffer package. It is generated from these files: k8s.io/kubernetes/vendor/k8s.io/api/storage/v1beta1/generated.proto It has these top-level messages: StorageClass StorageClassList
Index ¶
- Constants
- Variables
- func RegisterDeepCopies(scheme *runtime.Scheme) errordeprecated
- 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
- func (*StorageClass) Descriptor() ([]byte, []int)
- func (m *StorageClass) Marshal() (dAtA []byte, err error)
- func (m *StorageClass) MarshalTo(dAtA []byte) (int, error)
- func (*StorageClass) ProtoMessage()
- func (m *StorageClass) Reset()
- func (m *StorageClass) Size() (n int)
- func (this *StorageClass) String() string
- func (StorageClass) SwaggerDoc() map[string]string
- func (m *StorageClass) Unmarshal(dAtA []byte) error
- type StorageClassList
- func (in *StorageClassList) DeepCopy() *StorageClassList
- func (in *StorageClassList) DeepCopyInto(out *StorageClassList)
- func (in *StorageClassList) DeepCopyObject() runtime.Object
- func (*StorageClassList) Descriptor() ([]byte, []int)
- func (m *StorageClassList) Marshal() (dAtA []byte, err error)
- func (m *StorageClassList) MarshalTo(dAtA []byte) (int, error)
- func (*StorageClassList) ProtoMessage()
- func (m *StorageClassList) Reset()
- func (m *StorageClassList) Size() (n int)
- func (this *StorageClassList) String() string
- func (StorageClassList) SwaggerDoc() map[string]string
- func (m *StorageClassList) Unmarshal(dAtA []byte) error
Constants ¶
const GroupName = "storage.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDeepCopies
deprecated
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 `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Provisioner indicates the type of the provisioner. Provisioner string `json:"provisioner" protobuf:"bytes,2,opt,name=provisioner"` // Parameters holds the parameters for the provisioner that should // create volumes of this storage class. // +optional Parameters map[string]string `json:"parameters,omitempty" protobuf:"bytes,3,rep,name=parameters"` // Dynamically provisioned PersistentVolumes of this storage class are // created with this reclaimPolicy. Defaults to Delete. // +optional ReclaimPolicy *v1.PersistentVolumeReclaimPolicy `` /* 130-byte string literal not displayed */ // Dynamically provisioned PersistentVolumes of this storage class are // created with these mountOptions, e.g. ["ro", "soft"]. Not validated - // mount of the PVs will simply fail if one is invalid. // +optional MountOptions []string `json:"mountOptions,omitempty" protobuf:"bytes,5,opt,name=mountOptions"` // AllowVolumeExpansion shows whether the storage class allow volume expand // +optional AllowVolumeExpansion *bool `json:"allowVolumeExpansion,omitempty" protobuf:"varint,6,opt,name=allowVolumeExpansion"` }
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
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.
func (*StorageClass) Descriptor ¶
func (*StorageClass) Descriptor() ([]byte, []int)
func (*StorageClass) Marshal ¶
func (m *StorageClass) Marshal() (dAtA []byte, err error)
func (*StorageClass) ProtoMessage ¶
func (*StorageClass) ProtoMessage()
func (*StorageClass) Reset ¶
func (m *StorageClass) Reset()
func (*StorageClass) Size ¶
func (m *StorageClass) Size() (n int)
func (*StorageClass) String ¶
func (this *StorageClass) String() string
func (StorageClass) SwaggerDoc ¶
func (StorageClass) SwaggerDoc() map[string]string
func (*StorageClass) Unmarshal ¶
func (m *StorageClass) Unmarshal(dAtA []byte) error
type StorageClassList ¶
type StorageClassList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of StorageClasses Items []StorageClass `json:"items" protobuf:"bytes,2,rep,name=items"` }
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.
func (*StorageClassList) Descriptor ¶
func (*StorageClassList) Descriptor() ([]byte, []int)
func (*StorageClassList) Marshal ¶
func (m *StorageClassList) Marshal() (dAtA []byte, err error)
func (*StorageClassList) ProtoMessage ¶
func (*StorageClassList) ProtoMessage()
func (*StorageClassList) Reset ¶
func (m *StorageClassList) Reset()
func (*StorageClassList) Size ¶
func (m *StorageClassList) Size() (n int)
func (*StorageClassList) String ¶
func (this *StorageClassList) String() string
func (StorageClassList) SwaggerDoc ¶
func (StorageClassList) SwaggerDoc() map[string]string
func (*StorageClassList) Unmarshal ¶
func (m *StorageClassList) Unmarshal(dAtA []byte) error