Documentation ¶
Index ¶
- func IsGlusterFSStorageClusterUsable(c *spec.StorageCluster) error
- func IsGlusterFSStorageNodeUsable(s *spec.StorageNode) error
- func New(client kubernetes.Interface, qm restclient.Interface) (qmstorage.StorageType, error)
- type GlusterStorage
- func (st *GlusterStorage) AddCluster(c *spec.StorageCluster) (*spec.StorageCluster, error)
- func (st *GlusterStorage) AddNode(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) Init() error
- func (st *GlusterStorage) MakeDeployment(s *spec.StorageNode, old *v1beta1.Deployment) (*v1beta1.Deployment, error)
- func (st *GlusterStorage) Type() spec.StorageTypeIdentifier
- func (st *GlusterStorage) UpdateCluster(old *spec.StorageCluster, new *spec.StorageCluster) error
- func (st *GlusterStorage) UpdateNode(s *spec.StorageNode) (*spec.StorageNode, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsGlusterFSStorageClusterUsable ¶ added in v0.0.2
func IsGlusterFSStorageClusterUsable(c *spec.StorageCluster) error
func IsGlusterFSStorageNodeUsable ¶ added in v0.0.2
func IsGlusterFSStorageNodeUsable(s *spec.StorageNode) error
func New ¶
func New(client kubernetes.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(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) Init ¶
func (st *GlusterStorage) Init() error
func (*GlusterStorage) MakeDeployment ¶
func (st *GlusterStorage) MakeDeployment(s *spec.StorageNode, old *v1beta1.Deployment) (*v1beta1.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(s *spec.StorageNode) (*spec.StorageNode, error)
Click to show internal directories.
Click to hide internal directories.