env

package
v0.0.0-...-6c21669 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTest

func NewTest(l net.Listener, cert []byte) *test

Types

type Dev

type Dev interface {
	CreateARMResourceGroupRoleAssignment(context.Context, autorest.Authorizer, string) error
}

type Interface

type Interface interface {
	clientauthorizer.ClientAuthorizer
	instancemetadata.InstanceMetadata

	CosmosDB() (string, string)
	DatabaseName() string
	DialContext(context.Context, string, string) (net.Conn, error)
	Domain() string
	FPAuthorizer(string, string) (autorest.Authorizer, error)
	GetSecret(context.Context, string) (*rsa.PrivateKey, []*x509.Certificate, error)
	Listen() (net.Listener, error)
	Zones(vmSize string) ([]string, error)
}

func NewEnv

func NewEnv(ctx context.Context, log *logrus.Entry) (Interface, error)

Jump to

Keyboard shortcuts

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