polling

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	T = true
)

Functions

This section is empty.

Types

type Polling

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

func NewPolling

func NewPolling(rContext *types.Context) *Polling

func (*Polling) Handle

func (p *Polling) Handle(ctx context.Context, obj *gitjobv1.GitJob) (gitjobv1.GitJobStatus, error)

func (*Polling) HandleHook

func (p *Polling) HandleHook(ctx context.Context, req *http.Request) (int, error)

func (*Polling) Supports

func (p *Polling) Supports(obj *gitjobv1.GitJob) bool

Jump to

Keyboard shortcuts

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