factory

package module
v0.0.0-...-86a7441 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildConditionFromParams

func BuildConditionFromParams(ifMatch, ifNoneMatch *string) (*graveler.ConditionFunc, error)

BuildConditionFromParams creates a graveler.ConditionFunc from upload params. Returns nil if no precondition is specified in the params. Handles IfNoneMatch (must be "*") and IfMatch (ETag validation).

func NewIcebergSyncController

func NewIcebergSyncController(_ config.Config) icebergsync.Controller

func NotImplementedIcebergCatalogHandler

func NotImplementedIcebergCatalogHandler(w http.ResponseWriter, r *http.Request)

NotImplementedIcebergCatalogHandler returns HTTP 501 Not Implemented status for Iceberg REST Catalog endpoints.

func RegisterServices

func RegisterServices(ctx context.Context, sd ServiceDependencies, router *chi.Mux) error

Types

type ServiceDependencies

type ServiceDependencies struct {
	Config                config.Config
	AuthService           auth.Service
	Authenticator         auth.Authenticator
	AuthenticationService authentication.Service
	BlockAdapter          block.Adapter
	Collector             stats.Collector
	Logger                logging.Logger
	LicenseManager        license.Manager
}

Jump to

Keyboard shortcuts

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