hatchery

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Common

type Common struct {
	service.Common
	Router *api.Router
	// contains filtered or unexported fields
}

func (*Common) CDSClient

func (c *Common) CDSClient() cdsclient.Interface

CDSClient returns cdsclient instance

func (*Common) CommonServe

func (c *Common) CommonServe(ctx context.Context, h hatchery.Interface) error

CommonServe start the HatcheryLocal server

func (*Common) GenerateWorkerConfig

func (c *Common) GenerateWorkerConfig(ctx context.Context, h hatchery.Interface, spawnArgs hatchery.SpawnArguments) workerruntime.WorkerConfig

func (*Common) GetGoRoutines

func (c *Common) GetGoRoutines() *sdk.GoRoutines

GetGoRoutines returns the goRoutines manager

func (*Common) GetPrivateKey

func (c *Common) GetPrivateKey() *rsa.PrivateKey

func (*Common) Init added in v0.52.0

func (c *Common) Init(ctx context.Context, h hatchery.Interface) error

func (*Common) SendServiceLog

func (c *Common) SendServiceLog(ctx context.Context, servicesLogs []cdslog.Message, terminated bool)

func (*Common) Service

func (c *Common) Service() *sdk.Service

func (*Common) ServiceName

func (c *Common) ServiceName() string

Directories

Path Synopsis
mock_vsphere
Package mock_vsphere is a generated GoMock package.
Package mock_vsphere is a generated GoMock package.

Jump to

Keyboard shortcuts

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