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 ¶
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.
Click to show internal directories.
Click to hide internal directories.