k8s

package
v0.0.0-...-79ab90b Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Namespace  = "Namespace"
	Service    = "Service"
	Deployment = "Deployment"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AppName           string
	Namespace         string
	Version           string
	ControlServerPort string
	PortalPort        string
	ServicePort       string
	Kubeconfig        string
	KubeContext       string
}

type Deployer

type Deployer struct {
	// contains filtered or unexported fields
}

func NewDeployer

func NewDeployer(k8sConfig Config) Deployer

func (Deployer) Cleanup

func (d Deployer) Cleanup(ctx context.Context)

func (Deployer) Deploy

func (d Deployer) Deploy(ctx context.Context) error

func (Deployer) DeployRemoteComponents

func (d Deployer) DeployRemoteComponents(ctx context.Context) error

func (Deployer) ForwardPorts

func (d Deployer) ForwardPorts(ctx context.Context, ports ...string) (chan chan struct{}, error)

Jump to

Keyboard shortcuts

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