testing

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDaemonset

func CreateDaemonset(
	clientset kubernetes.Interface,
	name, namespace string,
	resources apiv1.ResourceRequirements,
) (controller.Controller, error)

CreateDaemonset creates a statefulset

func CreateDeployment

func CreateDeployment(
	clientset kubernetes.Interface,
	name, namespace string,
	resources apiv1.ResourceRequirements,
) (controller.Controller, error)

CreateDeployment creates a deployment

func CreateNamespace

func CreateNamespace(clientset kubernetes.Interface, namespace string) error

CreateNamespace creates a namespace

func CreateStatefulset

func CreateStatefulset(
	clientset kubernetes.Interface,
	name, namespace string,
	resources apiv1.ResourceRequirements,
) (controller.Controller, error)

CreateStatefulset creates a statefulset

func GetDefaultConfig

func GetDefaultConfig() (*viper.Viper, error)

GetDefaultConfig returns the configuration at ./config/test.yaml

Types

type GetControllerFunc

type GetControllerFunc func(
	clientset kubernetes.Interface,
	name, namespace string,
	resources apiv1.ResourceRequirements,
) (controller.Controller, error)

GetControllerFunc returns a controller type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL