http

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPipelineHttp

func NewPipelineHttp(c *components.Context) (*pipelineHttpClient, error)

Types

type ClientOptions

type ClientOptions struct {
	Query interface{}
}

type PipelineHttpClient

type PipelineHttpClient interface {
	SendGet(endpoint string, options ClientOptions) ([]byte, error)
	SendPost(endpoint string, options ClientOptions, content []byte) ([]byte, error)
}

type ResourceCodes

type ResourceCodes int
const (
	GitRepo ResourceCodes = 1000
)

type StatusCode

type StatusCode int
const (
	Queued     StatusCode = 4000
	Processing StatusCode = 4001
	Success    StatusCode = 4002
	Failure    StatusCode = 4003
	Error      StatusCode = 4004
	Waiting    StatusCode = 4005
	Canceled   StatusCode = 4006
	Unstable   StatusCode = 4007
	Skipped    StatusCode = 4008
	TimedOut   StatusCode = 4009
	TimingOut  StatusCode = 4014
	Creating   StatusCode = 4015
	Ready      StatusCode = 4016
)

func (StatusCode) StatusCodeName

func (sc StatusCode) StatusCodeName() string

func (StatusCode) String

func (sc StatusCode) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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