package
0.0.0-20230628214157-3bfe64699e82
Repository: https://github.com/gravitational/gravity.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
ForEach interprets the given reader r as a collection of Gravity resources and invokes the specified handler for each resource in the list.
NewControl creates a new resource control instance.
Split interprets the given reader r as a list of resources and splits them in two groups: Kubernetes and Gravity resources.
# Structs
CreateRequest describes a request to create a resource.
ListRequest describes a request to list resources.
RemoveRequest describes a request to remove a resource.
ResourceControl allows to create/list/remove resources
A list of supported resources is determined by the specific controller it is initialized with.
# Interfaces
Collection represents printable collection of resources that can serialize itself into various format.
Resources defines methods each specific resource controller should implement
The reason it exists is because gravity and tele CLI tools each support their own set of resources.
Validator is a service to validate resources.
# Type aliases
ResourceFunc is a callback that operates on a Gravity resource.
ValidateFunc is a resource validator implemented as a single function.