envs

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 4 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

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

func Get

func Get() *Env

func (*Env) GetClient

func (c *Env) GetClient() types.IngressClientV1

func (*Env) GetHaproxy

func (c *Env) GetHaproxy() string

func (*Env) GetNet

func (c *Env) GetNet() *network.Network

func (*Env) GetResolvers

func (c *Env) GetResolvers() map[string]uint16

func (*Env) GetState

func (c *Env) GetState() *state.State

func (*Env) GetTemplate

func (c *Env) GetTemplate() (*template.Template, string, string, string)

func (*Env) SetClient

func (c *Env) SetClient(client types.IngressClientV1)

func (*Env) SetHaproxy

func (c *Env) SetHaproxy(exec string)

func (*Env) SetNet

func (c *Env) SetNet(n *network.Network)

func (*Env) SetResolvers

func (c *Env) SetResolvers(resolvers map[string]uint16)

func (*Env) SetState

func (c *Env) SetState(state *state.State)

func (*Env) SetTemplate

func (c *Env) SetTemplate(t *template.Template, path, name, pid string)

Jump to

Keyboard shortcuts

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