Documentation ¶
Index ¶
- type Provider
- func (p Provider) CreateInstance(_ context.Context, bootstrapParams params.BootstrapInstance) (params.ProviderInstance, error)
- func (p Provider) DeleteInstance(_ context.Context, instance string) error
- func (p Provider) GetInstance(_ context.Context, instance string) (params.ProviderInstance, error)
- func (p Provider) ListInstances(_ context.Context, _ string) ([]params.ProviderInstance, error)
- func (p Provider) RemoveAllInstances(ctx context.Context) error
- func (p Provider) Start(_ context.Context, instance string) error
- func (p Provider) Stop(_ context.Context, instance string, force bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { ControllerID string ClientSet kubernetes.Interface LabelSelector labels.Selector }
func NewKubernetesProvider ¶
func NewKubernetesProvider(clientSet kubernetes.Interface, controllerID, poolID string) (*Provider, error)
func (Provider) CreateInstance ¶
func (p Provider) CreateInstance(_ context.Context, bootstrapParams params.BootstrapInstance) (params.ProviderInstance, error)
func (Provider) DeleteInstance ¶
func (Provider) GetInstance ¶
func (Provider) ListInstances ¶
func (Provider) RemoveAllInstances ¶
Click to show internal directories.
Click to hide internal directories.