resource

package
v0.12.1-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractFromMetadata

func ExtractFromMetadata(ctx context.Context, key string) ([]string, bool)

func GetDefinitionID

func GetDefinitionID(name string) (string, error)

func GetID

func GetID(name string) (string, error)

func GetModelInstanceID

func GetModelInstanceID(name string) (string, string, error)

func GetModelInstanceIDFromOperationID

func GetModelInstanceIDFromOperationID(operationID string) (string, uuid.UUID, uuid.UUID, error)

func GetOperationID

func GetOperationID(name string) (string, error)

func GetOwner

func GetOwner(ctx context.Context) (string, error)

func GetOwnerFromHeader

func GetOwnerFromHeader(r *http.Request) (string, error)

func GetPermalinkUID

func GetPermalinkUID(permalink string) (string, error)

GetPermalinkUID returns the resource UID given a resource permalink

func GetUserNameByUid

func GetUserNameByUid(uid string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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