cron_fbs

package
v0.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnumNamesJobType = map[JobType]string{
	JobTypeunknown: "unknown",
	JobTypedataset: "dataset",
	JobTypeshell:   "shell",
}
View Source
var EnumNamesOptions = map[Options]string{
	OptionsNONE:               "NONE",
	OptionsDatasetOptions:     "DatasetOptions",
	OptionsShellScriptOptions: "ShellScriptOptions",
}

Functions

func DatasetOptionsAddBodyPath

func DatasetOptionsAddBodyPath(builder *flatbuffers.Builder, bodyPath flatbuffers.UOffsetT)

func DatasetOptionsAddConfig

func DatasetOptionsAddConfig(builder *flatbuffers.Builder, config flatbuffers.UOffsetT)

func DatasetOptionsAddConvertFormatToPrev

func DatasetOptionsAddConvertFormatToPrev(builder *flatbuffers.Builder, convertFormatToPrev bool)

func DatasetOptionsAddFilePaths

func DatasetOptionsAddFilePaths(builder *flatbuffers.Builder, filePaths flatbuffers.UOffsetT)

func DatasetOptionsAddForce

func DatasetOptionsAddForce(builder *flatbuffers.Builder, force bool)

func DatasetOptionsAddMessage

func DatasetOptionsAddMessage(builder *flatbuffers.Builder, message flatbuffers.UOffsetT)

func DatasetOptionsAddPublish

func DatasetOptionsAddPublish(builder *flatbuffers.Builder, publish bool)

func DatasetOptionsAddRecall

func DatasetOptionsAddRecall(builder *flatbuffers.Builder, recall flatbuffers.UOffsetT)

func DatasetOptionsAddSecrets

func DatasetOptionsAddSecrets(builder *flatbuffers.Builder, secrets flatbuffers.UOffsetT)

func DatasetOptionsAddShouldRender

func DatasetOptionsAddShouldRender(builder *flatbuffers.Builder, shouldRender bool)

func DatasetOptionsAddStrict

func DatasetOptionsAddStrict(builder *flatbuffers.Builder, strict bool)

func DatasetOptionsAddTitle

func DatasetOptionsAddTitle(builder *flatbuffers.Builder, title flatbuffers.UOffsetT)

func DatasetOptionsEnd

func DatasetOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func DatasetOptionsStart

func DatasetOptionsStart(builder *flatbuffers.Builder)

func DatasetOptionsStartConfigVector

func DatasetOptionsStartConfigVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func DatasetOptionsStartFilePathsVector

func DatasetOptionsStartFilePathsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func DatasetOptionsStartSecretsVector

func DatasetOptionsStartSecretsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func JobAddAlias

func JobAddAlias(builder *flatbuffers.Builder, alias flatbuffers.UOffsetT)

func JobAddLogFilePath

func JobAddLogFilePath(builder *flatbuffers.Builder, logFilePath flatbuffers.UOffsetT)

func JobAddName

func JobAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)

func JobAddOptions

func JobAddOptions(builder *flatbuffers.Builder, options flatbuffers.UOffsetT)

func JobAddOptionsType

func JobAddOptionsType(builder *flatbuffers.Builder, optionsType byte)

func JobAddPeriodicity

func JobAddPeriodicity(builder *flatbuffers.Builder, periodicity flatbuffers.UOffsetT)

func JobAddPrevRunStart

func JobAddPrevRunStart(builder *flatbuffers.Builder, prevRunStart flatbuffers.UOffsetT)

func JobAddRepoPath

func JobAddRepoPath(builder *flatbuffers.Builder, repoPath flatbuffers.UOffsetT)

func JobAddRunError

func JobAddRunError(builder *flatbuffers.Builder, runError flatbuffers.UOffsetT)

func JobAddRunNumber

func JobAddRunNumber(builder *flatbuffers.Builder, runNumber int64)

func JobAddRunStart

func JobAddRunStart(builder *flatbuffers.Builder, runStart flatbuffers.UOffsetT)

func JobAddRunStop

func JobAddRunStop(builder *flatbuffers.Builder, runStop flatbuffers.UOffsetT)

func JobAddType

func JobAddType(builder *flatbuffers.Builder, type_ int8)

func JobEnd

func JobEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func JobStart

func JobStart(builder *flatbuffers.Builder)

func JobsAddList

func JobsAddList(builder *flatbuffers.Builder, list flatbuffers.UOffsetT)

func JobsEnd

func JobsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func JobsStart

func JobsStart(builder *flatbuffers.Builder)

func JobsStartListVector

func JobsStartListVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func SecretAddKey

func SecretAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)

func SecretAddVal

func SecretAddVal(builder *flatbuffers.Builder, val flatbuffers.UOffsetT)

func SecretEnd

func SecretEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func SecretStart

func SecretStart(builder *flatbuffers.Builder)

func ShellScriptOptionsEnd

func ShellScriptOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ShellScriptOptionsStart

func ShellScriptOptionsStart(builder *flatbuffers.Builder)

func StrMapValAddKey

func StrMapValAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)

func StrMapValAddVal

func StrMapValAddVal(builder *flatbuffers.Builder, val flatbuffers.UOffsetT)

func StrMapValEnd

func StrMapValEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func StrMapValStart

func StrMapValStart(builder *flatbuffers.Builder)

func StringMapValAddKey

func StringMapValAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)

func StringMapValAddVal

func StringMapValAddVal(builder *flatbuffers.Builder, val flatbuffers.UOffsetT)

func StringMapValEnd

func StringMapValEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func StringMapValStart

func StringMapValStart(builder *flatbuffers.Builder)

Types

type DatasetOptions

type DatasetOptions struct {
	// contains filtered or unexported fields
}

func GetRootAsDatasetOptions

func GetRootAsDatasetOptions(buf []byte, offset flatbuffers.UOffsetT) *DatasetOptions

func (*DatasetOptions) BodyPath

func (rcv *DatasetOptions) BodyPath() []byte

func (*DatasetOptions) Config

func (rcv *DatasetOptions) Config(obj *StringMapVal, j int) bool

func (*DatasetOptions) ConfigLength

func (rcv *DatasetOptions) ConfigLength() int

func (*DatasetOptions) ConvertFormatToPrev

func (rcv *DatasetOptions) ConvertFormatToPrev() bool

func (*DatasetOptions) FilePaths

func (rcv *DatasetOptions) FilePaths(j int) []byte

func (*DatasetOptions) FilePathsLength

func (rcv *DatasetOptions) FilePathsLength() int

func (*DatasetOptions) Force

func (rcv *DatasetOptions) Force() bool

func (*DatasetOptions) Init

func (rcv *DatasetOptions) Init(buf []byte, i flatbuffers.UOffsetT)

func (*DatasetOptions) Message

func (rcv *DatasetOptions) Message() []byte

func (*DatasetOptions) MutateConvertFormatToPrev

func (rcv *DatasetOptions) MutateConvertFormatToPrev(n bool) bool

func (*DatasetOptions) MutateForce

func (rcv *DatasetOptions) MutateForce(n bool) bool

func (*DatasetOptions) MutatePublish

func (rcv *DatasetOptions) MutatePublish(n bool) bool

func (*DatasetOptions) MutateShouldRender

func (rcv *DatasetOptions) MutateShouldRender(n bool) bool

func (*DatasetOptions) MutateStrict

func (rcv *DatasetOptions) MutateStrict(n bool) bool

func (*DatasetOptions) Publish

func (rcv *DatasetOptions) Publish() bool

func (*DatasetOptions) Recall

func (rcv *DatasetOptions) Recall() []byte

func (*DatasetOptions) Secrets

func (rcv *DatasetOptions) Secrets(obj *StringMapVal, j int) bool

func (*DatasetOptions) SecretsLength

func (rcv *DatasetOptions) SecretsLength() int

func (*DatasetOptions) ShouldRender

func (rcv *DatasetOptions) ShouldRender() bool

func (*DatasetOptions) Strict

func (rcv *DatasetOptions) Strict() bool

func (*DatasetOptions) Table

func (rcv *DatasetOptions) Table() flatbuffers.Table

func (*DatasetOptions) Title

func (rcv *DatasetOptions) Title() []byte

type Job

type Job struct {
	// contains filtered or unexported fields
}

func GetRootAsJob

func GetRootAsJob(buf []byte, offset flatbuffers.UOffsetT) *Job

func (*Job) Alias

func (rcv *Job) Alias() []byte

func (*Job) Init

func (rcv *Job) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Job) LogFilePath

func (rcv *Job) LogFilePath() []byte

func (*Job) MutateOptionsType

func (rcv *Job) MutateOptionsType(n byte) bool

func (*Job) MutateRunNumber

func (rcv *Job) MutateRunNumber(n int64) bool

func (*Job) MutateType

func (rcv *Job) MutateType(n JobType) bool

func (*Job) Name

func (rcv *Job) Name() []byte

func (*Job) Options

func (rcv *Job) Options(obj *flatbuffers.Table) bool

func (*Job) OptionsType

func (rcv *Job) OptionsType() byte

func (*Job) Periodicity

func (rcv *Job) Periodicity() []byte

func (*Job) PrevRunStart

func (rcv *Job) PrevRunStart() []byte

func (*Job) RepoPath

func (rcv *Job) RepoPath() []byte

func (*Job) RunError

func (rcv *Job) RunError() []byte

func (*Job) RunNumber

func (rcv *Job) RunNumber() int64

func (*Job) RunStart

func (rcv *Job) RunStart() []byte

func (*Job) RunStop

func (rcv *Job) RunStop() []byte

func (*Job) Table

func (rcv *Job) Table() flatbuffers.Table

func (*Job) Type

func (rcv *Job) Type() JobType

type JobType

type JobType = int8
const (
	JobTypeunknown JobType = 0
	JobTypedataset JobType = 1
	JobTypeshell   JobType = 2
)

type Jobs

type Jobs struct {
	// contains filtered or unexported fields
}

func GetRootAsJobs

func GetRootAsJobs(buf []byte, offset flatbuffers.UOffsetT) *Jobs

func (*Jobs) Init

func (rcv *Jobs) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Jobs) List

func (rcv *Jobs) List(obj *Job, j int) bool

func (*Jobs) ListLength

func (rcv *Jobs) ListLength() int

func (*Jobs) Table

func (rcv *Jobs) Table() flatbuffers.Table

type Options

type Options = byte
const (
	OptionsNONE               Options = 0
	OptionsDatasetOptions     Options = 1
	OptionsShellScriptOptions Options = 2
)

type Secret

type Secret struct {
	// contains filtered or unexported fields
}

func GetRootAsSecret

func GetRootAsSecret(buf []byte, offset flatbuffers.UOffsetT) *Secret

func (*Secret) Init

func (rcv *Secret) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Secret) Key

func (rcv *Secret) Key() []byte

func (*Secret) Table

func (rcv *Secret) Table() flatbuffers.Table

func (*Secret) Val

func (rcv *Secret) Val() []byte

type ShellScriptOptions

type ShellScriptOptions struct {
	// contains filtered or unexported fields
}

func GetRootAsShellScriptOptions

func GetRootAsShellScriptOptions(buf []byte, offset flatbuffers.UOffsetT) *ShellScriptOptions

func (*ShellScriptOptions) Init

func (rcv *ShellScriptOptions) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ShellScriptOptions) Table

func (rcv *ShellScriptOptions) Table() flatbuffers.Table

type StrMapVal

type StrMapVal struct {
	// contains filtered or unexported fields
}

func GetRootAsStrMapVal

func GetRootAsStrMapVal(buf []byte, offset flatbuffers.UOffsetT) *StrMapVal

func (*StrMapVal) Init

func (rcv *StrMapVal) Init(buf []byte, i flatbuffers.UOffsetT)

func (*StrMapVal) Key

func (rcv *StrMapVal) Key() []byte

func (*StrMapVal) Table

func (rcv *StrMapVal) Table() flatbuffers.Table

func (*StrMapVal) Val

func (rcv *StrMapVal) Val() []byte

type StringMapVal

type StringMapVal struct {
	// contains filtered or unexported fields
}

func GetRootAsStringMapVal

func GetRootAsStringMapVal(buf []byte, offset flatbuffers.UOffsetT) *StringMapVal

func (*StringMapVal) Init

func (rcv *StringMapVal) Init(buf []byte, i flatbuffers.UOffsetT)

func (*StringMapVal) Key

func (rcv *StringMapVal) Key() []byte

func (*StringMapVal) Table

func (rcv *StringMapVal) Table() flatbuffers.Table

func (*StringMapVal) Val

func (rcv *StringMapVal) Val() []byte

Jump to

Keyboard shortcuts

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