tharsisfederated

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
}

Authenticator supports Tharsis Federation

func New

func New() *Authenticator

New creates a new instance of Authenticator

func (*Authenticator) Authenticate

func (a *Authenticator) Authenticate(ctx context.Context,
	managedIdentity *types.ManagedIdentity, creds []byte) (map[string]string, error)

Authenticate configures the environment with the identity information used by the Tharsis terraform provider

func (*Authenticator) Close

func (a *Authenticator) Close(context.Context) error

Close cleans up any open resources

Jump to

Keyboard shortcuts

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