Documentation ¶
Index ¶
Constants ¶
View Source
const ALTERNATE_CA_PRIVATE_KEY = `` /* 1674-byte string literal not displayed */
View Source
const ALTERNATE_CA_PUBLIC_KEY = `` /* 1167-byte string literal not displayed */
View Source
const ALTERNATE_CERTIFICATE_SIGNED_BY_CA_PRIVATE_KEY = `` /* 1674-byte string literal not displayed */
View Source
const ALTERNATE_CERTIFICATE_SIGNED_BY_CA_PUBLIC_KEY = `` /* 1175-byte string literal not displayed */
View Source
const EC_PRIVATE_KEY = `` /* 227-byte string literal not displayed */
View Source
const INTERMEDIATE_CA = `` /* 1451-byte string literal not displayed */
View Source
const INTERMEDIATE_CA_PRIVATE_KEY = `` /* 1678-byte string literal not displayed */
View Source
const OTHER_PRIVATE_KEY_PKCS8_ENCRYPTED = `` /* 1784-byte string literal not displayed */
View Source
const OTHER_VALID_CERTIFICATE = `` /* 1065-byte string literal not displayed */
View Source
const OTHER_VALID_PRIVATE_KEY_PKCS1 = `` /* 1678-byte string literal not displayed */
View Source
const OTHER_VALID_PRIVATE_KEY_PKCS8 = `` /* 1707-byte string literal not displayed */
View Source
const VALID_CERTIFICATE = `` /* 1492-byte string literal not displayed */
View Source
const VALID_CERTIFICATE_CA = `` /* 1496-byte string literal not displayed */
View Source
const VALID_CERTIFICATE_PRIVATE_KEY = `` /* 1678-byte string literal not displayed */
View Source
const VALID_INTERMEDIATE_CA = `` /* 1093-byte string literal not displayed */
View Source
const VALID_INTERMEDIATE_CA_ROOT_CA = `` /* 1093-byte string literal not displayed */
Variables ¶
View Source
var (
CommandPath string
)
Functions ¶
func GenerateUniqueCredentialName ¶
func GenerateUniqueCredentialName() string
func RunCommand ¶
func RunCommand(args ...string) *Session
func TargetAndLoginSkipTls ¶
func TargetAndLoginSkipTls(cfg Config)
func TargetAndLoginWithClientCredentials ¶
func TargetAndLoginWithClientCredentials(cfg Config)
Types ¶
type BoshConfig ¶
type Certificate ¶
type Certificate struct { Value CertificateValue `yaml:"value"` Name string `yaml:"name"` }
type CertificateValue ¶
type Config ¶
type Config struct { Bosh *BoshConfig `json:"bosh"` ApiUrl string `json:"api_url"` ApiUsername string `json:"api_username"` ApiPassword string `json:"api_password"` CredentialRoot string `json:"credential_root"` UAACa string `json:"uaa_ca"` DirectorHost string `json:"director_host"` ClientName string `json:"client_name"` ClientSecret string `json:"client_secret"` DeploymentName string `json:"deployment_name"` ConcatenateCas bool `json:"concatenate_cas"` }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.