kubernetes

package
v0.12.7 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: GPL-3.0 Imports: 11 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 boxModel.BoxProvider) (*boxModel.BoxDetails, error)

func ToPortBindings added in v0.8.1

func ToPortBindings(ports []boxModel.BoxPort, onPortBindCallback func(port boxModel.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 *boxModel.CommonBoxOptions, kubeOpts *commonModel.KubeOptions) (*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 *boxModel.ConnectOptions) error

func (*KubeBoxClient) Create added in v0.8.0

func (box *KubeBoxClient) Create(opts *boxModel.CreateOptions) (*boxModel.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) (*boxModel.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() ([]boxModel.BoxInfo, error)

func (*KubeBoxClient) Provider added in v0.8.0

func (box *KubeBoxClient) Provider() boxModel.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