Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultInterval is the default interval for retry operations. DefaultInterval = 5 * time.Second // DefaultSevereThreshold is the default threshold until an error reported by another component is treated as 'severe'. DefaultSevereThreshold = 30 * time.Second // DefaultTimeout is the default timeout and defines how long Gardener should wait // for a successful reconciliation of a network resource. DefaultTimeout = 3 * time.Minute )
Variables ¶
View Source
var TimeNow = time.Now
TimeNow returns the current time. Exposed for testing.
Functions ¶
Types ¶
type Values ¶
type Values struct { // Namespace is the namespace of the Shoot network in the Seed Namespace string // Name is the name of the Network extension. Commonly the Shoot's name. Name string // Type is the type of Network plugin/extension (e.g calico) Type string // ProviderConfig contains the provider config for the Network extension. ProviderConfig *runtime.RawExtension // PodCIDR is the Shoot's pod CIDR in the Shoot VPC PodCIDR *net.IPNet // ServiceCIDR is the Shoot's service CIDR in the Shoot VPC ServiceCIDR *net.IPNet }
Values contains the values used to create a Network CRD
Click to show internal directories.
Click to hide internal directories.