push

package
v0.0.0-...-4926e8e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL