configuration

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAssetStoreFromConfiguration

func NewAssetStoreFromConfiguration(
	configuration *pb.AssetCacheConfiguration,
	contentAddressableStorage *blobstore_configuration.BlobAccessInfo,
	grpcClientFactory grpc.ClientFactory,
	maximumMessageSizeBytes int,
	dependenciesGroup program.Group,
	fetchAuthorizer auth.Authorizer,
	pushAuthorizer auth.Authorizer,
) (storage.AssetStore, error)

NewAssetStoreFromConfiguration creates an Asset Store from a configuration and CAS

func NewFetcherFromConfiguration

func NewFetcherFromConfiguration(configuration *pb.FetcherConfiguration,
	assetStore storage.AssetStore,
	contentAddressableStorage blobstore.BlobAccess,
	grpcClientFactory grpc.ClientFactory,
	maximumMessageSizeBytes int,
	authorizer auth.Authorizer,
) (fetch.Fetcher, error)

NewFetcherFromConfiguration creates a new Remote Asset API Fetch server from a jsonnet configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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