v1beta1

package
v2.0.0-alpha.1+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2016 License: Apache-2.0 Imports: 19 Imported by: 0

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

View Source
const GroupName = "storage.k8s.io"

GroupName is the group name use in this package

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = unversioned.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

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

Types

type StorageClass

type StorageClass struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	v1.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) MarshalTo

func (m *StorageClass) MarshalTo(data []byte) (int, 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 {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	unversioned.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) MarshalTo

func (m *StorageClassList) MarshalTo(data []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL