v1beta1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type StorageClass

type StorageClass struct {
	// Standard object's metadata.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	Metadata *k8s_io_kubernetes_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Provisioner indicates the type of the provisioner.
	Provisioner *string `protobuf:"bytes,2,opt,name=provisioner" json:"provisioner,omitempty"`
	// Parameters holds the parameters for the provisioner that should
	// create volumes of this storage class.
	// +optional
	Parameters       map[string]string `` /* 140-byte string literal not displayed */
	XXX_unrecognized []byte            `json:"-"`
}

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) Descriptor

func (*StorageClass) Descriptor() ([]byte, []int)

func (*StorageClass) GetMetadata

func (*StorageClass) GetParameters

func (m *StorageClass) GetParameters() map[string]string

func (*StorageClass) GetProvisioner

func (m *StorageClass) GetProvisioner() string

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 (m *StorageClass) String() string

func (*StorageClass) Unmarshal

func (m *StorageClass) Unmarshal(dAtA []byte) error

type StorageClassList

type StorageClassList struct {
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	Metadata *k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is the list of StorageClasses
	Items            []*StorageClass `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

StorageClassList is a collection of storage classes.

func (*StorageClassList) Descriptor

func (*StorageClassList) Descriptor() ([]byte, []int)

func (*StorageClassList) GetItems

func (m *StorageClassList) GetItems() []*StorageClass

func (*StorageClassList) GetMetadata

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 (m *StorageClassList) 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