localhelpers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulFactory

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

func NewConsulFactory

func NewConsulFactory() (*ConsulFactory, error)

func (*ConsulFactory) Clean

func (ef *ConsulFactory) Clean() error

func (*ConsulFactory) NewConsulInstance

func (ef *ConsulFactory) NewConsulInstance() (*ConsulInstance, error)

type ConsulInstance

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

func (*ConsulInstance) Binary

func (i *ConsulInstance) Binary() string

func (*ConsulInstance) Clean

func (i *ConsulInstance) Clean() error

func (*ConsulInstance) Run

func (i *ConsulInstance) Run() error

func (*ConsulInstance) RunWithPort

func (i *ConsulInstance) RunWithPort() error

func (*ConsulInstance) Silence

func (i *ConsulInstance) Silence()

type EnvoyFactory

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

func NewEnvoyFactory

func NewEnvoyFactory() (*EnvoyFactory, error)

func (*EnvoyFactory) Clean

func (ef *EnvoyFactory) Clean() error

func (*EnvoyFactory) EnvoyPath

func (ef *EnvoyFactory) EnvoyPath() string

func (*EnvoyFactory) NewEnvoyInstance

func (ef *EnvoyFactory) NewEnvoyInstance() (*EnvoyInstance, error)

type EnvoyInstance

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

func (*EnvoyInstance) Binary

func (ei *EnvoyInstance) Binary() string

func (*EnvoyInstance) Clean

func (ei *EnvoyInstance) Clean() error

func (*EnvoyInstance) DebugMode

func (ei *EnvoyInstance) DebugMode() error

func (*EnvoyInstance) LocalAddr

func (ei *EnvoyInstance) LocalAddr() string

func (*EnvoyInstance) Logs

func (ei *EnvoyInstance) Logs() string

func (*EnvoyInstance) Run

func (ei *EnvoyInstance) Run() error

func (*EnvoyInstance) RunWithId

func (ei *EnvoyInstance) RunWithId(id string) error

type FunctionDiscoveryFactory

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

func NewFunctionDiscoveryFactory

func NewFunctionDiscoveryFactory() (*FunctionDiscoveryFactory, error)

func (*FunctionDiscoveryFactory) Clean

func (fdf *FunctionDiscoveryFactory) Clean() error

func (*FunctionDiscoveryFactory) NewFunctionDiscoveryInstance

func (fdf *FunctionDiscoveryFactory) NewFunctionDiscoveryInstance() (*FunctionDiscoveryInstance, error)

type FunctionDiscoveryInstance

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

func (*FunctionDiscoveryInstance) Clean

func (fdi *FunctionDiscoveryInstance) Clean() error

func (*FunctionDiscoveryInstance) Run

func (fdi *FunctionDiscoveryInstance) Run(datadir string) error

type GlooFactory

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

func NewGlooFactory

func NewGlooFactory() (*GlooFactory, error)

func (*GlooFactory) Clean

func (gf *GlooFactory) Clean() error

func (*GlooFactory) NewGlooInstance

func (gf *GlooFactory) NewGlooInstance() (*GlooInstance, error)

type GlooInstance

type GlooInstance struct {
	Args []string
	// contains filtered or unexported fields
}

func (*GlooInstance) AddSecret

func (gi *GlooInstance) AddSecret(name string, secret map[string]string) error

func (*GlooInstance) AddUpstream

func (gi *GlooInstance) AddUpstream(u *v1.Upstream) error

func (*GlooInstance) AddvService

func (gi *GlooInstance) AddvService(u *v1.VirtualService) error

func (*GlooInstance) Clean

func (gi *GlooInstance) Clean() error

func (*GlooInstance) ConfigDir

func (gi *GlooInstance) ConfigDir() string

func (*GlooInstance) DeleteUpstream

func (gi *GlooInstance) DeleteUpstream(name string) error

func (*GlooInstance) DeletevService

func (gi *GlooInstance) DeletevService(name string) error

func (*GlooInstance) EnvoyPort

func (gi *GlooInstance) EnvoyPort() uint32

func (*GlooInstance) EnvoySSLPort

func (gi *GlooInstance) EnvoySSLPort() uint32

func (*GlooInstance) FilesDir

func (gi *GlooInstance) FilesDir() string

func (*GlooInstance) GetUpstream

func (gi *GlooInstance) GetUpstream(s string) (*v1.Upstream, error)

func (*GlooInstance) Run

func (gi *GlooInstance) Run() error

func (*GlooInstance) RunWithPort

func (gi *GlooInstance) RunWithPort(xdsport uint32) error

func (*GlooInstance) SecretsDir

func (gi *GlooInstance) SecretsDir() string

func (*GlooInstance) TmpDir

func (gi *GlooInstance) TmpDir() string

type NatsStreamingFactory

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

func NewNatsStreamingFactory

func NewNatsStreamingFactory() (*NatsStreamingFactory, error)

func (*NatsStreamingFactory) Clean

func (gf *NatsStreamingFactory) Clean() error

func (*NatsStreamingFactory) NewNatsStreamingInstance

func (gf *NatsStreamingFactory) NewNatsStreamingInstance() (*NatsStreamingInstance, error)

type NatsStreamingInstance

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

func (*NatsStreamingInstance) Clean

func (nsi *NatsStreamingInstance) Clean() error

func (*NatsStreamingInstance) ClusterId

func (nsi *NatsStreamingInstance) ClusterId() string

func (*NatsStreamingInstance) NatsPort

func (nsi *NatsStreamingInstance) NatsPort() uint32

func (*NatsStreamingInstance) Run

func (nsi *NatsStreamingInstance) Run() error

type NomadFactory

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

func NewNomadFactory

func NewNomadFactory() (*NomadFactory, error)

func (*NomadFactory) Clean

func (ef *NomadFactory) Clean() error

func (*NomadFactory) NewNomadInstance

func (ef *NomadFactory) NewNomadInstance(vault *VaultInstance) (*NomadInstance, error)

type NomadInstance

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

func (*NomadInstance) Binary

func (i *NomadInstance) Binary() string

func (*NomadInstance) Cfg

func (i *NomadInstance) Cfg() *api.Config

func (*NomadInstance) Clean

func (i *NomadInstance) Clean() error

func (*NomadInstance) Exec

func (i *NomadInstance) Exec(args ...string) (string, error)

func (*NomadInstance) Logs

func (i *NomadInstance) Logs(job, task string) (string, error)

func (*NomadInstance) Run

func (i *NomadInstance) Run() error

func (*NomadInstance) RunWithPort

func (i *NomadInstance) RunWithPort() error

func (*NomadInstance) SetupNomadForE2eTest

func (i *NomadInstance) SetupNomadForE2eTest(envoyPath, outputDirectory string, buildBinaries bool) error

func (*NomadInstance) Silence

func (i *NomadInstance) Silence()

func (*NomadInstance) TeardownNomadE2e

func (i *NomadInstance) TeardownNomadE2e() error

type Runner

type Runner struct {
	Sourcepath    string
	ComponentName string
}

type VaultFactory

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

func NewVaultFactory

func NewVaultFactory() (*VaultFactory, error)

func (*VaultFactory) Clean

func (ef *VaultFactory) Clean() error

func (*VaultFactory) NewVaultInstance

func (ef *VaultFactory) NewVaultInstance() (*VaultInstance, error)

type VaultInstance

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

func (*VaultInstance) Binary

func (i *VaultInstance) Binary() string

func (*VaultInstance) Clean

func (i *VaultInstance) Clean() error

func (*VaultInstance) Exec

func (i *VaultInstance) Exec(args ...string) (string, error)

func (*VaultInstance) Run

func (i *VaultInstance) Run() error

func (*VaultInstance) RunWithPort

func (i *VaultInstance) RunWithPort() error

func (*VaultInstance) Token

func (i *VaultInstance) Token() string

Jump to

Keyboard shortcuts

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