Documentation
¶
Overview ¶
Package kubernetes renders and deploys approved graphs to an explicit cluster context.
Index ¶
- func Factory(runner execx.Runner, root string) provider.Provider
- type Kubernetes
- func (k *Kubernetes) Apply(ctx context.Context, p *plan.Plan, st *state.Store, external map[string]string, ...) error
- func (*Kubernetes) Capabilities(context.Context, spec.Target) (model.Capabilities, error)
- func (k *Kubernetes) Destroy(ctx context.Context, p *plan.Plan, st *state.Store, ...) error
- func (k *Kubernetes) Logs(ctx context.Context, ref provider.ServiceRef, opts provider.LogOptions) (io.ReadCloser, error)
- func (k *Kubernetes) Observe(ctx context.Context, _ provider.EnvRef, st *state.Store) (provider.Status, error)
- func (*Kubernetes) Operations(_ context.Context, d *model.Deployment, _ *render.Bundle, snap state.Snapshot) ([]plan.Operation, error)
- func (k *Kubernetes) Preflight(ctx context.Context, d *model.Deployment) error
- func (k *Kubernetes) Render(ctx context.Context, d *model.Deployment) (*render.Bundle, error)
- func (k *Kubernetes) Rollback(ctx context.Context, _ provider.EnvRef, st *state.Store, releaseID string) error
- func (k *Kubernetes) SnapshotIDs(ctx context.Context, d *model.Deployment) (map[string][]string, error)
- func (*Kubernetes) Validate(_ context.Context, d *model.Deployment) output.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Kubernetes ¶
type Kubernetes struct {
provider.ExportOnly
// contains filtered or unexported fields
}
func (*Kubernetes) Capabilities ¶
func (*Kubernetes) Capabilities(context.Context, spec.Target) (model.Capabilities, error)
func (*Kubernetes) Destroy ¶
func (k *Kubernetes) Destroy(ctx context.Context, p *plan.Plan, st *state.Store, opts provider.DestroyOptions) error
func (*Kubernetes) Logs ¶
func (k *Kubernetes) Logs(ctx context.Context, ref provider.ServiceRef, opts provider.LogOptions) (io.ReadCloser, error)
func (*Kubernetes) Operations ¶
func (*Kubernetes) Preflight ¶
func (k *Kubernetes) Preflight(ctx context.Context, d *model.Deployment) error
func (*Kubernetes) Render ¶
func (k *Kubernetes) Render(ctx context.Context, d *model.Deployment) (*render.Bundle, error)
func (*Kubernetes) SnapshotIDs ¶
func (k *Kubernetes) SnapshotIDs(ctx context.Context, d *model.Deployment) (map[string][]string, error)
func (*Kubernetes) Validate ¶
func (*Kubernetes) Validate(_ context.Context, d *model.Deployment) output.Diagnostics
Click to show internal directories.
Click to hide internal directories.