nomad

package module
v0.0.0-...-c8dd908 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: MPL-2.0 Imports: 10 Imported by: 0

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) GetClient

func (c *NomadConfig) GetClient() (api.Client, error)

func (*NomadConfig) Merge

func (c *NomadConfig) Merge(other *NomadConfig) error

func (*NomadConfig) RegisterFlags

func (c *NomadConfig) RegisterFlags(f *flag.FlagSet)

Jump to

Keyboard shortcuts

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