types

package
v0.0.0-...-c4175cc Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AfterClearWorkdirFn

type AfterClearWorkdirFn BeforeClearWorkdirFn

type AfterCommitFilesFn

type AfterCommitFilesFn BeforeCommitFilesFn

type AfterDumpConfigFn

type AfterDumpConfigFn func(v8end V8Endpoint, workdir string, temp string, number int, update bool) error

type AfterGetRepositoryAuthorsFn

type AfterGetRepositoryAuthorsFn func(v8end V8Endpoint, workdir string, authors *types.RepositoryAuthorsList) error

type AfterGetRepositoryHistoryFn

type AfterGetRepositoryHistoryFn func(v8end V8Endpoint, dir string, NBegin int, rv *types.RepositoryVersionsList) error

type AfterMoveToWorkdirFn

type AfterMoveToWorkdirFn BeforeClearWorkdirFn

type AfterReadVersionFileFn

type AfterReadVersionFileFn func(v8end V8Endpoint, workdir string, filename string, number *int) error

type AfterUpdateCfgFn

type AfterUpdateCfgFn BeforeUpdateCfgFn

type AfterWriteVersionFileFn

type AfterWriteVersionFileFn BeforeWriteVersionFileFn

type BeforeClearWorkdirFn

type BeforeClearWorkdirFn func(v8end V8Endpoint, workdir string, temp string) error

type BeforeCommitFilesFn

type BeforeCommitFilesFn func(v8end V8Endpoint, workdir string, author types.RepositoryAuthor, when time.Time, comment string) error

type BeforeDumpConfigFn

type BeforeDumpConfigFn func(v8end V8Endpoint, workdir string, temp string, number int, update *bool) error

type BeforeGetRepositoryAuthorsFn

type BeforeGetRepositoryAuthorsFn func(v8end V8Endpoint, workdir string, filename string) error

type BeforeGetRepositoryHistoryFn

type BeforeGetRepositoryHistoryFn func(v8end V8Endpoint, dir string, NBegin int) error

type BeforeMoveToWorkdirFn

type BeforeMoveToWorkdirFn BeforeClearWorkdirFn

type BeforeReadVersionFileFn

type BeforeReadVersionFileFn func(v8end V8Endpoint, workdir string, filename string) error

type BeforeUpdateCfgFn

type BeforeUpdateCfgFn func(v8end V8Endpoint, workdir string, version int) error

type BeforeWriteVersionFileFn

type BeforeWriteVersionFileFn func(v8end V8Endpoint, workdir string, number int, filename string) error

type ClearWorkdirSubscriber

type ClearWorkdirSubscriber struct {
	Before BeforeClearWorkdirFn
	On     OnClearWorkdirFn
	After  AfterClearWorkdirFn
}

type CommitFilesSubscriber

type CommitFilesSubscriber struct {
	Before BeforeCommitFilesFn
	On     OnCommitFilesFn
	After  AfterCommitFilesFn
}

type ConfigureRepositoryVersionsSubscriber

type ConfigureRepositoryVersionsSubscriber struct {
	On OnConfigureRepositoryVersionsFn
}

type DumpConfigToFilesSubscriber

type DumpConfigToFilesSubscriber struct {
	On     OnDumpConfigFn
	Before BeforeDumpConfigFn
	After  AfterDumpConfigFn
}

type FinishSyncProcessFn

type FinishSyncProcessFn func(v8end V8Endpoint, workdir string, err *error)

type FinishSyncVersionFn

type FinishSyncVersionFn func(v8end V8Endpoint, workdir string, tempdir string, number int, err *error)

type GetRepositoryAuthorsSubscriber

type GetRepositoryAuthorsSubscriber struct {
	Before BeforeGetRepositoryAuthorsFn
	On     OnGetRepositoryAuthorsFn
	After  AfterGetRepositoryAuthorsFn
}

type GetRepositoryHistorySubscriber

type GetRepositoryHistorySubscriber struct {
	On     OnGetRepositoryHistoryFn
	Before BeforeGetRepositoryHistoryFn
	After  AfterGetRepositoryHistoryFn
}

type MoveToWorkdirSubscriber

type MoveToWorkdirSubscriber struct {
	Before BeforeMoveToWorkdirFn
	On     OnMoveToWorkdirFn
	After  AfterMoveToWorkdirFn
}

type OnClearWorkdirFn

type OnClearWorkdirFn func(v8end V8Endpoint, workdir string, temp string, stdHandler *bool) error

type OnCommitFilesFn

type OnCommitFilesFn func(v8end V8Endpoint, workdir string, author types.RepositoryAuthor, when *time.Time, comment *string, stdHandler *bool) error

type OnConfigureRepositoryVersionsFn

type OnConfigureRepositoryVersionsFn func(v8end V8Endpoint, versions *types.RepositoryVersionsList, NCurrent, NNext, NMax *int) error

type OnDumpConfigFn

type OnDumpConfigFn func(v8end V8Endpoint, workdir string, temp string, number int, update *bool, stdHandler *bool) error

type OnGetRepositoryAuthorsFn

type OnGetRepositoryAuthorsFn func(v8end V8Endpoint, workdir string, filename string, stdHandler *bool) (map[string]types.RepositoryAuthor, error)

type OnGetRepositoryHistoryFn

type OnGetRepositoryHistoryFn func(v8end V8Endpoint, dir string, NBegin int, stdHandler *bool) ([]types.RepositoryVersion, error)

type OnMoveToWorkdirFn

type OnMoveToWorkdirFn OnClearWorkdirFn

type OnReadVersionFileFn

type OnReadVersionFileFn func(v8end V8Endpoint, workdir string, filename string, stdHandler *bool) (int, error)

type OnUpdateCfgFn

type OnUpdateCfgFn func(v8end V8Endpoint, workdir string, version int, stdHandler *bool) error

type OnWriteVersionFileFn

type OnWriteVersionFileFn func(v8end V8Endpoint, workdir string, number int, filename string, stdHandler *bool) error

type ReadVersionFileSubscriber

type ReadVersionFileSubscriber struct {
	Before BeforeReadVersionFileFn
	On     OnReadVersionFileFn
	After  AfterReadVersionFileFn
}

type StartSyncProcessFn

type StartSyncProcessFn func(v8end V8Endpoint, workdir string)

type StartSyncVersionFn

type StartSyncVersionFn func(v8end V8Endpoint, workdir string, tempdir string, number int)

type Subscriber

type Subscriber interface {
	Handlers() []interface{}
}

type SyncProcessSubscriber

type SyncProcessSubscriber struct {
	Start  StartSyncProcessFn
	Finish FinishSyncProcessFn
}

type SyncVersionSubscriber

type SyncVersionSubscriber struct {
	Start  StartSyncVersionFn
	Finish FinishSyncVersionFn
}

type UpdateCfgSubscriber

type UpdateCfgSubscriber struct {
	On     OnUpdateCfgFn
	Before BeforeUpdateCfgFn
	After  AfterUpdateCfgFn
}

type V8Endpoint

type V8Endpoint interface {
	Infobase() *v8.Infobase
	Repository() *designer.Repository
	Extention() string
	Options() []interface{}
}

type WriteVersionFileSubscriber

type WriteVersionFileSubscriber struct {
	Before BeforeWriteVersionFileFn
	On     OnWriteVersionFileFn
	After  AfterWriteVersionFileFn
}

Jump to

Keyboard shortcuts

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