serviceaccounts

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GoogleEmailPattern = `^[a-zA-Z0-9-]+@[a-zA-Z0-9-]+\.iam\.gserviceaccount\.com$`
)

Variables

This section is empty.

Functions

func GoogleEmail

func GoogleEmail(sa *corev1.ServiceAccount) (string, error)

func IsGoogleEmail added in v0.3.0

func IsGoogleEmail(s string) bool

Types

type Provider

type Provider interface {
	Get(ctx context.Context, namespace, name string) (*corev1.ServiceAccount, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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