Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions framework/provisioning/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ type Request struct {
r *protocol.ToolRequest
}

// XXX remove Tool when all the uses are gone.
type Tool interface {
StackHandler
}

type AllHandlers interface {
StackHandler

Expand Down Expand Up @@ -74,12 +69,6 @@ func Handle(h *Handlers) {
}
}

func HandleInvoke(f InvokeFunc) {
h := NewHandlers()
h.Any().HandleInvoke(f)
Handle(h)
}

func handleRequest(ctx context.Context, req *protocol.ToolRequest, handlers AllHandlers) (*protocol.ToolResponse, error) {
br := Request{r: req, Snapshots: map[string]fs.FS{}}

Expand Down
Loading