process

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProcess

NewProcess creates a new instance of enterprise gravity API server

Satisfies process.NewGravityProcess function type.

Types

type Handlers

type Handlers struct {
	// Handlers is the open-source handlers
	*process.Handlers
	// Operator extends the open-source ops service handler
	Operator *handler.WebHandler
	// WebAPI extends the open-source web API handler
	WebAPI *webapi.Handler
}

Handlers extends open-source web handlers with enterprise handlers

type Process

type Process struct {
	// Process is the underlying open-source version of the process
	*process.Process
	// contains filtered or unexported fields
}

Process extends open-source gravity process with enterprise specific features

func New

New returns a new uninitialized instance of an enterprise process

func (*Process) Init

func (p *Process) Init() error

Init initializes the enterprise gravity process, it can then be started using Start

func (*Process) Serve

func (p *Process) Serve() error

Serve starts serving all process web services

func (*Process) Start

func (p *Process) Start() (err error)

Start starts all process services

Jump to

Keyboard shortcuts

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