test

package
v0.9.2-rc4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBackendDriver

type MockBackendDriver struct {
	// contains filtered or unexported fields
}

func NewMockBackendDriver

func NewMockBackendDriver(stateTracker *util.MockInstallState) *MockBackendDriver

func (*MockBackendDriver) DeleteCluster

func (d *MockBackendDriver) DeleteCluster(_ context.Context, id string) error

func (*MockBackendDriver) GetClusterStatus

func (*MockBackendDriver) GetInstallStatus

func (*MockBackendDriver) Name

func (d *MockBackendDriver) Name() string

func (*MockBackendDriver) SetClusterStatus

func (d *MockBackendDriver) SetClusterStatus(_ context.Context, id string, enabled bool) error

func (*MockBackendDriver) SetSyncTime

func (d *MockBackendDriver) SetSyncTime()

func (*MockBackendDriver) StoreCluster

func (d *MockBackendDriver) StoreCluster(_ context.Context, req *corev1.Reference) error

type MockManagementDriver

type MockManagementDriver struct {
	// contains filtered or unexported fields
}

func NewMockManagementDriver

func NewMockManagementDriver(stateTracker *util.MockInstallState) *MockManagementDriver

func (*MockManagementDriver) AdminPassword

func (d *MockManagementDriver) AdminPassword(_ context.Context) ([]byte, error)

func (*MockManagementDriver) CreateOrUpdateCluster

func (d *MockManagementDriver) CreateOrUpdateCluster(
	_ context.Context,
	cluster *loggingadmin.OpensearchClusterV2,
	_ string,
	_ string,
) error

func (*MockManagementDriver) DeleteCluster

func (d *MockManagementDriver) DeleteCluster(_ context.Context) error

func (*MockManagementDriver) DoUpgrade

func (d *MockManagementDriver) DoUpgrade(_ context.Context, _ string) error

func (*MockManagementDriver) GetCluster

func (*MockManagementDriver) GetStorageClasses

func (d *MockManagementDriver) GetStorageClasses(context.Context) ([]string, error)

func (*MockManagementDriver) NewOpensearchClientForCluster

func (d *MockManagementDriver) NewOpensearchClientForCluster(context.Context) *opensearch.Client

func (*MockManagementDriver) UpgradeAvailable

func (d *MockManagementDriver) UpgradeAvailable(_ context.Context, _ string) (bool, error)

Jump to

Keyboard shortcuts

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