central

package
v0.0.0-...-af321b4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MPL-2.0 Imports: 22 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dev

func Dev(t testing.T, f func(setup *DevSetup))

Types

type DevSetup

type DevSetup struct {
	Top            context.Context
	DB             *gorm.DB
	ControlClient  *control.Client
	ControlServer  *control.Server
	MgmtClient     pb.ControlManagementClient
	ServerAddr     string
	AgentToken     string
	RegisterToken  string
	HubToken       string
	HubAddr        string
	Account        *pb.Account
	MgmtCtx        context.Context
	ClientListener net.Listener
	AwsSession     *session.Session
	S3Bucket       string
	HubServToken   string
}

func (*DevSetup) NewControlClient

func (s *DevSetup) NewControlClient(t testing.T, f func(c *control.Client, li net.Listener))

Jump to

Keyboard shortcuts

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