auth

package
v0.0.3-dev Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiKey

func ApiKey() string

func ApiUrl

func ApiUrl() string

func Configure

func Configure(m Config) error

func DefaultApiUrl

func DefaultApiUrl() string

func DefaultControlPlaneApiUrl

func DefaultControlPlaneApiUrl() string

func NewTrialRegistrationClient

func NewTrialRegistrationClient(config TrialConfig) *trialRegistrationClient

func Verify

func Verify() error

Types

type Config

type Config struct {
	ApiUrl string `yaml:"api_url"`
	ApiKey string `yaml:"api_key"`
}

type TrialConfig

type TrialConfig struct {
	Email              string
	ControlPlaneApiUrl string
}

Jump to

Keyboard shortcuts

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