Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/storage +groupName=storage.k8s.io +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta
Package v1beta1 is a generated protocol buffer package. It is generated from these files: k8s.io/kubernetes/pkg/apis/storage/v1beta1/generated.proto It has these top-level messages: StorageClass StorageClassList
Index ¶
- Constants
- Variables
- func Convert_storage_StorageClassList_To_v1beta1_StorageClassList(in *storage.StorageClassList, out *StorageClassList, s conversion.Scope) error
- func Convert_storage_StorageClass_To_v1beta1_StorageClass(in *storage.StorageClass, out *StorageClass, s conversion.Scope) error
- func Convert_v1beta1_StorageClassList_To_storage_StorageClassList(in *StorageClassList, out *storage.StorageClassList, s conversion.Scope) error
- func Convert_v1beta1_StorageClass_To_storage_StorageClass(in *StorageClass, out *storage.StorageClass, s conversion.Scope) error
- func DeepCopy_v1beta1_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1beta1_StorageClassList(in interface{}, out interface{}, c *conversion.Cloner) error
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type StorageClass
- func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder)
- 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 (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder)
- 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 ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.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 *StorageClassList, s conversion.Scope) error
func Convert_storage_StorageClass_To_v1beta1_StorageClass ¶
func Convert_storage_StorageClass_To_v1beta1_StorageClass(in *storage.StorageClass, out *StorageClass, s conversion.Scope) error
func Convert_v1beta1_StorageClassList_To_storage_StorageClassList ¶
func Convert_v1beta1_StorageClassList_To_storage_StorageClassList(in *StorageClassList, out *storage.StorageClassList, s conversion.Scope) error
func Convert_v1beta1_StorageClass_To_storage_StorageClass ¶
func Convert_v1beta1_StorageClass_To_storage_StorageClass(in *StorageClass, out *storage.StorageClass, s conversion.Scope) error
func DeepCopy_v1beta1_StorageClass ¶
func DeepCopy_v1beta1_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1beta1_StorageClassList ¶
func DeepCopy_v1beta1_StorageClassList(in interface{}, out interface{}, c *conversion.Cloner) error
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDeepCopies ¶
RegisterDeepCopies adds deep-copy 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
Types ¶
type StorageClass ¶
type StorageClass struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/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"` }
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) CodecDecodeSelf ¶
func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder)
func (*StorageClass) CodecEncodeSelf ¶
func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder)
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: http://releases.k8s.io/HEAD/docs/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) CodecDecodeSelf ¶
func (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder)
func (*StorageClassList) CodecEncodeSelf ¶
func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder)
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