Documentation ¶
Index ¶
- Constants
- func Certificate() string
- func GetCallerDirectory(skip ...int) (string, error)
- func GetCerts(params Params) (string, string)
- func GetKubeSecret(name, namespace string) *kubev1.Secret
- func GlooDir() string
- func GlooHelmChartDir() string
- func GlooInstallDir() string
- func GlooTestContainersDir() string
- func KubeDump(namespaces ...string) (string, error)
- func KubeDumpOnFail(out io.Writer, namespaces ...string) func()
- func MakeRoute(pathType int, length int) *v1.Route
- func Must(err error)
- func MustReadFile(name string) []byte
- func PrivateKey() string
- func RegisterGlooDebugLogPrintHandler()
- func RegisterGlooDebugLogPrintHandlerAndClearLogs()
- type Params
Constants ¶
View Source
const ( ExactPath = iota PrefixPath RegexPath )
Variables ¶
This section is empty.
Functions ¶
func Certificate ¶ added in v0.10.1
func Certificate() string
func GetCallerDirectory ¶ added in v0.18.17
returns absolute path to the currently executing directory
func GetKubeSecret ¶ added in v0.10.1
func GlooHelmChartDir ¶ added in v0.10.1
func GlooHelmChartDir() string
func GlooInstallDir ¶ added in v0.10.1
func GlooInstallDir() string
func GlooTestContainersDir ¶ added in v0.10.1
func GlooTestContainersDir() string
func KubeDumpOnFail ¶ added in v0.18.9
func MustReadFile ¶ added in v0.18.17
returns absolute path to the currently executing directory
func PrivateKey ¶ added in v0.10.1
func PrivateKey() string
func RegisterGlooDebugLogPrintHandler ¶ added in v0.18.12
func RegisterGlooDebugLogPrintHandler()
func RegisterGlooDebugLogPrintHandlerAndClearLogs ¶ added in v0.18.12
func RegisterGlooDebugLogPrintHandlerAndClearLogs()
Types ¶
type Params ¶ added in v0.10.1
type Params struct { Hosts string // Comma-separated hostnames and IPs to generate a certificate for ValidFrom *time.Time // Creation date ValidFor *time.Duration // Duration that certificate is valid for IsCA bool // whether this cert should be its own Certificate Authority RsaBits int // Size of RSA key to generate. Ignored if EcdsaCurve is set EcdsaCurve string // ECDSA curve to use to generate a key. Valid values are P224, P256 (recommended), P384, P521 }
Click to show internal directories.
Click to hide internal directories.