package
5.21.5+incompatible
Repository: https://github.com/sensu/sensu-go.git
Documentation: pkg.go.dev
# Functions
Decode parses, looks up decoder & decodes given ID.
DefaultEncoder is the default implementation of Encode.
NewEventComponents instantiates new EventComponents composite.
NewRegister instatiates new register.
NewRegistrar instatiates new registrar.
Parse takes a global ID string, decodes it and returns it's components.
# Variables
AssetTranslator global ID resource.
CheckTranslator global ID resource.
ClusterRoleBindingTranslator global ID resource.
ClusterRoleTranslator global ID resource.
Encode produces a globalid components for a given resource.
EntityTranslator global ID resource.
EventFilterTranslator global ID resource.
EventTranslator global ID resource.
HandlerTranslator global ID resource.
HookTranslator global ID resource.
Lookup given ID components return applicable encoder.
MutatorTranslator global ID resource.
NamespaceTranslator global ID resource.
No description provided by the author
ReverseLookup finds Encoder capable of encoding record as global ID.
RoleBindingTranslator global ID resource.
RoleTranslator global ID resource.
SilenceTranslator global ID resource.
UserTranslator global ID resource.
# Structs
EventComponents adds methods to easily access unique elements of event.
NamedComponents adds Name method that returns first element of global ID's uniqueComponents.
A Register holds resource definitions for easy lookup.
A Registrar is used to register new resources.
StandardComponents describes the standard components of a global identifier.
# Interfaces
Components describes the components of a global identifier.
A Decoder can decode global IDs for a specific resource.
An Encoder can encode global IDs for a specific resource.
A Translator represents something that is globally identifable.
No description provided by the author
# Type aliases
No description provided by the author