Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Injector ¶
type Injector struct {
// contains filtered or unexported fields
}
Injector injects seed data into a workspace.
func NewInjector ¶
NewInjector creates a new Injector backed by the given store. Pass a non-nil k8sClient to enable virtual peer (node) injection.
type Options ¶
type Options struct {
VirtualNodes int // default 8
HistoryDays int // default 7
AuditEntries int // default 20
}
Options controls the volume of seed data injected into a new workspace.
func DefaultOptions ¶
func DefaultOptions() Options
DefaultOptions returns the standard seed volume.
Click to show internal directories.
Click to hide internal directories.