Documentation ¶
Index ¶
- func New(client clientset.Interface, qm restclient.Interface) (qmstorage.StorageType, error)
- type GlusterStorage
- func (st *GlusterStorage) AddCluster(c *spec.StorageCluster) (*spec.StorageCluster, error)
- func (st *GlusterStorage) AddNode(c *spec.StorageCluster, s *spec.StorageNode) (*spec.StorageNode, error)
- func (st *GlusterStorage) DeleteCluster(c *spec.StorageCluster) error
- func (st *GlusterStorage) DeleteNode(s *spec.StorageNode) error
- func (st *GlusterStorage) GetStatus(c *spec.StorageCluster) (*spec.StorageStatus, error)
- func (st *GlusterStorage) Init() error
- func (st *GlusterStorage) MakeDeployment(c *spec.StorageCluster, s *spec.StorageNode, old *extensions.Deployment) (*extensions.Deployment, error)
- func (st *GlusterStorage) Type() spec.StorageTypeIdentifier
- func (st *GlusterStorage) UpdateCluster(old *spec.StorageCluster, new *spec.StorageCluster) error
- func (st *GlusterStorage) UpdateNode(c *spec.StorageCluster, s *spec.StorageNode) (*spec.StorageNode, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(client clientset.Interface, qm restclient.Interface) (qmstorage.StorageType, error)
Types ¶
type GlusterStorage ¶
type GlusterStorage struct {
// contains filtered or unexported fields
}
func (*GlusterStorage) AddCluster ¶
func (st *GlusterStorage) AddCluster(c *spec.StorageCluster) (*spec.StorageCluster, error)
func (*GlusterStorage) AddNode ¶
func (st *GlusterStorage) AddNode(c *spec.StorageCluster, s *spec.StorageNode) (*spec.StorageNode, error)
func (*GlusterStorage) DeleteCluster ¶
func (st *GlusterStorage) DeleteCluster(c *spec.StorageCluster) error
func (*GlusterStorage) DeleteNode ¶
func (st *GlusterStorage) DeleteNode(s *spec.StorageNode) error
func (*GlusterStorage) GetStatus ¶
func (st *GlusterStorage) GetStatus(c *spec.StorageCluster) (*spec.StorageStatus, error)
func (*GlusterStorage) Init ¶
func (st *GlusterStorage) Init() error
func (*GlusterStorage) MakeDeployment ¶
func (st *GlusterStorage) MakeDeployment(c *spec.StorageCluster, s *spec.StorageNode, old *extensions.Deployment) (*extensions.Deployment, error)
func (*GlusterStorage) Type ¶
func (st *GlusterStorage) Type() spec.StorageTypeIdentifier
func (*GlusterStorage) UpdateCluster ¶
func (st *GlusterStorage) UpdateCluster(old *spec.StorageCluster, new *spec.StorageCluster) error
func (*GlusterStorage) UpdateNode ¶
func (st *GlusterStorage) UpdateNode(c *spec.StorageCluster, s *spec.StorageNode) (*spec.StorageNode, error)
Click to show internal directories.
Click to hide internal directories.