integration

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken(apiKey, iamEndpoint string) (string, error)

func RandStringBytes

func RandStringBytes(n int) string

Types

type IAMTokenResponse

type IAMTokenResponse struct {
	Token        string `json:"access_token"`
	RefreshToken string `json:"refresh_token,omitempty"`
}

type TestConfig

type TestConfig struct {
	APIKey         string `json:"apiKey,omitempty"`
	Token          string `json:"token,omitempty"`
	IAMEndpoint    string `json:"iamEndpoint,omitempty"`
	SatConEndpoint string `json:"satconEndpoint,omitempty"`
	OrgID          string `json:"orgId,omitempty"`
}

func LoadConfig

func LoadConfig(configFile string) *TestConfig

Jump to

Keyboard shortcuts

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