Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Kind is the canonical name of the plugin for starting up, etc. Kind = "rackhd" // EnvEndpoint is the endpoint where RackHD is listening EnvEndpoint = "INFRAKIT_INSTANCE_RACKHD_ENDPOINT" // EnvUsername is the username for RackHD EnvUsername = "INFRAKIT_INSTANCE_RACKHD_USERNAME" // EnvPassword is the password for RackHD EnvPassword = "INFRAKIT_INSTANCE_RACKHD_PASSWORD" )
Variables ¶
View Source
var DefaultOptions = rackhd.Options{ Endpoint: local.Getenv(EnvEndpoint, "http://localhost:9090"), Username: local.Getenv(EnvUsername, "admin"), Password: local.Getenv(EnvPassword, "admin123"), }
DefaultOptions return an Options with default values filled in.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.