 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func BatchPlacement(batchName string) string
- func BatchPlacementCompile(name string, src string) (*starlark.Program, error)
- func BatchPlacementProgram(loader *scriptlet.Loader, batchName string) (*starlark.Program, *starlark.Thread, error)
- func BatchPlacementRun(ctx context.Context, loader *scriptlet.Loader, instance api.Instance, ...) (*api.Placement, error)
- func BatchPlacementSet(loader *scriptlet.Loader, src string, batchName string) error
- func BatchPlacementValidate(src string, batchName string) error
- func CreateLogger(l *slog.Logger, name string) ...
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchPlacement ¶
BatchPlacement is the name used in Starlark for the batch placement scriptlet.
func BatchPlacementCompile ¶
BatchPlacementCompile compiles the batch placement scriptlet.
func BatchPlacementProgram ¶
func BatchPlacementProgram(loader *scriptlet.Loader, batchName string) (*starlark.Program, *starlark.Thread, error)
BatchPlacementProgram returns the precompiled batch placement scriptlet program.
func BatchPlacementRun ¶
func BatchPlacementSet ¶
BatchPlacementSet compiles the batch placement scriptlet into memory for use with BatchPlacementRun. If empty src is provided the current program is deleted.
func BatchPlacementValidate ¶
BatchPlacementValidate validates the batch placement scriptlet.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.