mocks

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClusterAPI

type MockClusterAPI struct {
	mock.Mock
}

func (*MockClusterAPI) Version

func (c *MockClusterAPI) Version() (uint, error)

type MockILMAPI

type MockILMAPI struct {
	mock.Mock
}

func (*MockILMAPI) Exists

func (c *MockILMAPI) Exists(name string) (bool, error)

type MockIndexAPI

type MockIndexAPI struct {
	mock.Mock
}

func (*MockIndexAPI) CreateAlias

func (c *MockIndexAPI) CreateAlias(aliases []client.Alias) error

func (*MockIndexAPI) CreateIndex

func (c *MockIndexAPI) CreateIndex(index string) error

func (*MockIndexAPI) CreateTemplate

func (c *MockIndexAPI) CreateTemplate(template, name string) error

func (*MockIndexAPI) DeleteAlias

func (c *MockIndexAPI) DeleteAlias(aliases []client.Alias) error

func (*MockIndexAPI) DeleteIndices

func (c *MockIndexAPI) DeleteIndices(indices []client.Index) error

func (*MockIndexAPI) GetJaegerIndices

func (c *MockIndexAPI) GetJaegerIndices(prefix string) ([]client.Index, error)

func (*MockIndexAPI) Rollover

func (c *MockIndexAPI) Rollover(rolloverTarget string, conditions map[string]interface{}) error

Jump to

Keyboard shortcuts

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