Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACME ¶
type ACME struct {
Cloudflare Cloudflare
}
type Addons ¶
type Addons struct { // Tiller describes the global configuration values for the tiller addon Tiller Tiller // Helm describes the global configuration values for helm Helm Helm // Pebble describes the global configuration values for the pebble addon Pebble Pebble // Nginx describes global configuration variables for the nginx addon. // Because we currently can only run one instance of nginx per cluster due // to the way we provision DNS, this structure currently also describes // the runtime configuration for a global shared Nginx instance as well. Nginx Nginx // Venafi describes global configuration variables for the Venafi tests. // This includes credentials for the Venafi TPP server to use during runs. Venafi Venafi }
Addons contains global configuration for instances of addons
type Cloudflare ¶
func (*Cloudflare) AddFlags ¶
func (c *Cloudflare) AddFlags(fs *flag.FlagSet)
type Config ¶
type Config struct { KubeConfig string KubeContext string Kubectl string // If Cleanup is true, addons will be cleaned up both before and after provisioning Cleanup bool // RepoRoot is used as the base path for any parts of the framework that // require access to repo files, such as Helm charts and test fixtures. RepoRoot string Ginkgo Ginkgo Framework Framework Addons Addons Suite Suite }
type Nginx ¶
type Nginx struct { // Helm chart version to deploy during tests ChartVersion string Global NginxRuntimeConfig }
type NginxRuntimeConfig ¶
type NginxRuntimeConfig struct { // IPAddress is the IP address that the nginx-ingress service will be // exposed on. // This must be a part of the service CIDR, and must not already be allocated // else provisioning will fail. IPAddress string // Domain is a domain name that can be used during e2e tests. // This domain should have records for *.example.com and example.com pointing // to the IP listed above. Domain string }
NginxRuntimeConfig is a copy of the runtime configuration for an instance of the nginx addon. It is copied to avoid dependency cycle issues, as the nginx addon depends upon this package for global configuration.
func (*NginxRuntimeConfig) AddFlags ¶
func (n *NginxRuntimeConfig) AddFlags(fs *flag.FlagSet)
func (*NginxRuntimeConfig) Validate ¶
func (n *NginxRuntimeConfig) Validate() []error
type Tiller ¶
type Venafi ¶ added in v0.7.0
type Venafi struct {
TPP VenafiTPPConfiguration
}
Venafi global configuration for Venafi TPP/Cloud instances
type VenafiTPPConfiguration ¶ added in v0.7.0
func (*VenafiTPPConfiguration) AddFlags ¶ added in v0.7.0
func (v *VenafiTPPConfiguration) AddFlags(fs *flag.FlagSet)
func (*VenafiTPPConfiguration) Validate ¶ added in v0.7.0
func (v *VenafiTPPConfiguration) Validate() []error
TODO: make missing venafi vars not fail validation (i.e. skip venafi tests)
Click to show internal directories.
Click to hide internal directories.