Documentation
¶
Index ¶
- Variables
- type Factory
- func (f *Factory) GetOrCreateProvider(ctx op.Context) op.ContextProvider
- func (f *Factory) NewPlanning(graph *op.Graph, project string, registry *op.ActionRegistry) starlark.Value
- func (f *Factory) ProviderType() reflect.Type
- func (f *Factory) ReceiverName() string
- func (f *Factory) Register(registry *op.ActionRegistry, ctx op.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var Params = op.MethodParams{
"Root": {},
"Backup": {"path", "backup_suffix"},
"Copy": {"source_file", "destination_filename", "destination_file_mode"},
"Link": {"source", "path"},
"Move": {"source", "destination"},
"Remove": {"path", "prune", "boundary"},
"RemoveAll": {"path", "prune", "boundary"},
"Unlink": {"path", "prune", "boundary"},
"WalkTree": {"root?", "fn", "honor_gitignore?"},
"WriteBytes": {"destination", "content", "mode"},
"WriteText": {"destination", "content", "mode"},
"Exists": {"resource"},
"Glob": {"pattern", "honor_gitignore"},
"IsDir": {"resource"},
"IsFile": {"resource"},
"Mkdir": {"resource", "mode"},
"Read": {"path"},
"Join": {"*parts"},
"Name": {"path"},
"Parent": {"path"},
}
Params maps Go method names to Starlark parameter name lists.
View Source
var Receiver op.ReceiverFactory = &Factory{}
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func (*Factory) GetOrCreateProvider ¶
func (f *Factory) GetOrCreateProvider(ctx op.Context) op.ContextProvider
func (*Factory) NewPlanning ¶
func (*Factory) ProviderType ¶
func (*Factory) ReceiverName ¶
Click to show internal directories.
Click to hide internal directories.