Documentation ¶
Index ¶
Constants ¶
View Source
const ( LakeFSSchema = "lakefs" LakeFSSchemaSeparator = "://" PathSeparator = "/" )
Variables ¶
Functions ¶
Types ¶
type URI ¶
type URI struct { // Repository is the name of the repository being addressed Repository string // Ref represents the reference in the repository (commit, tag, branch, etc.) Ref string // Path is a path to an object (or prefix of such) in lakeFS. It *could* be null since there's a difference between // an empty path ("lakefs://repo/branch/", and no path at all e.g. "lakefs://repo/branch"). // Since path is the only URI part that is allowed to be empty, it is represented as a pointer. Path *string }
func ParseWithBaseURI ¶ added in v0.40.0
ParseWithBaseURI parse URI uses base URI as prefix when set and input doesn't start with lakeFS protocol
func (*URI) ValidateBranch ¶ added in v1.1.0
func (*URI) ValidateFullyQualified ¶ added in v1.1.0
func (*URI) ValidateRef ¶ added in v1.1.0
func (*URI) ValidateRepository ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.