management

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ClusterDriver

type ClusterDriver interface {
	AdminPassword(context.Context) ([]byte, error)
	NewOpensearchClientForCluster(context.Context) *opensearch.Client
	GetCluster(context.Context) (*loggingadmin.OpensearchClusterV2, error)
	DeleteCluster(context.Context) error
	CreateOrUpdateCluster(ctx context.Context, cluster *loggingadmin.OpensearchClusterV2, opniVersion string, natsName string) error
	UpgradeAvailable(ctx context.Context, opniVersion string) (bool, error)
	DoUpgrade(ctx context.Context, opniVersion string) error
	GetStorageClasses(context.Context) ([]string, error)
	CreateOrUpdateSnapshotSchedule(ctx context.Context, snapshot *loggingadmin.SnapshotSchedule, defaultIndices []string) error
	GetSnapshotSchedule(ctx context.Context, ref *loggingadmin.SnapshotReference, defaultIndices []string) (*loggingadmin.SnapshotSchedule, error)
	DeleteSnapshotSchedule(ctx context.Context, ref *loggingadmin.SnapshotReference) error
	ListAllSnapshotSchedules(ctx context.Context) (*loggingadmin.SnapshotStatusList, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL