apiutil

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LakeFSHeaderInternalPrefix = "x-lakefs-internal-"
	LakeFSHeaderMetadataPrefix = "x-lakefs-meta-"
)
View Source
const BaseURL = "/api/v1"
View Source
const LakeFSMetadataPrefix = "::lakefs::"

Variables

This section is empty.

Functions

func IsStatusCodeOK

func IsStatusCodeOK(statusCode int) bool

func NormalizeLakeFSEndpoint

func NormalizeLakeFSEndpoint(endpoint string) (string, error)

NormalizeLakeFSEndpoint verify and return the endpoint for the lakeFS server

func Ptr

func Ptr[T any](val T) *T

func Value

func Value[T any](ptr *T) T

Types

This section is empty.

Jump to

Keyboard shortcuts

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