Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorProxyDisabled = fmt.Errorf("proxy is disabled")
)
Functions ¶
func InitHCPCommand ¶
func InitHCPCommand(ui cli.Ui) map[string]cli.CommandFactory
Types ¶
type HCPConfigCache ¶
type HCPConnectCommand ¶
func (*HCPConnectCommand) Flags ¶
func (c *HCPConnectCommand) Flags() *flag.FlagSet
func (*HCPConnectCommand) Help ¶
func (c *HCPConnectCommand) Help() string
func (*HCPConnectCommand) Run ¶
func (c *HCPConnectCommand) Run(args []string) int
func (*HCPConnectCommand) Synopsis ¶
func (c *HCPConnectCommand) Synopsis() string
type HCPDisconnectCommand ¶
func (*HCPDisconnectCommand) Help ¶
func (c *HCPDisconnectCommand) Help() string
func (*HCPDisconnectCommand) Run ¶
func (c *HCPDisconnectCommand) Run(_ []string) int
func (*HCPDisconnectCommand) Synopsis ¶
func (c *HCPDisconnectCommand) Synopsis() string
type HCPTokenHelper ¶
type InternalHCPTokenHelper ¶
type InternalHCPTokenHelper struct{}
func (InternalHCPTokenHelper) GetHCPToken ¶
func (h InternalHCPTokenHelper) GetHCPToken(path string) (*HCPToken, error)
type TestTokenSource ¶
type TestTokenSource struct{}
type TestingHCPTokenHelper ¶
type TestingHCPTokenHelper struct {
ValidCache bool
}
func (TestingHCPTokenHelper) GetHCPToken ¶
func (h TestingHCPTokenHelper) GetHCPToken(path string) (*HCPToken, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.