test

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MsiStubServer added in v0.19.0

func MsiStubServer(ctx context.Context, port int, token string) chan bool

func RandomString

func RandomString() string

RandomString returns a random alphanumeric string useful for testing purposes.

Types

type Connection

type Connection struct {
	AuthConfig *auth.Config
	Authorizer auth.Authorizer
	Context    context.Context
	DomainName string
}

func NewConnection

func NewConnection(api auth.Api, tokenVersion auth.TokenVersion) *Connection

NewConnection configures and returns a Connection for use in tests.

Jump to

Keyboard shortcuts

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