repositories

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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.GoogleCloudRepositoriesSource) (*pubsub.Client, *sourcerepo.Service, error)
}

ClientGetter can obtain Google Cloud API clients.

type ClientGetterFunc

type ClientGetterFunc func(*v1alpha1.GoogleCloudRepositoriesSource) (*pubsub.Client, *sourcerepo.Service, error)

ClientGetterFunc allows the use of ordinary functions as ClientGetter.

func (ClientGetterFunc) Get

func (f ClientGetterFunc) Get(src *v1alpha1.GoogleCloudRepositoriesSource) (*pubsub.Client, *sourcerepo.Service, error)

Get implements ClientGetter.

type ClientGetterWithSecretGetter

type ClientGetterWithSecretGetter struct {
	// contains filtered or unexported fields
}

ClientGetterWithSecretGetter gets Google Cloud clients using static credentials retrieved using a Secret getter.

func NewClientGetter

NewClientGetter returns a ClientGetter for the given secrets getter.

func (*ClientGetterWithSecretGetter) Get

Get implements ClientGetter.

type NamespacedSecretsGetter

type NamespacedSecretsGetter func(namespace string) coreclientv1.SecretInterface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL