Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NomadConfig ¶
type NomadConfig struct { sync.RWMutex Address string `toml:"address"` Token string `toml:"token"` // contains filtered or unexported fields }
func (*NomadConfig) CreateClient ¶
func (c *NomadConfig) CreateClient() (*api.Client, error)
func (*NomadConfig) Merge ¶
func (c *NomadConfig) Merge(other *NomadConfig) error
func (*NomadConfig) RegisterFlags ¶
func (c *NomadConfig) RegisterFlags(f *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.