Documentation ¶
Index ¶
- func ExtractFromMetadata(ctx context.Context, key string) ([]string, bool)
- func GetDefinitionID(name string) (string, error)
- func GetID(name string) (string, error)
- func GetModelID(name string) (string, error)
- func GetOperationID(name string) (string, error)
- func GetOwner(ctx context.Context, client mgmtPB.MgmtPrivateServiceClient) (*mgmtPB.User, error)
- func GetOwnerCustom(req *http.Request, client mgmtPB.MgmtPrivateServiceClient) (*mgmtPB.User, error)
- func GetPermalinkUID(permalink string) (string, error)
- func GetRequestSingleHeader(ctx context.Context, header string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractFromMetadata ¶
ExtractFromMetadata extracts context metadata given a key
func GetDefinitionID ¶
func GetModelID ¶
func GetOperationID ¶
func GetOwnerCustom ¶
func GetOwnerCustom(req *http.Request, client mgmtPB.MgmtPrivateServiceClient) (*mgmtPB.User, error)
GetOwnerCustom returns the resource owner from a request
func GetPermalinkUID ¶
GetPermalinkUID returns the resource UID given a resource permalink
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.