auth

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: UPL-1.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultOCIConfigGetter added in v1.4.0

func DefaultOCIConfigGetter(ctx context.Context, opts types.IngressOpts, client kubernetes.Interface) *defaultOCIConfigGetter

func NewWorkloadIdentityConfigGetter added in v1.4.0

func NewWorkloadIdentityConfigGetter(saTokenProvider *ServiceAccountTokenProvider, rptPath string) *workloadIdentityConfigGetter

func ParseAuthConfig added in v1.1.0

func ParseAuthConfig(secret *v1.Secret, authConfigSecretName string) (*types.AuthConfig, error)

func RetrieveAuthConfig added in v1.1.0

func RetrieveAuthConfig(ctx context.Context, opts types.IngressOpts, namespace string, client kubernetes.Interface) (*types.Auth, error)

Types

type ConfigGetter added in v1.4.0

type ConfigGetter interface {
	GetConfigurationProvider() (common.ConfigurationProvider, error)
	GetKey() string
}

type ServiceAccountTokenProvider added in v1.4.0

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

func NewServiceAccountTokenProvider added in v1.4.0

func NewServiceAccountTokenProvider(saName string, namespace string, saLister corelisters.ServiceAccountLister, client kubernetes.Interface) *ServiceAccountTokenProvider

func (*ServiceAccountTokenProvider) ServiceAccountNamespacedName added in v1.4.0

func (provider *ServiceAccountTokenProvider) ServiceAccountNamespacedName() (string, error)

func (*ServiceAccountTokenProvider) ServiceAccountToken added in v1.4.0

func (provider *ServiceAccountTokenProvider) ServiceAccountToken() (string, error)

Jump to

Keyboard shortcuts

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