Documentation ¶
Index ¶
- func New(client kubernetes.Interface, qm restclient.Interface) (qmstorage.StorageType, error)
- type SwiftStorage
- func (st *SwiftStorage) AddCluster(c *spec.StorageCluster) (*spec.StorageCluster, error)
- func (st *SwiftStorage) AddNode(s *spec.StorageNode) (*spec.StorageNode, error)
- func (st *SwiftStorage) DeleteCluster(c *spec.StorageCluster) error
- func (st *SwiftStorage) DeleteNode(s *spec.StorageNode) error
- func (st *SwiftStorage) Init() error
- func (st *SwiftStorage) MakeDeployment(s *spec.StorageNode, old *v1beta1.Deployment) (*v1beta1.Deployment, error)
- func (st *SwiftStorage) Type() spec.StorageTypeIdentifier
- func (st *SwiftStorage) UpdateCluster(old *spec.StorageCluster, new *spec.StorageCluster) error
- func (st *SwiftStorage) UpdateNode(s *spec.StorageNode) (*spec.StorageNode, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(client kubernetes.Interface, qm restclient.Interface) (qmstorage.StorageType, error)
This mock storage system serves as an example driver for developers
Types ¶
type SwiftStorage ¶
type SwiftStorage struct {
// contains filtered or unexported fields
}
func (*SwiftStorage) AddCluster ¶
func (st *SwiftStorage) AddCluster(c *spec.StorageCluster) (*spec.StorageCluster, error)
func (*SwiftStorage) AddNode ¶
func (st *SwiftStorage) AddNode(s *spec.StorageNode) (*spec.StorageNode, error)
func (*SwiftStorage) DeleteCluster ¶
func (st *SwiftStorage) DeleteCluster(c *spec.StorageCluster) error
func (*SwiftStorage) DeleteNode ¶
func (st *SwiftStorage) DeleteNode(s *spec.StorageNode) error
func (*SwiftStorage) Init ¶
func (st *SwiftStorage) Init() error
func (*SwiftStorage) MakeDeployment ¶
func (st *SwiftStorage) MakeDeployment(s *spec.StorageNode, old *v1beta1.Deployment) (*v1beta1.Deployment, error)
func (*SwiftStorage) Type ¶
func (st *SwiftStorage) Type() spec.StorageTypeIdentifier
func (*SwiftStorage) UpdateCluster ¶
func (st *SwiftStorage) UpdateCluster(old *spec.StorageCluster, new *spec.StorageCluster) error
func (*SwiftStorage) UpdateNode ¶
func (st *SwiftStorage) UpdateNode(s *spec.StorageNode) (*spec.StorageNode, error)
Click to show internal directories.
Click to hide internal directories.