_import

package
v1.2.2-dev.76 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CommandName = "import"

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

func NewCommand

func NewCommand(
	lc logger.LoggingClient,
	configuration *config.ConfigurationStruct) (*Command, *flag.FlagSet)

func (*Command) Execute

func (c *Command) Execute() (statusCode int, err error)

Execute deploys PKI from CacheDir to DeployDir. It retruns an error, if CacheDir is empty instead of blocking or waiting; otherwise it just copies PKI assets from CacheDir into DeployDir. This import enables usage models for deploying a pre-populated PKI assets such as Kong TLS signed by an external certificate authority or TLS keys by other certificate authority.

Jump to

Keyboard shortcuts

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