goq

package
v1.4.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobMsg

type JobMsg uint16
const (
	JOBMSG_INITIALSUBMIT     JobMsg = 0
	JOBMSG_ACKSUBMIT         JobMsg = 1
	JOBMSG_REQUESTFORWORK    JobMsg = 2
	JOBMSG_DELEGATETOWORKER  JobMsg = 3
	JOBMSG_SHUTDOWNWORKER    JobMsg = 4
	JOBMSG_ACKSHUTDOWNWORKER JobMsg = 5
	JOBMSG_FINISHEDWORK      JobMsg = 6
	JOBMSG_ACKFINISHED       JobMsg = 7
	JOBMSG_SHUTDOWNSERV      JobMsg = 8
	JOBMSG_ACKSHUTDOWNSERV   JobMsg = 9
	JOBMSG_CANCELWIP         JobMsg = 10
	JOBMSG_ACKCANCELWIP      JobMsg = 11
	JOBMSG_CANCELSUBMIT      JobMsg = 12
	JOBMSG_ACKCANCELSUBMIT   JobMsg = 13
	JOBMSG_TAKESNAPSHOT      JobMsg = 14
	JOBMSG_ACKTAKESNAPSHOT   JobMsg = 15
	JOBMSG_RESUBMITNOACK     JobMsg = 16
	JOBMSG_REJECTBADSIG      JobMsg = 17
	JOBMSG_OBSERVEJOBFINISH  JobMsg = 18
	JOBMSG_JOBFINISHEDNOTICE JobMsg = 19
	JOBMSG_JOBNOTKNOWN       JobMsg = 20
	JOBMSG_IMMOLATEAWORKERS  JobMsg = 21
	JOBMSG_IMMOLATEACK       JobMsg = 22
	JOBMSG_PINGWORKER        JobMsg = 23
	JOBMSG_ACKPINGWORKER     JobMsg = 24
	JOBMSG_OBSERVEJOBACK     JobMsg = 25
	JOBMSG_RESETSERVER       JobMsg = 26
	JOBMSG_RESETSERVER_ACK   JobMsg = 27
)

func JobMsgFromString

func JobMsgFromString(c string) JobMsg

func (JobMsg) MarshalCapLit added in v1.3.0

func (s JobMsg) MarshalCapLit() ([]byte, error)

func (JobMsg) MarshalJSON

func (s JobMsg) MarshalJSON() ([]byte, error)

func (JobMsg) String

func (c JobMsg) String() string

func (JobMsg) WriteCapLit added in v1.3.0

func (s JobMsg) WriteCapLit(w io.Writer) error

func (JobMsg) WriteJSON added in v1.3.0

func (s JobMsg) WriteJSON(w io.Writer) error

type JobMsg_List

type JobMsg_List C.PointerList

func NewJobMsgList

func NewJobMsgList(s *C.Segment, sz int) JobMsg_List

func (JobMsg_List) At

func (s JobMsg_List) At(i int) JobMsg

func (JobMsg_List) Len

func (s JobMsg_List) Len() int

func (JobMsg_List) Set added in v1.3.0

func (s JobMsg_List) Set(i int, item JobMsg)

func (JobMsg_List) ToArray

func (s JobMsg_List) ToArray() []JobMsg

type Z

type Z C.Struct

func AutoNewZ

func AutoNewZ(s *C.Segment) Z

func NewRootZ

func NewRootZ(s *C.Segment) Z

func NewZ

func NewZ(s *C.Segment) Z

func ReadRootZ

func ReadRootZ(s *C.Segment) Z

func (Z) Goqserver

func (s Z) Goqserver() Zgoqserver

func (Z) Job

func (s Z) Job() Zjob

func (Z) MarshalCapLit added in v1.3.0

func (s Z) MarshalCapLit() ([]byte, error)

func (Z) MarshalJSON

func (s Z) MarshalJSON() ([]byte, error)

func (Z) Nothing

func (s Z) Nothing() int64

func (Z) SetGoqserver

func (s Z) SetGoqserver(v Zgoqserver)

func (Z) SetJob

func (s Z) SetJob(v Zjob)

func (Z) SetNothing

func (s Z) SetNothing(v int64)

func (Z) Which

func (s Z) Which() Z_Which

func (Z) WriteCapLit added in v1.3.0

func (s Z) WriteCapLit(w io.Writer) error

func (Z) WriteJSON added in v1.3.0

func (s Z) WriteJSON(w io.Writer) error

type Z_List

type Z_List C.PointerList

func NewZList

func NewZList(s *C.Segment, sz int) Z_List

func (Z_List) At

func (s Z_List) At(i int) Z

func (Z_List) Len

func (s Z_List) Len() int

func (Z_List) Set

func (s Z_List) Set(i int, item Z)

func (Z_List) ToArray

func (s Z_List) ToArray() []Z

type Z_Which

type Z_Which uint16
const (
	Z_NOTHING   Z_Which = 0
	Z_JOB       Z_Which = 1
	Z_GOQSERVER Z_Which = 2
)

type Zgoqserver

type Zgoqserver C.Struct

func AutoNewZgoqserver

func AutoNewZgoqserver(s *C.Segment) Zgoqserver

func NewRootZgoqserver

func NewRootZgoqserver(s *C.Segment) Zgoqserver

func NewZgoqserver

func NewZgoqserver(s *C.Segment) Zgoqserver

func ReadRootZgoqserver

func ReadRootZgoqserver(s *C.Segment) Zgoqserver

func (Zgoqserver) Badnoncecount

func (s Zgoqserver) Badnoncecount() int64

func (Zgoqserver) Badsgtcount

func (s Zgoqserver) Badsgtcount() int64

func (Zgoqserver) Cancelledjobcount

func (s Zgoqserver) Cancelledjobcount() int64

func (Zgoqserver) Finishedjobs

func (s Zgoqserver) Finishedjobs() Zjob_List

func (Zgoqserver) Finishedjobscount

func (s Zgoqserver) Finishedjobscount() int64

func (Zgoqserver) MarshalCapLit added in v1.3.0

func (s Zgoqserver) MarshalCapLit() ([]byte, error)

func (Zgoqserver) MarshalJSON

func (s Zgoqserver) MarshalJSON() ([]byte, error)

func (Zgoqserver) Nextjobid

func (s Zgoqserver) Nextjobid() int64

func (Zgoqserver) Runq

func (s Zgoqserver) Runq() Zjob_List

func (Zgoqserver) SetBadnoncecount

func (s Zgoqserver) SetBadnoncecount(v int64)

func (Zgoqserver) SetBadsgtcount

func (s Zgoqserver) SetBadsgtcount(v int64)

func (Zgoqserver) SetCancelledjobcount

func (s Zgoqserver) SetCancelledjobcount(v int64)

func (Zgoqserver) SetFinishedjobs

func (s Zgoqserver) SetFinishedjobs(v Zjob_List)

func (Zgoqserver) SetFinishedjobscount

func (s Zgoqserver) SetFinishedjobscount(v int64)

func (Zgoqserver) SetNextjobid

func (s Zgoqserver) SetNextjobid(v int64)

func (Zgoqserver) SetRunq

func (s Zgoqserver) SetRunq(v Zjob_List)

func (Zgoqserver) SetWaitingjobs

func (s Zgoqserver) SetWaitingjobs(v Zjob_List)

func (Zgoqserver) Waitingjobs

func (s Zgoqserver) Waitingjobs() Zjob_List

func (Zgoqserver) WriteCapLit added in v1.3.0

func (s Zgoqserver) WriteCapLit(w io.Writer) error

func (Zgoqserver) WriteJSON added in v1.3.0

func (s Zgoqserver) WriteJSON(w io.Writer) error

type Zgoqserver_List

type Zgoqserver_List C.PointerList

func NewZgoqserverList

func NewZgoqserverList(s *C.Segment, sz int) Zgoqserver_List

func (Zgoqserver_List) At

func (s Zgoqserver_List) At(i int) Zgoqserver

func (Zgoqserver_List) Len

func (s Zgoqserver_List) Len() int

func (Zgoqserver_List) Set

func (s Zgoqserver_List) Set(i int, item Zgoqserver)

func (Zgoqserver_List) ToArray

func (s Zgoqserver_List) ToArray() []Zgoqserver

type Zjob

type Zjob C.Struct

func AutoNewZjob

func AutoNewZjob(s *C.Segment) Zjob

func NewRootZjob

func NewRootZjob(s *C.Segment) Zjob

func NewZjob

func NewZjob(s *C.Segment) Zjob

func ReadRootZjob

func ReadRootZjob(s *C.Segment) Zjob

func (Zjob) Aboutjid

func (s Zjob) Aboutjid() int64

func (Zjob) Args

func (s Zjob) Args() C.TextList

func (Zjob) Arrayid

func (s Zjob) Arrayid() int64

func (Zjob) Cancelled

func (s Zjob) Cancelled() bool

func (Zjob) Cmd

func (s Zjob) Cmd() string

func (Zjob) CmdBytes added in v1.3.0

func (s Zjob) CmdBytes() []byte

func (Zjob) Cmdopts

func (s Zjob) Cmdopts() uint64

func (Zjob) Delegatetm

func (s Zjob) Delegatetm() int64

func (Zjob) Dir

func (s Zjob) Dir() string

func (Zjob) DirBytes added in v1.3.0

func (s Zjob) DirBytes() []byte

func (Zjob) Elapsec

func (s Zjob) Elapsec() int64

func (Zjob) Env

func (s Zjob) Env() C.TextList

func (Zjob) Err

func (s Zjob) Err() string

func (Zjob) ErrBytes added in v1.3.0

func (s Zjob) ErrBytes() []byte

func (Zjob) Etm

func (s Zjob) Etm() int64

func (Zjob) Finishaddr

func (s Zjob) Finishaddr() C.TextList

func (Zjob) Groupid

func (s Zjob) Groupid() int64

func (Zjob) Haderror

func (s Zjob) Haderror() bool

func (Zjob) HomeOnSubmitter added in v1.3.0

func (s Zjob) HomeOnSubmitter() string

func (Zjob) HomeOnSubmitterBytes added in v1.3.0

func (s Zjob) HomeOnSubmitterBytes() []byte

func (Zjob) Host

func (s Zjob) Host() string

func (Zjob) HostBytes added in v1.3.0

func (s Zjob) HostBytes() []byte

func (Zjob) Id

func (s Zjob) Id() int64

func (Zjob) Islocal

func (s Zjob) Islocal() bool

func (Zjob) Lastpingtm

func (s Zjob) Lastpingtm() int64

func (Zjob) MarshalCapLit added in v1.3.0

func (s Zjob) MarshalCapLit() ([]byte, error)

func (Zjob) MarshalJSON

func (s Zjob) MarshalJSON() ([]byte, error)

func (Zjob) Maxshow

func (s Zjob) Maxshow() int64

func (Zjob) Msg

func (s Zjob) Msg() JobMsg

func (Zjob) Out

func (s Zjob) Out() C.TextList

func (Zjob) Pid

func (s Zjob) Pid() int64

func (Zjob) Sendernonce

func (s Zjob) Sendernonce() int64

func (Zjob) Sendtime

func (s Zjob) Sendtime() int64

func (Zjob) Serveraddr

func (s Zjob) Serveraddr() string

func (Zjob) ServeraddrBytes added in v1.3.0

func (s Zjob) ServeraddrBytes() []byte

func (Zjob) SetAboutjid

func (s Zjob) SetAboutjid(v int64)

func (Zjob) SetArgs

func (s Zjob) SetArgs(v C.TextList)

func (Zjob) SetArrayid

func (s Zjob) SetArrayid(v int64)

func (Zjob) SetCancelled

func (s Zjob) SetCancelled(v bool)

func (Zjob) SetCmd

func (s Zjob) SetCmd(v string)

func (Zjob) SetCmdopts

func (s Zjob) SetCmdopts(v uint64)

func (Zjob) SetDelegatetm

func (s Zjob) SetDelegatetm(v int64)

func (Zjob) SetDir

func (s Zjob) SetDir(v string)

func (Zjob) SetElapsec

func (s Zjob) SetElapsec(v int64)

func (Zjob) SetEnv

func (s Zjob) SetEnv(v C.TextList)

func (Zjob) SetErr

func (s Zjob) SetErr(v string)

func (Zjob) SetEtm

func (s Zjob) SetEtm(v int64)

func (Zjob) SetFinishaddr

func (s Zjob) SetFinishaddr(v C.TextList)

func (Zjob) SetGroupid

func (s Zjob) SetGroupid(v int64)

func (Zjob) SetHaderror

func (s Zjob) SetHaderror(v bool)

func (Zjob) SetHomeOnSubmitter added in v1.3.0

func (s Zjob) SetHomeOnSubmitter(v string)

func (Zjob) SetHost

func (s Zjob) SetHost(v string)

func (Zjob) SetId

func (s Zjob) SetId(v int64)

func (Zjob) SetIslocal

func (s Zjob) SetIslocal(v bool)

func (Zjob) SetLastpingtm

func (s Zjob) SetLastpingtm(v int64)

func (Zjob) SetMaxshow

func (s Zjob) SetMaxshow(v int64)

func (Zjob) SetMsg

func (s Zjob) SetMsg(v JobMsg)

func (Zjob) SetOut

func (s Zjob) SetOut(v C.TextList)

func (Zjob) SetPid

func (s Zjob) SetPid(v int64)

func (Zjob) SetSendernonce

func (s Zjob) SetSendernonce(v int64)

func (Zjob) SetSendtime

func (s Zjob) SetSendtime(v int64)

func (Zjob) SetServeraddr

func (s Zjob) SetServeraddr(v string)

func (Zjob) SetSignature

func (s Zjob) SetSignature(v string)

func (Zjob) SetStatus

func (s Zjob) SetStatus(v string)

func (Zjob) SetStm

func (s Zjob) SetStm(v int64)

func (Zjob) SetSubmitaddr

func (s Zjob) SetSubmitaddr(v string)

func (Zjob) SetSubtime

func (s Zjob) SetSubtime(v int64)

func (Zjob) SetUnansweredping

func (s Zjob) SetUnansweredping(v int64)

func (Zjob) SetWorkeraddr

func (s Zjob) SetWorkeraddr(v string)

func (Zjob) Signature

func (s Zjob) Signature() string

func (Zjob) SignatureBytes added in v1.3.0

func (s Zjob) SignatureBytes() []byte

func (Zjob) Status

func (s Zjob) Status() string

func (Zjob) StatusBytes added in v1.3.0

func (s Zjob) StatusBytes() []byte

func (Zjob) Stm

func (s Zjob) Stm() int64

func (Zjob) Submitaddr

func (s Zjob) Submitaddr() string

func (Zjob) SubmitaddrBytes added in v1.3.0

func (s Zjob) SubmitaddrBytes() []byte

func (Zjob) Subtime

func (s Zjob) Subtime() int64

func (Zjob) Unansweredping

func (s Zjob) Unansweredping() int64

func (Zjob) Workeraddr

func (s Zjob) Workeraddr() string

func (Zjob) WorkeraddrBytes added in v1.3.0

func (s Zjob) WorkeraddrBytes() []byte

func (Zjob) WriteCapLit added in v1.3.0

func (s Zjob) WriteCapLit(w io.Writer) error

func (Zjob) WriteJSON added in v1.3.0

func (s Zjob) WriteJSON(w io.Writer) error

type Zjob_List

type Zjob_List C.PointerList

func NewZjobList

func NewZjobList(s *C.Segment, sz int) Zjob_List

func (Zjob_List) At

func (s Zjob_List) At(i int) Zjob

func (Zjob_List) Len

func (s Zjob_List) Len() int

func (Zjob_List) Set

func (s Zjob_List) Set(i int, item Zjob)

func (Zjob_List) ToArray

func (s Zjob_List) ToArray() []Zjob

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL