helpers

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanServeHTTP

func CanServeHTTP(serverAddr string, conf config.Config) bool

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func StartServer

func StartServer(
	conf config.Config,
	stopServerChan chan os.Signal,
	fakeCommandRunner *serviceadapterfakes.FakeCommandRunner,
	fakeTaskBoshClient *taskfakes.FakeBoshClient,
	fakeTaskBulkSetter *taskfakes.FakeBulkSetter,
	fakeCfClient *fakes.FakeCloudFoundryClient,
	fakeBoshClient *fakes.FakeBoshClient,
	fakeMapHasher *fakes.FakeHasher,
	maintenanceInfoChecker *fakes.FakeMaintenanceInfoChecker,
	fakeCredentialStore *credhubfakes.FakeCredentialStore,
	fakeCredhubOperator *manifestsecretsfakes.FakeCredhubOperator,
	loggerBuffer *gbytes.Buffer,
) (*Server, error)

func (*Server) Close

func (s *Server) Close()

Jump to

Keyboard shortcuts

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