status

package
v0.0.0-...-a196a74 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatusService

func NewStatusService(client ghclient.Client, logger log.Logger, change scm.RepositoryChange, context githubType.StatusContext) scm.StatusService

NewStatusService creates an instance of Service necessary for setting status

Types

type Service

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

Service is a struct containing information necessary for status setting

func (*Service) Error

func (s *Service) Error(reason string) error

Error marks given change as a error.

func (*Service) Failure

func (s *Service) Failure(reason, detailsPageName string) error

Failure marks given change as a failure.

func (*Service) Pending

func (s *Service) Pending(reason string) error

Pending marks given change as a pending.

func (*Service) Success

func (s *Service) Success(reason, detailsPageName string) error

Success marks given change as a success.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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