Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAssetPushServer ¶
func NewAssetPushServer(AssetStore storage.AssetStore, allowUpdatesForInstances map[digest.InstanceName]bool) remoteasset.PushServer
NewAssetPushServer creates a gRPC service for serving the contents of a Remote Asset Push server.
func NewErrorPushServer ¶
func NewErrorPushServer(err *protostatus.Status) remoteasset.PushServer
NewErrorPushServer creates a Remote Asset API Push service which simply returns a set gRPC status
func NewMetricsAssetPushServer ¶
func NewMetricsAssetPushServer(ps remoteasset.PushServer, clock clock.Clock, name string) remoteasset.PushServer
NewMetricsAssetPushServer wraps the PushServer to report prometheus metrics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.