Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener interface { UpdateServiceAccount(*serviceaccounts.Reference) DeleteServiceAccount(*serviceaccounts.Reference) }
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(ctx context.Context, opts ProviderOptions) *Provider
func (*Provider) AddListener ¶
func (*Provider) Get ¶
func (p *Provider) Get(ctx context.Context, ref *serviceaccounts.Reference) (*corev1.ServiceAccount, error)
type ProviderOptions ¶
type ProviderOptions struct { FallbackSource serviceaccounts.Provider KubeClient *kubernetes.Clientset MetricsRegistry *prometheus.Registry ResyncPeriod time.Duration }
Click to show internal directories.
Click to hide internal directories.