serveraclinit

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentConfig added in v0.26.0

type AgentConfig struct {
	Config      Config
	DebugConfig Config
}

type Command

type Command struct {
	UI cli.Ui
	// contains filtered or unexported fields
}

func (*Command) Help

func (c *Command) Help() string

func (*Command) Run

func (c *Command) Run(args []string) int

Run bootstraps ACLs on Consul servers and writes the bootstrap token to a Kubernetes secret. Given various flags, it will also create policies and associated ACL tokens and store the tokens as Kubernetes Secrets. The function will retry its tasks indefinitely until they are complete.

func (*Command) Synopsis

func (c *Command) Synopsis() string

type Config added in v0.26.0

type Config struct {
	Datacenter        string `mapstructure:"Datacenter"`
	PrimaryDatacenter string `mapstructure:"PrimaryDatacenter"`
}

Jump to

Keyboard shortcuts

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