Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager interface {
GetNamespaceByName(ctx context.Context, name string) (*Namespace, error)
// Deprecated: Use GetNamespaceByName instead.
GetNamespaceByConfigID(ctx context.Context, id int32) (*Namespace, error)
Namespaces(ctx context.Context) ([]*Namespace, error)
ShouldReload(newValue interface{}) bool
}
type ManagerProvider ¶
type Namespace ¶
type Namespace struct {
// Deprecated: Only use the Name instead.
ID int32 `json:"id" db:"-" toml:"id"`
// The unique name of the namespace.
Name string `json:"name" db:"-" toml:"name"`
Config json.RawMessage `json:"config,omitempty" db:"-" toml:"config,omitempty"`
Relations []ast.Relation `json:"-" db:"-"`
}
Click to show internal directories.
Click to hide internal directories.