acrtoken

package
v0.0.0-...-b534984 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	GetRegistryProfile(oc *api.OpenShiftCluster) *api.RegistryProfile
	GetRegistryProfileFromSlice(oc []*api.RegistryProfile) *api.RegistryProfile
	NewRegistryProfile() *api.RegistryProfile
	PutRegistryProfile(oc *api.OpenShiftCluster, rp *api.RegistryProfile)
	EnsureTokenAndPassword(ctx context.Context, rp *api.RegistryProfile) (string, error)
	RotateTokenPassword(ctx context.Context, rp *api.RegistryProfile) error
	Delete(ctx context.Context, rp *api.RegistryProfile) error
}

func NewManager

func NewManager(env env.Interface, localFPAuthorizer autorest.Authorizer) (Manager, error)

Jump to

Keyboard shortcuts

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