storageclass

package
v2.1.1-0...-11cc7cf Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageClass

type StorageClass struct {
	ObjectMeta  api.ObjectMeta    `json:"objectMeta"`
	TypeMeta    api.TypeMeta      `json:"typeMeta"`
	Provisioner string            `json:"provisioner"`
	Parameters  map[string]string `json:"parameters"`
}

StorageClass is a representation of a Kubernetes Storage Class object.

type StorageClassCell

type StorageClassCell storage.StorageClass

func (StorageClassCell) GetProperty

type StorageClassDetail

type StorageClassDetail struct {
	// Extends list item structure.
	StorageClass `json:",inline"`
}

StorageClassDetail provides the presentation layer view of Storage Class resource.

func GetStorageClass

func GetStorageClass(client kubernetes.Interface, name string) (*StorageClassDetail, error)

GetStorageClass returns Storage Class resource.

type StorageClassList

type StorageClassList struct {
	ListMeta api.ListMeta   `json:"listMeta"`
	Items    []StorageClass `json:"items"`

	// List of non-critical errors, that occurred during resource retrieval.
	Errors []error `json:"errors"`
}

StorageClassList holds a list of Storage Class objects in the cluster.

func GetStorageClassList

func GetStorageClassList(client kubernetes.Interface, dsQuery *dataselect.DataSelectQuery) (
	*StorageClassList, error)

GetStorageClassList returns a list of all storage class objects in the cluster.

func GetStorageClassListFromChannels

func GetStorageClassListFromChannels(channels *common.ResourceChannels,
	dsQuery *dataselect.DataSelectQuery) (*StorageClassList, error)

GetStorageClassListFromChannels returns a list of all storage class objects in the cluster.

Jump to

Keyboard shortcuts

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