Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ForgeObjectTypeIDs = []string{ forge_cluster.ClusterTypeID, forge_job.JobTypeID, forge_task.TaskTypeID, forge_pass.PassTypeID, forge_execution.ExecutionTypeID, forge_worker.WorkerTypeID, }
The world is used for managing objects, i.e.: Cluster, Job, Target, Task, Pass, Execution
View Source
var LookupWorldOp world.LookupOp = world.NewLookupOpFromSlice([]world.LookupOp{ forge_execution_tx.LookupWorldOp, forge_pass_tx.LookupWorldOp, forge_worker.LookupWorkerOp, forge_cluster.LookupClusterOp, })
LookupWorldOp looks up the operation with the type id.
Functions ¶
func ListKeypairObjects ¶
func ListKeypairObjects(ctx context.Context, w world.WorldState, keypairKeys ...string) ([]string, error)
ListKeypairObjects lists all Forge objects linked to by the Keypair. returns: Cluster, Pass, Task, Execution returns list of object keys
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.