deploy

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment struct {
	ClientSet *kubernetes.Clientset
	Context   context.Context
}

func NewDeployment

func NewDeployment(clientset *kubernetes.Clientset, ctx context.Context) *Deployment

func (*Deployment) DeployImage

func (d *Deployment) DeployImage(deploymentInfo string) error

type DeploymentInfo

type DeploymentInfo struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	ImageURL  string `json:"image_url"`
}

Jump to

Keyboard shortcuts

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