Discover Packages
github.com/nshttpd/oci-api-keygen
cmd
package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Apr 20, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
DEFAULT_CONFIG_FILE = ".oci/oci-api-keygen.json"
)
Execute adds all child commands to the root command and sets flags appropriately.
This is called by main.main(). It only needs to happen once to the rootCmd.
type ApiKey struct {
Tenancy string `json:"tenancy"`
Fingerprint string `json:"fingerprint"`
}
type Config struct {
KeyPath string `json:"keyPath"`
ApiKeys []ApiKey `json:"apiKeys"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.