Documentation ¶
Index ¶
- type FakeAtlasSearch
- func (fas *FakeAtlasSearch) CreateIndex(ctx context.Context, projectID, clusterName string, ...) (*searchindex.SearchIndex, error)
- func (fas *FakeAtlasSearch) DeleteIndex(ctx context.Context, projectID, clusterName, indexID string) error
- func (fas *FakeAtlasSearch) GetIndex(ctx context.Context, projectID, clusterName, indexName, indexID string) (*searchindex.SearchIndex, error)
- func (fas *FakeAtlasSearch) UpdateIndex(ctx context.Context, projectID, clusterName string, ...) (*searchindex.SearchIndex, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAtlasSearch ¶
type FakeAtlasSearch struct { GetIndexFunc func(ctx context.Context, projectID, clusterName, indexName, indexID string) (*searchindex.SearchIndex, error) CreateIndexFunc func(ctx context.Context, projectID, clusterName string, index *searchindex.SearchIndex) (*searchindex.SearchIndex, error) DeleteIndexFunc func(ctx context.Context, projectID, clusterName, indexID string) error UpdateIndexFunc func(ctx context.Context, projectID, clusterName string, index *searchindex.SearchIndex) (*searchindex.SearchIndex, error) }
func (*FakeAtlasSearch) CreateIndex ¶
func (fas *FakeAtlasSearch) CreateIndex(ctx context.Context, projectID, clusterName string, index *searchindex.SearchIndex) (*searchindex.SearchIndex, error)
func (*FakeAtlasSearch) DeleteIndex ¶
func (fas *FakeAtlasSearch) DeleteIndex(ctx context.Context, projectID, clusterName, indexID string) error
func (*FakeAtlasSearch) GetIndex ¶
func (fas *FakeAtlasSearch) GetIndex(ctx context.Context, projectID, clusterName, indexName, indexID string) (*searchindex.SearchIndex, error)
func (*FakeAtlasSearch) UpdateIndex ¶
func (fas *FakeAtlasSearch) UpdateIndex(ctx context.Context, projectID, clusterName string, index *searchindex.SearchIndex) (*searchindex.SearchIndex, error)
Click to show internal directories.
Click to hide internal directories.