Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get[T any](c ConfigIface, path ...string) (value T)
Types ¶
type ConfigIface ¶
ConfigIface is used in the ops for accessing the root of a resource
type ErrorWrapper ¶
ErrorWrapper is used to wrap "sync failed with %s" to "on application `name`; sync failed with"
type Op ¶
type Op func(ConfigIface) []*seer.Query
type Resource ¶
type Resource struct {
ResourceIface
Root RootMethod
Config RootMethod
// contains filtered or unexported fields
}
Resource contains the default methods, they can be overridden on the resource itself or
type ResourceGetter ¶
type ResourceIface ¶
type RootMethod ¶
RootMethod returns a query for the root location of a resource
Click to show internal directories.
Click to hide internal directories.