Documentation ¶
Index ¶
- func ExtractFromMetadata(ctx context.Context, key string) ([]string, bool)
- func GetCollectionID(name string) (string, error)
- func GetOwner(ctx context.Context) (string, error)
- func GetPermalinkUID(permalink string) (string, error)
- func GetRscNameID(name string) (string, error)
- func IsGWProxied(ctx context.Context) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractFromMetadata ¶
ExtractFromMetadata extracts context metadata given a key
func GetCollectionID ¶
GetCollectionID returns the resource collection ID given a resource name
func GetPermalinkUID ¶
GetPermalinkUID returns the resource UID given a resource permalink
func GetRscNameID ¶
GetRscNameID returns the resource ID given a resource name
func IsGWProxied ¶
IsGWProxied returns true if it has grpcgateway-user-agent header, otherwise, returns false
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.