Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager, opts options.AddOptions) error
- func AddExternalES(mgr manager.Manager, opts options.AddOptions) error
- func MockESCLICreator(_ client.Client, ctx context.Context, _ string) (utils.ElasticClient, error)
- type ElasticSubController
- type ExternalESController
- type MockESClient
- func (m *MockESClient) CreateUser(_ context.Context, _ *utils.User) error
- func (m *MockESClient) DeleteRoles(ctx context.Context, roles []utils.Role) error
- func (m *MockESClient) DeleteUser(ctx context.Context, u *utils.User) error
- func (m *MockESClient) GetUsers(ctx context.Context) ([]utils.User, error)
- func (m *MockESClient) SetILMPolicies(_ context.Context, _ *operatorv1.LogStorage) error
- type MockESClientKey
Constants ¶
View Source
const (
LogStorageFinalizer = "tigera.io/eck-cleanup"
)
Variables ¶
This section is empty.
Functions ¶
func AddExternalES ¶ added in v1.33.0
func AddExternalES(mgr manager.Manager, opts options.AddOptions) error
func MockESCLICreator ¶
Types ¶
type ElasticSubController ¶
type ElasticSubController struct {
// contains filtered or unexported fields
}
ElasticSubController is a sub-controller of the main LogStorage controller responsible for managing the Elasticsearch service used by Calico.
type ExternalESController ¶ added in v1.33.0
type ExternalESController struct {
// contains filtered or unexported fields
}
type MockESClient ¶
func (*MockESClient) CreateUser ¶
func (*MockESClient) DeleteRoles ¶
func (*MockESClient) DeleteUser ¶
func (*MockESClient) SetILMPolicies ¶
func (m *MockESClient) SetILMPolicies(_ context.Context, _ *operatorv1.LogStorage) error
type MockESClientKey ¶
type MockESClientKey string
Click to show internal directories.
Click to hide internal directories.