package
0.40.0
Repository: https://github.com/radius-project/radius.git
Documentation: pkg.go.dev

# Packages

package aws defines utility functions and constants for working with AWS types and UCP resource IDs.
package azure defines utility functions and constants for working with Azure types and UCP resource IDs.
package kubernetes defines utility functions and constants for working with Kubernetes types and UCP resource IDs.
package radius defines utility functions and constants for working with Radius types and UCP resource IDs.

# Functions

ExtractPlanesPrefixFromURLPath splits a URL path into segments and checks if the first two segments are valid, returning the first two segments and the remainder of the URL path if valid, or an error if not.
IDEquals compares two IDs for equality.
MakeRelativeID makes a plane-relative resource ID (ARM style) from a slice of ScopeSegment and a variadic of TypeSegment..
MakeUCPID creates a fully-qualified UCP resource ID, from the given scopes and resource types.
MustParse parses a resource ID.
Parse parses a resource ID.
ParseByMethod is a helper function to extract the custom actions from the id.
ParseResource returns a parsed resource ID if the ID represents a named resource (not a collection or custom action).
ParseScope returns a parsed resource ID if the ID represents a named scope (not a collection or custom action).

# Constants

PlanesSegment is the segment the planes delimiter that distinguishes between UCP and ARM resource IDs.
ProvidersSegment is the segment that separates the scope from the resource type.
No description provided by the author
SegmentSeparator is the separator between segments in a resource ID.

# Structs

ID represents an ARM or UCP resource id.
KnownType represents a known resource type.
ScopeSegment represents one of the root-scope pairs of a resource ID.
TypeSegment represents one of the type/name pairs of a resource ID.