package
0.0.0-20210304063537-dd22d64e2b96
Repository: https://github.com/luids-io/api.git
Documentation: pkg.go.dev
# Functions
Canonicalize returns true if the name is of the resource type and returns a string with name canonicalized to the resource type.
ClearResourceDups returns an ordered array (if doShort) with duplicate and invalid resource items removed.
DoValidation validates the name and the resource type, and canonicalizes de name.
ResourceType tries to guess the resource type of the string passed.
ToResource returns the resource type from its string representation.
ValidResource returns true if the name is of the resource type.
# Constants
List of valid resources at the current time.
List of valid resources at the current time.
List of valid resources at the current time.
List of valid resources at the current time.
NeverCache is a special value for TTL.
List of valid resources at the current time.
List of valid resources at the current time.
# Variables
Some standard errors returned by interfaces.
Some standard errors returned by interfaces.
Some standard errors returned by interfaces.
Some standard errors returned by interfaces.
Some standard errors returned by interfaces.
Resources is an ordered vector that constains all valid resource values.
# Interfaces
Checker is the interface for check lists.
# Type aliases
Resource stores the type of resource used by the RBLs.