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.AWSSNSSource) (Client, error)
}
ClientGetter can obtain SNS clients.
type ClientGetterFunc ¶
type ClientGetterFunc func(*v1alpha1.AWSSNSSource) (Client, error)
ClientGetterFunc allows the use of ordinary functions as ClientGetter.
func (ClientGetterFunc) Get ¶
func (f ClientGetterFunc) Get(src *v1alpha1.AWSSNSSource) (Client, error)
Get implements ClientGetter.
type ClientGetterWithSecretGetter ¶
type ClientGetterWithSecretGetter struct {
// contains filtered or unexported fields
}
ClientGetterWithSecretGetter gets SNS 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.AWSSNSSource) (Client, error)
Get implements ClientGetter.
type NamespacedSecretsGetter ¶
type NamespacedSecretsGetter func(namespace string) coreclientv1.SecretInterface
NamespacedSecretsGetter returns a SecretInterface for the given namespace.
Click to show internal directories.
Click to hide internal directories.