MCPcopy
hub / github.com/portainer/portainer / ServiceTx

Struct ServiceTx

api/dataservices/stack/tx.go:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type ServiceTx struct {
13 dataservices.BaseDataServiceTx[portainer.Stack, portainer.StackID]
14}
15
16// StackByName returns a stack object by name.
17func (service ServiceTx) StackByName(name string) (*portainer.Stack, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected