Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateGenerator ¶ added in v0.6.0
type CertificateGenerator interface {
GenerateIamAuthSelfSignCertKeyPair() ([]byte, []byte, error)
}
func NewCertificateGenerator ¶ added in v0.6.0
func NewCertificateGenerator() CertificateGenerator
type DefaultTlsValidator ¶ added in v0.6.0
type DefaultTlsValidator struct {
// contains filtered or unexported fields
}
func (*DefaultTlsValidator) HasSelfSignedCert ¶ added in v0.6.0
func (tv *DefaultTlsValidator) HasSelfSignedCert() (bool, error)
HasSelfSignedCert determines whether the url is using self-signed certs or not
func (*DefaultTlsValidator) ValidateCert ¶ added in v0.6.0
func (tv *DefaultTlsValidator) ValidateCert(cert string) error
ValidateCert parses the cert, ensures that the cert format is valid and verifies that the cert is valid for the url
type KeyGenerator ¶
type KeyGenerator interface {
GenerateSSHKeyPair(privateKeyDir string, publicKeyDir string, privateKeyFileName string, publicKeyFileName string, clusterUsername string) (key []byte, err error)
}
func NewKeyGenerator ¶
func NewKeyGenerator(writer filewriter.FileWriter) (KeyGenerator, error)
type TlsValidator ¶ added in v0.6.0
func NewTlsValidator ¶ added in v0.6.0
func NewTlsValidator(url string) TlsValidator
Click to show internal directories.
Click to hide internal directories.