Documentation ¶
Index ¶
- func CreateHomeDir(sysHomeDir, DefaultOnfDir string) (onfHomeDir string)
- func Flow(section string, baseURL string)
- func NewCmd() *cobra.Command
- func PersistentCredential(credential *CredentialConfig)
- type Credential
- type CredentialConfig
- type CredentialFile
- func (cf *CredentialFile) CreateCredentialFileAt(onfHomeDir string) (onfCredentialFile string, err error)
- func (cf *CredentialFile) GetAllSetup() []*CredentialConfig
- func (cf *CredentialFile) GetCredentialPath(onfHomeDir string) (onfCredentialFile string)
- func (cf *CredentialFile) IsExistAtOnfAtHomeDir() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHomeDir ¶
func PersistentCredential ¶
func PersistentCredential(credential *CredentialConfig)
Types ¶
type Credential ¶
type CredentialConfig ¶
type CredentialConfig struct { Section string Credential *Credential }
type CredentialFile ¶
func (*CredentialFile) CreateCredentialFileAt ¶
func (cf *CredentialFile) CreateCredentialFileAt(onfHomeDir string) (onfCredentialFile string, err error)
func (*CredentialFile) GetAllSetup ¶
func (cf *CredentialFile) GetAllSetup() []*CredentialConfig
func (*CredentialFile) GetCredentialPath ¶
func (cf *CredentialFile) GetCredentialPath(onfHomeDir string) (onfCredentialFile string)
func (*CredentialFile) IsExistAtOnfAtHomeDir ¶
func (cf *CredentialFile) IsExistAtOnfAtHomeDir() bool
Click to show internal directories.
Click to hide internal directories.