Documentation ¶
Index ¶
- func ToBoxDetails(deployment *kubernetes.DeploymentDetails, serviceInfo *kubernetes.ServiceInfo, ...) (*boxModel.BoxDetails, error)
- func ToPortBindings(ports []boxModel.BoxPort, onPortBindCallback func(port boxModel.BoxPort)) ([]string, error)
- type KubeBoxClient
- func (box *KubeBoxClient) Clean() error
- func (box *KubeBoxClient) Connect(opts *boxModel.ConnectOptions) error
- func (box *KubeBoxClient) Create(opts *boxModel.CreateOptions) (*boxModel.BoxInfo, error)
- func (box *KubeBoxClient) Delete(names []string) ([]string, error)
- func (box *KubeBoxClient) Describe(name string) (*boxModel.BoxDetails, error)
- func (box *KubeBoxClient) Events() *event.EventBus
- func (box *KubeBoxClient) List() ([]boxModel.BoxInfo, error)
- func (box *KubeBoxClient) Provider() boxModel.BoxProvider
- func (box *KubeBoxClient) Version() (string, error)
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)
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)
Click to show internal directories.
Click to hide internal directories.