mocks

package
v1.63.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 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 ClusterAPI added in v1.59.0

type ClusterAPI struct {
	mock.Mock
}

ClusterAPI is an autogenerated mock type for the ClusterAPI type

func NewClusterAPI added in v1.59.0

func NewClusterAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClusterAPI

NewClusterAPI creates a new instance of ClusterAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClusterAPI) Version added in v1.59.0

func (_m *ClusterAPI) Version() (uint, error)

Version provides a mock function with given fields:

type IndexAPI added in v1.59.0

type IndexAPI struct {
	mock.Mock
}

IndexAPI is an autogenerated mock type for the IndexAPI type

func NewIndexAPI added in v1.59.0

func NewIndexAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *IndexAPI

NewIndexAPI creates a new instance of IndexAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IndexAPI) CreateAlias added in v1.59.0

func (_m *IndexAPI) CreateAlias(aliases []client.Alias) error

CreateAlias provides a mock function with given fields: aliases

func (*IndexAPI) CreateIndex added in v1.59.0

func (_m *IndexAPI) CreateIndex(index string) error

CreateIndex provides a mock function with given fields: index

func (*IndexAPI) CreateTemplate added in v1.59.0

func (_m *IndexAPI) CreateTemplate(template string, name string) error

CreateTemplate provides a mock function with given fields: template, name

func (*IndexAPI) DeleteAlias added in v1.59.0

func (_m *IndexAPI) DeleteAlias(aliases []client.Alias) error

DeleteAlias provides a mock function with given fields: aliases

func (*IndexAPI) DeleteIndices added in v1.59.0

func (_m *IndexAPI) DeleteIndices(indices []client.Index) error

DeleteIndices provides a mock function with given fields: indices

func (*IndexAPI) GetJaegerIndices added in v1.59.0

func (_m *IndexAPI) GetJaegerIndices(prefix string) ([]client.Index, error)

GetJaegerIndices provides a mock function with given fields: prefix

func (*IndexAPI) Rollover added in v1.59.0

func (_m *IndexAPI) Rollover(rolloverTarget string, conditions map[string]any) error

Rollover provides a mock function with given fields: rolloverTarget, conditions

type IndexManagementLifecycleAPI added in v1.59.0

type IndexManagementLifecycleAPI struct {
	mock.Mock
}

IndexManagementLifecycleAPI is an autogenerated mock type for the IndexManagementLifecycleAPI type

func NewIndexManagementLifecycleAPI added in v1.59.0

func NewIndexManagementLifecycleAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *IndexManagementLifecycleAPI

NewIndexManagementLifecycleAPI creates a new instance of IndexManagementLifecycleAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IndexManagementLifecycleAPI) Exists added in v1.59.0

func (_m *IndexManagementLifecycleAPI) Exists(name string) (bool, error)

Exists provides a mock function with given fields: name

Jump to

Keyboard shortcuts

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