getserviceaccount

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(opts ProviderOptions) serviceaccounts.Provider

Types

type Provider

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

func (*Provider) Get

func (p *Provider) Get(ctx context.Context, namespace, name string) (*corev1.ServiceAccount, error)

type ProviderOptions

type ProviderOptions struct {
	KubeClient *kubernetes.Clientset
}

Jump to

Keyboard shortcuts

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