MCPcopy
hub / github.com/apptainer/apptainer / Service

Interface Service

internal/pkg/remote/endpoint/service.go:64–71  ·  view source on GitHub ↗

Service represents a remote service, accessible at Service.URI

Source from the content-addressed store, hash-verified

62
63// Service represents a remote service, accessible at Service.URI
64type Service interface {
65 // URI returns the URI used to access the remote service.
66 URI() string
67 // Status returns the status of the remote service, if supported.
68 Status() (string, error)
69 // configKey returns the value of a requested configuration key, if set.
70 configVal(string) string
71}
72
73type service struct {
74 // cfg holds the serializable service configuration.

Callers 6

GetServiceURIMethod · 0.65
VerifyTokenMethod · 0.65
doStatusCheckFunction · 0.65
runActionScriptFunction · 0.65
doStatusCheckFunction · 0.65
getServiceConfigValMethod · 0.65

Implementers 1

serviceinternal/pkg/remote/endpoint/service.g

Calls

no outgoing calls

Tested by

no test coverage detected