Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Kind is the canonical name of the plugin for starting up, etc. Kind = "packet" // EnvNamespaceTags is the env to set for namespace tags. It's k=v,... EnvNamespaceTags = "INFRAKIT_PACKET_NAMESPACE_TAGS" // EnvProject is the env to set the project EnvProject = "INFRAKIT_PACKET_PROJECT" // EnvAPIToken is the env to set the API token EnvAPIToken = "INFRAKIT_PACKET_API_TOKEN" )
Variables ¶
View Source
var DefaultOptions = Options{ Namespace: defaultNamespace(), Project: local.Getenv(EnvProject, ""), APIToken: local.Getenv(EnvAPIToken, ""), }
DefaultOptions return an Options with default values filled in.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.