Help us shape the future of Go! Take the 2026 Go Developer Survey

paths

package
v1.41.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateResourceURI

func CreateResourceURI(resourceType string, path string, suffix string, trailingSlash bool, queryTerms map[string]string) string

func CreateURI

func CreateURI(path string, queryTerms map[string]string) string

func GetAPIVersion

func GetAPIVersion() string

func GetDomain

func GetDomain() string

func GetPort

func GetPort() string

func GetResourceURIFromResourcePath

func GetResourceURIFromResourcePath(resourceType string, path string, id string, suffix string, queryTerms map[string]string) (string, *errors.ApiError)

func GetURIPathFromInternalPath

func GetURIPathFromInternalPath(internalPath string) string

func ProcessResource

func ProcessResource(resource string) string

ProcessResource converts a slash-delimited resource path into a colon-delimited resource path. The resource is any name, like user name, role name, group name, etc.

Types

This section is empty.

Jump to

Keyboard shortcuts

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