Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StorageClassKind = resource.Kind{ Group: "storage.k8s.io", Version: "v1", Kind: "StorageClass", Scoped: true, }
View Source
var StorageClassResource = resource.Type{ Kind: StorageClassKind, Name: "storageclasses", }
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { StorageClassesClient }
type StorageClass ¶
type StorageClass struct { *resource.Resource Object *storagev1.StorageClass }
func NewStorageClass ¶
func NewStorageClass(storageClass *storagev1.StorageClass, client resource.Client) *StorageClass
type StorageClassesClient ¶
type StorageClassesClient interface {
StorageClasses() StorageClassesReader
}
func NewStorageClassesClient ¶
func NewStorageClassesClient(resources resource.Client, filter resource.Filter) StorageClassesClient
type StorageClassesReader ¶
type StorageClassesReader interface { Get(ctx context.Context, name string) (*StorageClass, error) List(ctx context.Context) ([]*StorageClass, error) }
func NewStorageClassesReader ¶
func NewStorageClassesReader(client resource.Client, filter resource.Filter) StorageClassesReader
Click to show internal directories.
Click to hide internal directories.