auth

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	RootCAs  *x509.CertPool
	URL      string
	APIToken string
}

func NewAuth

func NewAuth(rootCAs *x509.CertPool, authUrl string, apiToken string) *Auth

func (*Auth) GenerateCertificate

func (a *Auth) GenerateCertificate(ctx context.Context, envName string) (string, string, error)

Jump to

Keyboard shortcuts

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