Documentation ¶
Index ¶
- type InitParams
- func (initp *InitParams) ColdRestart(ctx goctx.Context) error
- func (initp *InitParams) ExportK8sConfigmap(ctx context.Context, namespace, cmName, toDir string) error
- func (initp *InitParams) QuickRestart(ctx goctx.Context, cmName, cmNamespace string) error
- func (initp *InitParams) UpdateConf(ctx goctx.Context, cmName, cmNamespace string) error
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitParams ¶
type InitParams struct {
// contains filtered or unexported fields
}
func PopulateInitParams ¶
func PopulateInitParams(ctx goctx.Context) (*InitParams, error)
func (*InitParams) ColdRestart ¶
func (initp *InitParams) ColdRestart(ctx goctx.Context) error
ColdRestart initializes storage devices on first pod run.
func (*InitParams) ExportK8sConfigmap ¶
func (initp *InitParams) ExportK8sConfigmap(ctx context.Context, namespace, cmName, toDir string) error
func (*InitParams) QuickRestart ¶
func (initp *InitParams) QuickRestart(ctx goctx.Context, cmName, cmNamespace string) error
QuickRestart refreshes Aerospike config map and tries to warm restart Aerospike.
func (*InitParams) UpdateConf ¶
func (initp *InitParams) UpdateConf(ctx goctx.Context, cmName, cmNamespace string) error
Click to show internal directories.
Click to hide internal directories.