Documentation ¶
Index ¶
- type NoopPublisher
- func (publisher *NoopPublisher) IsInstalled(ctx context.Context) (bool, error)
- func (publisher *NoopPublisher) PublishResult(ctx context.Context, execution *models.Execution, resultPath string) (models.SpecConfig, error)
- func (publisher *NoopPublisher) ValidateJob(ctx context.Context, j models.Job) error
- type PublisherConfig
- type PublisherExternalHooks
- type PublisherHandlerIsInstalled
- type PublisherHandlerPublishResult
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
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 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
Click to show internal directories.
Click to hide internal directories.