Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProtocolSeparator = "://" LakeFSProtocol = "lakefs" RefSeparator = '@' PathSeparator = '/' )
Variables ¶
Functions ¶
func ValidatePathURI ¶
func ValidateRefURI ¶
func ValidateRepoURI ¶
Types ¶
type URI ¶
type URI struct { // Protocol must always match "lakefs" to be considered valid Protocol string // 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 (*URI) IsFullyQualified ¶
func (*URI) IsRepository ¶
Click to show internal directories.
Click to hide internal directories.