batch

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchReturn

type BatchReturn struct {
	SuccessCount uint64
	FailCodes    []FailCode
}

func (BatchReturn) AllOk

func (b BatchReturn) AllOk() bool

func (BatchReturn) CodeAt

func (b BatchReturn) CodeAt(n uint64) (exitcode.ExitCode, error)

func (BatchReturn) Codes

func (b BatchReturn) Codes() []exitcode.ExitCode

func (*BatchReturn) MarshalCBOR

func (t *BatchReturn) MarshalCBOR(w io.Writer) error

func (BatchReturn) Size

func (b BatchReturn) Size() int

func (*BatchReturn) UnmarshalCBOR

func (t *BatchReturn) UnmarshalCBOR(r io.Reader) (err error)

func (BatchReturn) Validate

func (b BatchReturn) Validate() error

type FailCode

type FailCode struct {
	Idx  uint64
	Code exitcode.ExitCode
}

func (*FailCode) MarshalCBOR

func (t *FailCode) MarshalCBOR(w io.Writer) error

func (*FailCode) UnmarshalCBOR

func (t *FailCode) UnmarshalCBOR(r io.Reader) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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