Documentation
¶
Index ¶
- Constants
- Variables
- type CephDaemon
- type CephService
- type Client
- func (c *Client) CephEnterMaintenance(hostname string) error
- func (c *Client) CephExitMaintenance(hostname string) error
- func (c *Client) CephFSID() (string, error)
- func (c *Client) CephHealth() (string, error)
- func (c *Client) CephInMaintenance(hostname string) (bool, error)
- func (c *Client) CephStatusByDaemonName(name string) ([]CephDaemon, error)
- func (c *Client) CephStatusByDaemonType(daemonType string) ([]CephDaemon, error)
- func (c *Client) CephStatusByServiceName(name string) ([]CephDaemon, error)
- func (c *Client) Close() error
- func (c *Client) Compress(filename string) error
- func (c *Client) Copy(src, dst string) error
- func (c *Client) Delete(filename string) error
- func (c *Client) ListCephServices() ([]CephService, error)
- func (c *Client) SHA512Sum(filename string) (string, error)
- func (c *Client) SetOSDFlag(flag string) error
- func (c *Client) Shutdown() error
- func (c *Client) SnapshotETCD(filename string) error
- func (c *Client) StopCephDaemon(name string) error
- func (c *Client) StopCephService(name string) error
- func (c *Client) StopSystemdService(name string) error
- func (c *Client) UnsetOSDFlag(flag string) error
Constants ¶
View Source
const DaemonStatusStopped = 0
Variables ¶
View Source
var ( ErrAlreadyInMaintenance = errors.New("already in maintenance") ErrNotInMaintenance = errors.New("not in maintenance") )
Functions ¶
This section is empty.
Types ¶
type CephDaemon ¶
type CephService ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CephEnterMaintenance ¶
func (*Client) CephExitMaintenance ¶
func (*Client) CephHealth ¶
func (*Client) CephInMaintenance ¶
func (*Client) CephStatusByDaemonName ¶
func (c *Client) CephStatusByDaemonName(name string) ([]CephDaemon, error)
func (*Client) CephStatusByDaemonType ¶
func (c *Client) CephStatusByDaemonType(daemonType string) ([]CephDaemon, error)
func (*Client) CephStatusByServiceName ¶
func (c *Client) CephStatusByServiceName(name string) ([]CephDaemon, error)
func (*Client) ListCephServices ¶
func (c *Client) ListCephServices() ([]CephService, error)
func (*Client) SetOSDFlag ¶
func (*Client) SnapshotETCD ¶
func (*Client) StopCephDaemon ¶
func (*Client) StopCephService ¶
func (*Client) StopSystemdService ¶
func (*Client) UnsetOSDFlag ¶
Click to show internal directories.
Click to hide internal directories.