Documentation
¶
Index ¶
- type Adapter
- func (a Adapter) ApplyInstall(ctx context.Context, in ports.ApplyInput) (ports.ApplyResult, error)
- func (a Adapter) ApplyRemove(ctx context.Context, in ports.ApplyInput) (ports.ApplyResult, error)
- func (a Adapter) ApplyUpdate(ctx context.Context, in ports.ApplyInput) (ports.ApplyResult, error)
- func (Adapter) Capabilities(context.Context) (ports.Capabilities, error)
- func (Adapter) ID() domain.TargetID
- func (a Adapter) Inspect(ctx context.Context, in ports.InspectInput) (ports.InspectResult, error)
- func (a Adapter) PlanInstall(_ context.Context, in ports.PlanInstallInput) (ports.AdapterPlan, error)
- func (a Adapter) PlanRemove(_ context.Context, in ports.PlanRemoveInput) (ports.AdapterPlan, error)
- func (a Adapter) PlanUpdate(_ context.Context, in ports.PlanUpdateInput) (ports.AdapterPlan, error)
- func (a Adapter) Repair(ctx context.Context, in ports.RepairInput) (ports.ApplyResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
FS ports.FileSystem
SafeMutator ports.SafeFileMutator
ProjectRoot string
UserHome string
}
func (Adapter) ApplyInstall ¶
func (a Adapter) ApplyInstall(ctx context.Context, in ports.ApplyInput) (ports.ApplyResult, error)
func (Adapter) ApplyRemove ¶
func (a Adapter) ApplyRemove(ctx context.Context, in ports.ApplyInput) (ports.ApplyResult, error)
func (Adapter) ApplyUpdate ¶
func (a Adapter) ApplyUpdate(ctx context.Context, in ports.ApplyInput) (ports.ApplyResult, error)
func (Adapter) Capabilities ¶
func (Adapter) Inspect ¶
func (a Adapter) Inspect(ctx context.Context, in ports.InspectInput) (ports.InspectResult, error)
func (Adapter) PlanInstall ¶
func (a Adapter) PlanInstall(_ context.Context, in ports.PlanInstallInput) (ports.AdapterPlan, error)
func (Adapter) PlanRemove ¶
func (a Adapter) PlanRemove(_ context.Context, in ports.PlanRemoveInput) (ports.AdapterPlan, error)
func (Adapter) PlanUpdate ¶
func (a Adapter) PlanUpdate(_ context.Context, in ports.PlanUpdateInput) (ports.AdapterPlan, error)
func (Adapter) Repair ¶
func (a Adapter) Repair(ctx context.Context, in ports.RepairInput) (ports.ApplyResult, error)
Click to show internal directories.
Click to hide internal directories.