codeamp

package
v0.0.0-...-5f6fd8f Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeAmp

type CodeAmp struct {
	ServiceAddress string `mapstructure:"service_address"`
	Events         chan transistor.Event
	Schema         *graphql.Schema
	SocketIO       *socketio.Server
	DB             *gorm.DB
	Redis          *redis.Client
	Resolver       *graphql_resolver.Resolver
}

func (*CodeAmp) GitSync

func (x *CodeAmp) GitSync(project *model.Project) error

func (*CodeAmp) GitSyncEventHandler

func (x *CodeAmp) GitSyncEventHandler(e transistor.Event) error

func (*CodeAmp) GraphQLListen

func (x *CodeAmp) GraphQLListen()

func (*CodeAmp) HeartBeatEventHandler

func (x *CodeAmp) HeartBeatEventHandler(e transistor.Event)

func (*CodeAmp) InitGraphQL

func (x *CodeAmp) InitGraphQL(resolver interface{}) (*graphql.Schema, error)

func (*CodeAmp) Migrate

func (x *CodeAmp) Migrate()

func (*CodeAmp) Process

func (x *CodeAmp) Process(e transistor.Event) error

func (*CodeAmp) ProjectExtensionEventHandler

func (x *CodeAmp) ProjectExtensionEventHandler(e transistor.Event) error

func (*CodeAmp) ReleaseCompleted

func (x *CodeAmp) ReleaseCompleted(release *model.Release)

func (*CodeAmp) ReleaseEventHandler

func (x *CodeAmp) ReleaseEventHandler(e transistor.Event) error

func (*CodeAmp) ReleaseExtensionCompleted

func (x *CodeAmp) ReleaseExtensionCompleted(re *model.ReleaseExtension)

func (*CodeAmp) ReleaseExtensionEventHandler

func (x *CodeAmp) ReleaseExtensionEventHandler(e transistor.Event) error

func (*CodeAmp) ReleaseFailed

func (x *CodeAmp) ReleaseFailed(release *model.Release, stateMessage string)

func (*CodeAmp) RunQueuedReleases

func (x *CodeAmp) RunQueuedReleases(release *model.Release) error

func (*CodeAmp) SendNotifications

func (x *CodeAmp) SendNotifications(releaseState string, release *model.Release, project *model.Project) error

SendNotifications dispatches notification events to registered project extension of type notification

func (*CodeAmp) Start

func (x *CodeAmp) Start(events chan transistor.Event) error

func (*CodeAmp) Stop

func (x *CodeAmp) Stop()

func (*CodeAmp) Subscribe

func (x *CodeAmp) Subscribe() []string

func (*CodeAmp) WebsocketMsgEventHandler

func (x *CodeAmp) WebsocketMsgEventHandler(e transistor.Event) error

func (*CodeAmp) WorkflowReleaseExtensionsCompleted

func (x *CodeAmp) WorkflowReleaseExtensionsCompleted(release *model.Release)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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