Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientGetter ¶
type ClientGetter interface {
Get(*v1alpha1.AzureActivityLogsSource) (EventCategoriesClient, DiagnosticSettingsClient, error)
}
ClientGetter can obtain clients for Azure Insights APIs.
type ClientGetterFunc ¶
type ClientGetterFunc func(*v1alpha1.AzureActivityLogsSource) (EventCategoriesClient, DiagnosticSettingsClient, error)
ClientGetterFunc allows the use of ordinary functions as ClientGetter.
func (ClientGetterFunc) Get ¶
func (f ClientGetterFunc) Get(src *v1alpha1.AzureActivityLogsSource) (EventCategoriesClient, DiagnosticSettingsClient, error)
Get implements ClientGetter.
type ClientGetterWithSecretGetter ¶
type ClientGetterWithSecretGetter struct {
// contains filtered or unexported fields
}
ClientGetterWithSecretGetter gets Azure clients using static credentials retrieved using a Secret getter.
func NewClientGetter ¶
func NewClientGetter(sg NamespacedSecretsGetter) *ClientGetterWithSecretGetter
NewClientGetter returns a ClientGetter for the given secrets getter.
func (*ClientGetterWithSecretGetter) Get ¶
func (g *ClientGetterWithSecretGetter) Get(src *v1alpha1.AzureActivityLogsSource) (EventCategoriesClient, DiagnosticSettingsClient, error)
Get implements ClientGetter.
type DiagnosticSettingsClient ¶
type DiagnosticSettingsClient = insightsapi.DiagnosticSettingsClientAPI
DiagnosticSettingsClient is an alias for the DiagnosticSettingsClientAPI interface.
type EventCategoriesClient ¶
type EventCategoriesClient = insightsapi.EventCategoriesClientAPI
EventCategoriesClient is an alias for the EventCategoriesClientAPI interface.
type NamespacedSecretsGetter ¶
type NamespacedSecretsGetter func(namespace string) coreclientv1.SecretInterface
Click to show internal directories.
Click to hide internal directories.