Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // Base is a base addon containing Kubernetes clients Base = &base.Base{} // Tiller is a shared tiller addon Tiller = &tiller.Tiller{} // NginxIngress installs nginx-ingress as a helm chart NginxIngress = &nginxingress.Nginx{} // Certmanager install cert-manager as a helm chart CertManager = &certmanager.Certmanager{} // Pebble is a global deployment of the Pebble acme server Pebble = &pebble.Pebble{} )
Functions ¶
func DeprovisionGlobals ¶
DeprovisionGlobals deprovisions all of the global addons. This should be called by the test suite in a SynchronizedAfterSuite to ensure all global addons are cleaned up after a run.
func GlobalLogs ¶ added in v0.6.0
func InitGlobals ¶
InitGlobals actually allocates the addon values that are defined above. We do this here so that we can access the suites config structure during the definition of global addons.
func ProvisionGlobals ¶
ProvisionGlobals provisions all of the global addons, including calling Setup. This should be called by the test suite entrypoint in a SynchronizedBeforeSuite block to ensure it is run once per suite.
func SetupGlobals ¶
SetupGlobals will call Setup on all of the global addons, but not provision. This should be called by the test suite entrypoint in a BeforeSuite block on all ginkgo nodes to ensure global instances are configured for each test runner.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package base implements a basis for plugins that need to use the Kubernetes API to build upon.
|
Package base implements a basis for plugins that need to use the Kubernetes API to build upon. |
package nginx contains an addon that installs nginx-ingress
|
package nginx contains an addon that installs nginx-ingress |
package Pebble contains an addon that installs Pebble
|
package Pebble contains an addon that installs Pebble |
package vault contains an addon that installs Vault
|
package vault contains an addon that installs Vault |