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 }
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 // 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
Click to show internal directories.
Click to hide internal directories.