Versions in this module Expand all Collapse all v1 v1.3.1 Mar 14, 2026 v1.3.0 Mar 12, 2026 Changes in this version + type Config struct + Context string + InCluster bool + Kubeconfig string + Labels map[string]string + Namespace string + Region string + type Option func(*Provider) error + func WithConfig(cfg Config) Option + func WithContext(ctx string) Option + func WithInCluster() Option + func WithKubeconfig(path string) Option + func WithLabels(labels map[string]string) Option + func WithNamespace(ns string) Option + func WithRegion(region string) Option + type Provider struct + func New(opts ...Option) (*Provider, error) + func (p *Provider) Capabilities() []provider.Capability + func (p *Provider) Deploy(ctx context.Context, req provider.DeployRequest) (*provider.DeployResult, error) + func (p *Provider) Deprovision(ctx context.Context, instanceID id.ID) error + func (p *Provider) Exec(_ context.Context, _ id.ID, _ provider.ExecRequest) (*provider.ExecResult, error) + func (p *Provider) HealthCheck(ctx context.Context) (*provider.HealthStatus, error) + func (p *Provider) Info() provider.ProviderInfo + func (p *Provider) Logs(ctx context.Context, instanceID id.ID, opts provider.LogOptions) (io.ReadCloser, error) + func (p *Provider) Provision(ctx context.Context, req provider.ProvisionRequest) (*provider.ProvisionResult, error) + func (p *Provider) Resources(_ context.Context, _ id.ID) (*provider.ResourceUsage, error) + func (p *Provider) Restart(ctx context.Context, instanceID id.ID) error + func (p *Provider) Rollback(_ context.Context, _ id.ID, _ id.ID) error + func (p *Provider) Scale(ctx context.Context, instanceID id.ID, spec provider.ResourceSpec) error + func (p *Provider) Start(ctx context.Context, instanceID id.ID) error + func (p *Provider) Status(ctx context.Context, instanceID id.ID) (*provider.InstanceStatus, error) + func (p *Provider) Stop(ctx context.Context, instanceID id.ID) error