v1

package
v1.7.12 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2017 License: Apache-2.0 Imports: 13 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 v1 is a generated protocol buffer package.

It is generated from these files:
	k8s.io/kubernetes/pkg/apis/storage/v1/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 (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_storage_StorageClassList_To_v1_StorageClassList

func Convert_storage_StorageClassList_To_v1_StorageClassList(in *storage.StorageClassList, out *StorageClassList, s conversion.Scope) error

Convert_storage_StorageClassList_To_v1_StorageClassList is an autogenerated conversion function.

func Convert_storage_StorageClass_To_v1_StorageClass

func Convert_storage_StorageClass_To_v1_StorageClass(in *storage.StorageClass, out *StorageClass, s conversion.Scope) error

Convert_storage_StorageClass_To_v1_StorageClass is an autogenerated conversion function.

func Convert_v1_StorageClassList_To_storage_StorageClassList

func Convert_v1_StorageClassList_To_storage_StorageClassList(in *StorageClassList, out *storage.StorageClassList, s conversion.Scope) error

Convert_v1_StorageClassList_To_storage_StorageClassList is an autogenerated conversion function.

func Convert_v1_StorageClass_To_storage_StorageClass

func Convert_v1_StorageClass_To_storage_StorageClass(in *StorageClass, out *storage.StorageClass, s conversion.Scope) error

Convert_v1_StorageClass_To_storage_StorageClass is an autogenerated conversion function.

func DeepCopy_v1_StorageClass

func DeepCopy_v1_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_v1_StorageClass is an autogenerated deepcopy function.

func DeepCopy_v1_StorageClassList

func DeepCopy_v1_StorageClassList(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_v1_StorageClassList is an autogenerated deepcopy function.

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.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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: 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"`
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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