Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Drivers = driverutil.NewDriverCache[ClusterDriver]()
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) CreateOrUpdateSnapshot(ctx context.Context, snapshot *loggingadmin.Snapshot) error // Get snapshot only returns recurring snapshots because oneoff snapshots are immutable once created GetRecurringSnapshot(ctx context.Context, ref *loggingadmin.SnapshotReference) (*loggingadmin.Snapshot, error) DeleteSnapshot(ctx context.Context, ref *loggingadmin.SnapshotReference) error ListAllSnapshots(ctx context.Context) (*loggingadmin.SnapshotStatusList, error) }
Click to show internal directories.
Click to hide internal directories.