api

package
v0.0.0-...-e5b461a Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientSet

func CreateClientSet() (kubernetes.Interface, error)

Generates the clientSet

func CreateDeployment

func CreateDeployment(replica int32, image string, name string)

Creates a new deployment, takes the number of replicas, name of the image & the deployment

func DeleteDeployment

func DeleteDeployment(name string)

Gets the deployment with the given name & prints name & number of replicas

func GetDeployment

func GetDeployment(name string)

Gets the deployment with the given name & prints name & number of replicas

func GetDeployments

func GetDeployments()

Gets all the deployments, name & number of replicas

func UpdateDeployment

func UpdateDeployment(replica int32, image string, name string)

Updates a deployment with the number of replicas, name of the image & the deployment

Types

This section is empty.

Jump to

Keyboard shortcuts

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