Documentation ¶
Index ¶
- func CreateDaemonset(clientset kubernetes.Interface, name, namespace string, ...) (controller.Controller, error)
- func CreateDeployment(clientset kubernetes.Interface, name, namespace string, ...) (controller.Controller, error)
- func CreateNamespace(clientset kubernetes.Interface, namespace string) error
- func CreateStatefulset(clientset kubernetes.Interface, name, namespace string, ...) (controller.Controller, error)
- func GetDefaultConfig() (*viper.Viper, error)
- type GetControllerFunc
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 ¶
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
Click to show internal directories.
Click to hide internal directories.