Versions in this module Expand all Collapse all v0 v0.8.0 Jul 9, 2026 Changes in this version + var OpJDDeleteJob = fwops.NewOperation("jd-delete-job", semver.MustParse("1.0.0"), "Delete a job", ...) + var OpJDDisableNode = fwops.NewOperation("jd-disable-node", semver.MustParse("1.0.0"), "Disable a node by CSA key", ...) + var OpJDProposeJob = fwops.NewOperation("jd-propose-job", semver.MustParse("1.0.0"), ...) + var OpJDRegisterNode = fwops.NewOperation("jd-register-node", semver.MustParse("1.0.0"), "Register a node", ...) + var OpJDRevokeJob = fwops.NewOperation("jd-revoke-job", semver.MustParse("1.0.0"), "Revoke a job", ...) + var OpJDUpdateNode = fwops.NewOperation("jd-update-node", semver.MustParse("1.0.0"), ...) + var SeqJDDeleteJobs = fwops.NewSequence("seq-jd-delete-jobs", semver.MustParse("1.0.0"), "Delete multiple jobs", ...) + var SeqJDDisableNodes = fwops.NewSequence("seq-jd-disable-nodes", semver.MustParse("1.0.0"), ...) + var SeqJDProposeJobs = fwops.NewSequence("seq-jd-propose-jobs", semver.MustParse("1.0.0"), "Propose multiple job specs", ...) + var SeqJDRegisterNodes = fwops.NewSequence("seq-jd-register-nodes", semver.MustParse("1.0.0"), "Register multiple nodes", ...) + var SeqJDRevokeJobs = fwops.NewSequence("seq-jd-revoke-jobs", semver.MustParse("1.0.0"), "Revoke multiple jobs", ...) + var SeqJDUpdateNodes = fwops.NewSequence("seq-jd-update-nodes", semver.MustParse("1.0.0"), "Update multiple nodes", ...) + func ListNodeByPublicKey(ctx context.Context, svc nodev1.NodeServiceClient, csaKey string) (*nodev1.Node, error) + type DeleteJobInput struct + JobID string + type DeleteJobOutput struct + type DeleteJobsInput struct + JobIDs []string + type DeleteJobsOutput struct + DeletedJobIDs []string + type DisableNodeInput struct + CSAKey string + type DisableNodeOutput struct + NodeID string + Skipped bool + type DisableNodesInput struct + CSAKeys []string + type DisableNodesOutput struct + DisabledNodeIDs []string + SkippedCSAKeys []string + type JDOpDeps struct + EnvName string + Offchain foffchain.Client + type JobSpec struct + JobLabels map[string]string + JobspecTOML string + NodeLabels map[string]string + type NodeToRegister struct + CSAKey string + IsBootstrap bool + Labels map[string]string + Name string + type NodeToUpdate struct + CSAKey string + ID string + Labels map[string]string + Name string + type ProposeJobInput struct + Domain string + JobLabels map[string]string + JobspecTOML string + NodeLabels map[string]string + type ProposeJobOutput struct + type ProposeJobsInput struct + Domain string + Jobs []JobSpec + type ProposeJobsOutput struct + type RegisterNodeInput struct + CSAKey string + Domain string + IsBootstrap bool + Labels map[string]string + Name string + type RegisterNodeOutput struct + NodeID string + Skipped bool + type RegisterNodesInput struct + Domain string + Nodes []NodeToRegister + type RegisterNodesOutput struct + RegisteredNodeIDs []string + SkippedNodeIDs []string + type RevokeJobInput struct + JobID string + type RevokeJobOutput struct + AlreadyAbsent bool + type RevokeJobsInput struct + JobIDs []string + type RevokeJobsOutput struct + AlreadyAbsentJobIDs []string + RevokedJobIDs []string + type UpdateNodeInput struct + CSAKey string + ID string + Labels map[string]string + Name string + type UpdateNodeOutput struct + NodeID string + type UpdateNodesInput struct + Nodes []NodeToUpdate + type UpdateNodesOutput struct + UpdatedNodeIDs []string