service

package
v0.0.0-...-841437a Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const CompilerServiceKey = "CompilerService"
View Source
const ConfigControllerServiceKey = "ConfigControllerService"
View Source
const ConfigEventServiceKey = "ConfigEventService"
View Source
const ConfigMapServiceKey = "ConfigMapService"
View Source
const ConfigServiceKey = "ConfigService"
View Source
const GitServiceKey = "GitService"
View Source
const JsonMergerKey = "JsonMerger"
View Source
const MappingServiceKey = "MappingService"

Variables

This section is empty.

Functions

This section is empty.

Types

type CompilerService

type CompilerService interface {
	Compile(fp string) (*model.Config, *domain.Schema, error)
}

type ConfigControllerService

type ConfigControllerService interface {
	Query(name string, query string) (*response.Config, error)
	Delete(name string) (*response.Config, error)
	Create(conf *model.Config) (*response.Config, error)
	Update(config *model.Config) (*response.Config, error)
}

type ConfigEventService

type ConfigEventService interface {
	OnEvent(eventType model.EventType, filepath string)
	OnStart(filepath string)
}

type ConfigMapService

type ConfigMapService interface {
	Get(name string) *model.Config
	Delete(name string)
	Set(config *model.Config)
}

type ConfigService

type ConfigService interface {
	Set(config *model.Config) error
	Get(config *model.Config) *model.Config
	Delete(name string) error
	Query(name, query string) (*model.Config, error)
}

type ConfigWebsocketService

type ConfigWebsocketService interface {
	Create()
	Update()
	Delete()
}

type GitService

type GitService interface {
	Clone(remote, branch, directory string) (*git.Repository, error)
	DiffRemote(repo *git.Repository, branch string) ([]model.GitChange, error)
	FetchLatestRemoteCommit(repo *git.Repository, branch string) (*object.Commit, error)
}

type MappingService

type MappingService interface {
	ToLevelConfigMeta(config *model.Config) response.ConfigMeta
	ToLevelConfigMetaData(config *model.Config) *response.ConfigMetaData
	ToResponse(config *model.Config) *response.Config
}

type Package

type Package struct {
}

func (*Package) Bindings

func (*Package) Bindings() []axon.Binding

Jump to

Keyboard shortcuts

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