Documentation ¶
Overview ¶
Copyright 2017-2019 Authors of Cilium
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func DeployCiliumAndDNS(vm *helpers.Kubectl)
- func DeployCiliumOptionsAndDNS(vm *helpers.Kubectl, options []string)
- func ExpectAllPodsTerminated(vm *helpers.Kubectl)
- func ExpectCiliumOperatorReady(vm *helpers.Kubectl)
- func ExpectCiliumPreFlightInstallReady(vm *helpers.Kubectl)
- func ExpectCiliumReady(vm *helpers.Kubectl)
- func ExpectCiliumRunning(vm *helpers.Kubectl)
- func ExpectETCDOperatorReady(vm *helpers.Kubectl)
- func ExpectKubeDNSReady(vm *helpers.Kubectl)
- func InstallAndValidateCiliumUpgrades(kubectl *helpers.Kubectl, oldVersion, newVersion string) (func(), func())
- func SkipIfFlannel()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployCiliumAndDNS ¶ added in v1.6.0
DeployCiliumAndDNS deploys DNS and cilium into the kubernetes cluster
func DeployCiliumOptionsAndDNS ¶ added in v1.6.0
DeployCiliumOptionsAndDNS deploys DNS and cilium with options into the kubernetes cluster
func ExpectAllPodsTerminated ¶
ExpectAllPodsTerminated is a wrapper around helpers/WaitCleanAllTerminatingPods. It asserts that the error returned by that function is nil.
func ExpectCiliumOperatorReady ¶
ExpectCiliumOperatorReady is a wrapper around helpers/WaitForPods. It asserts that the error returned by that function is nil.
func ExpectCiliumPreFlightInstallReady ¶
ExpectCiliumPreFlightInstallReady is a wrapper around helpers/WaitForNPods. It asserts the error returned by that function is nil.
func ExpectCiliumReady ¶
ExpectCiliumReady is a wrapper around helpers/WaitForPods. It asserts that the error returned by that function is nil.
func ExpectCiliumRunning ¶
ExpectCiliumRunning is a wrapper around helpers/WaitForNPods. It asserts the cilium pods are running on all nodes (but not yet ready!).
func ExpectETCDOperatorReady ¶
ExpectETCDOperatorReady is a wrapper around helpers/WaitForNPods. It asserts the error returned by that function is nil.
func ExpectKubeDNSReady ¶
ExpectKubeDNSReady is a wrapper around helpers/WaitKubeDNS. It asserts that the error returned by that function is nil.
func InstallAndValidateCiliumUpgrades ¶
func InstallAndValidateCiliumUpgrades(kubectl *helpers.Kubectl, oldVersion, newVersion string) (func(), func())
InstallAndValidateCiliumUpgrades installs and tests if the oldVersion can be upgrade to the newVersion and if the newVersion can be downgraded to the oldVersion. It returns two callbacks, the first one is the assertfunction that need to run, and the second one are the cleanup actions
func SkipIfFlannel ¶
func SkipIfFlannel()
SkipIfFlannel will skip the test if it's running over Flannel datapath mode.
Types ¶
This section is empty.