Documentation ¶
Index ¶
- func AddCertToLocalStore(cert *x509.Certificate) error
- func ChangeConfigFileContents(content string) error
- func GetCertsFromLocalStore() (*x509.CertPool, error)
- func RemoveCertFromLocalStore(cert *x509.Certificate) error
- func RemoveConfigFile() error
- func SaveConfig(config *Configuration) error
- type Configuration
- type ProjectConfiguration
- type TenantConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCertToLocalStore ¶
func AddCertToLocalStore(cert *x509.Certificate) error
func GetCertsFromLocalStore ¶
func RemoveCertFromLocalStore ¶
func RemoveCertFromLocalStore(cert *x509.Certificate) error
func RemoveConfigFile ¶
func RemoveConfigFile() error
func SaveConfig ¶
func SaveConfig(config *Configuration) error
Save configuration into config file, will overwrite config file
Types ¶
type Configuration ¶
type Configuration struct { CloudTarget string Token string IgnoreCertificate bool Tenant *TenantConfiguration Project *ProjectConfiguration }
type ProjectConfiguration ¶
type TenantConfiguration ¶
Click to show internal directories.
Click to hide internal directories.