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