MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Save

Method Save

service/upstream/service.go:13–13  ·  view source on GitHub ↗
(ctx context.Context, upstream *SaveUpstream)

Source from the content-addressed store, hash-verified

11type IUpstreamService interface {
12 Get(ctx context.Context, id string) (*Upstream, error)
13 Save(ctx context.Context, upstream *SaveUpstream) error
14 Delete(ctx context.Context, id string) error
15 List(ctx context.Context, serviceIds ...string) ([]*Upstream, error)
16 LatestCommit(ctx context.Context, uid string, clusterId string) (*commit.Commit[Config], error)

Callers 2

SaveCommitMethod · 0.65
SaveMethod · 0.65

Implementers 1

imlUpstreamServiceservice/upstream/iml.go

Calls

no outgoing calls

Tested by

no test coverage detected