local

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveAddress added in v1.3.0

func ResolveAddress(ctx context.Context, address string) string

Types

type LocalPublisherServer

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

func NewLocalPublisherServer

func NewLocalPublisherServer(ctx context.Context, directory string, port int) *LocalPublisherServer

func (*LocalPublisherServer) Run

func (s *LocalPublisherServer) Run(ctx context.Context)

type Publisher

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

func NewLocalPublisher

func NewLocalPublisher(ctx context.Context, directory string, host string, port int) *Publisher

func (*Publisher) IsInstalled

func (p *Publisher) IsInstalled(ctx context.Context) (bool, error)

IsInstalled checks if the publisher is installed and it determines this based on the presence of the base directory and a local server.

func (*Publisher) PublishResult

func (p *Publisher) PublishResult(
	ctx context.Context, execution *models.Execution, resultPath string) (models.SpecConfig, error)

func (*Publisher) ValidateJob

func (p *Publisher) ValidateJob(ctx context.Context, j models.Job) error

Jump to

Keyboard shortcuts

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