kubernetes

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToBoxDetails added in v0.8.1

func ToBoxDetails(deployment *kubernetes.DeploymentDetails, serviceInfo *kubernetes.ServiceInfo, provider model.BoxProvider) (*model.BoxDetails, error)

func ToPortBindings added in v0.8.1

func ToPortBindings(ports []model.BoxPort, onPortBindCallback func(port model.BoxPort)) ([]string, error)

Types

type KubeBoxClient added in v0.8.0

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

func NewKubeBoxClient added in v0.8.0

func NewKubeBoxClient(commonOpts *model.CommonBoxOptions, kubeOpts *model.KubeBoxOptions) (*KubeBoxClient, error)

func (*KubeBoxClient) Clean added in v0.8.0

func (box *KubeBoxClient) Clean() error

func (*KubeBoxClient) Connect added in v0.8.0

func (box *KubeBoxClient) Connect(opts *model.ConnectOptions) error

func (*KubeBoxClient) Copy added in v0.8.0

func (box *KubeBoxClient) Copy(string, string, string) error

func (*KubeBoxClient) Create added in v0.8.0

func (box *KubeBoxClient) Create(opts *model.CreateOptions) (*model.BoxInfo, error)

func (*KubeBoxClient) Delete added in v0.8.0

func (box *KubeBoxClient) Delete(names []string) ([]string, error)

func (*KubeBoxClient) Describe added in v0.8.0

func (box *KubeBoxClient) Describe(name string) (*model.BoxDetails, error)

func (*KubeBoxClient) Events added in v0.8.0

func (box *KubeBoxClient) Events() *event.EventBus

func (*KubeBoxClient) List added in v0.8.0

func (box *KubeBoxClient) List() ([]model.BoxInfo, error)

func (*KubeBoxClient) Provider added in v0.8.0

func (box *KubeBoxClient) Provider() model.BoxProvider

func (*KubeBoxClient) Version added in v0.8.0

func (box *KubeBoxClient) Version() (string, error)

Jump to

Keyboard shortcuts

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