Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoginOpts ¶
type LoginOpts struct {
IO iostreams.IOStreams
Profile *profile.Profile
Quiet bool
// ConfigFn is used to retrieve a new HCP Config
ConfigFn NewConfigFunc
// CredentialDir is the directory to store any necessary credential files.
CredentialDir string
// CredentialFile is the path to a credential file to use to login
CredentialFile string
// ClientID and ClientSecret are used to authenticate using service
// principal credentials.
ClientID string
ClientSecret string
}
type LogoutOpts ¶
type NewConfigFunc ¶
type NewConfigFunc func(opts ...hcpconf.HCPConfigOption) (hcpconf.HCPConfig, error)
NewConfigFunc is the function definition for retrieving a new HCPConfig
Click to show internal directories.
Click to hide internal directories.