Documentation ¶
Index ¶
- type ClusterAPI
- type IndexAPI
- func (_m *IndexAPI) CreateAlias(aliases []client.Alias) error
- func (_m *IndexAPI) CreateIndex(index string) error
- func (_m *IndexAPI) CreateTemplate(template string, name string) error
- func (_m *IndexAPI) DeleteAlias(aliases []client.Alias) error
- func (_m *IndexAPI) DeleteIndices(indices []client.Index) error
- func (_m *IndexAPI) GetJaegerIndices(prefix string) ([]client.Index, error)
- func (_m *IndexAPI) Rollover(rolloverTarget string, conditions map[string]any) error
- type IndexManagementLifecycleAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterAPI ¶ added in v1.59.0
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
IndexAPI is an autogenerated mock type for the IndexAPI type
func NewIndexAPI ¶ added in v1.59.0
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
CreateAlias provides a mock function with given fields: aliases
func (*IndexAPI) CreateIndex ¶ added in v1.59.0
CreateIndex provides a mock function with given fields: index
func (*IndexAPI) CreateTemplate ¶ added in v1.59.0
CreateTemplate provides a mock function with given fields: template, name
func (*IndexAPI) DeleteAlias ¶ added in v1.59.0
DeleteAlias provides a mock function with given fields: aliases
func (*IndexAPI) DeleteIndices ¶ added in v1.59.0
DeleteIndices provides a mock function with given fields: indices
func (*IndexAPI) GetJaegerIndices ¶ added in v1.59.0
GetJaegerIndices provides a mock function with given fields: prefix
type IndexManagementLifecycleAPI ¶ added in v1.59.0
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.