noop

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoopPublisher

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

func NewNoopPublisher

func NewNoopPublisher() *NoopPublisher

func NewNoopPublisherWithConfig added in v0.3.25

func NewNoopPublisherWithConfig(config PublisherConfig) *NoopPublisher

func (*NoopPublisher) IsInstalled

func (publisher *NoopPublisher) IsInstalled(ctx context.Context) (bool, error)

func (*NoopPublisher) PublishResult added in v0.3.24

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

func (*NoopPublisher) ValidateJob added in v0.3.26

func (publisher *NoopPublisher) ValidateJob(ctx context.Context, j models.Job) error

type PublisherConfig added in v0.3.25

type PublisherConfig struct {
	ExternalHooks PublisherExternalHooks
}

type PublisherExternalHooks added in v0.3.25

type PublisherExternalHooks struct {
	IsInstalled   PublisherHandlerIsInstalled
	PublishResult PublisherHandlerPublishResult
}

type PublisherHandlerIsInstalled added in v0.3.25

type PublisherHandlerIsInstalled func(ctx context.Context) (bool, error)

type PublisherHandlerPublishResult added in v0.3.25

type PublisherHandlerPublishResult func(
	ctx context.Context, execution *models.Execution, resultPath string) (models.SpecConfig, error)

func ErrorResultPublisher added in v0.3.25

func ErrorResultPublisher(err error) PublisherHandlerPublishResult

Jump to

Keyboard shortcuts

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