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.AzureEventGridSource) ( SystemTopicsClient, ProvidersClient, ResourceGroupsClient, EventSubscriptionsClient, EventHubsClient, error) }
ClientGetter can obtain clients for Azure Event Grid and Event Hubs APIs.
type ClientGetterFunc ¶
type ClientGetterFunc func(*v1alpha1.AzureEventGridSource) ( SystemTopicsClient, ProvidersClient, ResourceGroupsClient, EventSubscriptionsClient, EventHubsClient, error)
ClientGetterFunc allows the use of ordinary functions as ClientGetter.
func (ClientGetterFunc) Get ¶
func (f ClientGetterFunc) Get(src *v1alpha1.AzureEventGridSource) ( SystemTopicsClient, ProvidersClient, ResourceGroupsClient, EventSubscriptionsClient, EventHubsClient, 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.AzureEventGridSource) ( SystemTopicsClient, ProvidersClient, ResourceGroupsClient, EventSubscriptionsClient, EventHubsClient, error)
Get implements ClientGetter.
type EventHubsClient ¶
type EventHubsClient = eventhubapi.EventHubsClientAPI
EventHubsClient is an alias for the EventHubsClientAPI interface.
type EventSubscriptionsClient ¶
type EventSubscriptionsClient interface { eventgridapi.SystemTopicEventSubscriptionsClientAPI BaseClient() autorest.Client ConcreteClient() eventgrid.SystemTopicEventSubscriptionsClient }
EventSubscriptionsClient wraps the eventgridapi.SystemTopicEventSubscriptionsClientAPI interface.
type EventSubscriptionsClientImpl ¶ added in v1.15.1
type EventSubscriptionsClientImpl struct {
eventgrid.SystemTopicEventSubscriptionsClient
}
EventSubscriptionsClientImpl implements EventSubscriptionsClient with a concrete eventgrid.SystemTopicEventSubscriptionsClient.
func (*EventSubscriptionsClientImpl) BaseClient ¶ added in v1.15.1
func (c *EventSubscriptionsClientImpl) BaseClient() autorest.Client
BaseClient implements EventSubscriptionsClient.
func (*EventSubscriptionsClientImpl) ConcreteClient ¶ added in v1.15.1
func (c *EventSubscriptionsClientImpl) ConcreteClient() eventgrid.SystemTopicEventSubscriptionsClient
ConcreteClient implements EventSubscriptionsClient.
type NamespacedSecretsGetter ¶
type NamespacedSecretsGetter func(namespace string) coreclientv1.SecretInterface
NamespacedSecretsGetter returns a SecretInterface for the given namespace.
type ProvidersClient ¶ added in v1.15.1
type ProvidersClient = resourcesapi.ProvidersClientAPI
ProvidersClient is an alias for the ProvidersClientAPI interface.
type ResourceGroupsClient ¶ added in v1.15.1
type ResourceGroupsClient = resourcesapi.GroupsClientAPI
ResourceGroupsClient is an alias for the GroupsClientAPI interface.
type SystemTopicsClient ¶ added in v1.15.1
type SystemTopicsClient interface { eventgridapi.SystemTopicsClientAPI BaseClient() autorest.Client ConcreteClient() eventgrid.SystemTopicsClient }
SystemTopicsClient wraps the eventgridapi.SystemTopicsClientAPI interface.
type SystemTopicsClientImpl ¶ added in v1.15.1
type SystemTopicsClientImpl struct {
eventgrid.SystemTopicsClient
}
SystemTopicsClientImpl implements SystemTopicsClient with a concrete eventgrid.SystemTopicsClientImpl.
func (*SystemTopicsClientImpl) BaseClient ¶ added in v1.15.1
func (c *SystemTopicsClientImpl) BaseClient() autorest.Client
BaseClient implements SystemTopicsClient.
func (*SystemTopicsClientImpl) ConcreteClient ¶ added in v1.15.1
func (c *SystemTopicsClientImpl) ConcreteClient() eventgrid.SystemTopicsClient
ConcreteClient implements SystemTopicsClient.