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.AWSS3Source) (Client, SQSClient, error)
}
ClientGetter can obtain S3 and SQS clients.
type ClientGetterFunc ¶
type ClientGetterFunc func(*v1alpha1.AWSS3Source) (Client, SQSClient, error)
ClientGetterFunc allows the use of ordinary functions as ClientGetter.
func (ClientGetterFunc) Get ¶
func (f ClientGetterFunc) Get(src *v1alpha1.AWSS3Source) (Client, SQSClient, error)
Get implements ClientGetter.
type ClientGetterWithSecretGetter ¶
type ClientGetterWithSecretGetter struct {
// contains filtered or unexported fields
}
ClientGetterWithSecretGetter gets S3 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.AWSS3Source) (Client, SQSClient, 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.