http

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// APIVersion is the version of API.
	APIVersion = "/apis/v1alpha1"

	// ResourceNamePathParameterName represents the name of the path parameter for resource name.
	ResourceNamePathParameterName = "resource"

	// StageNamePathParameterName represents the name of the path parameter for stage name.
	StageNamePathParameterName = "stage"

	// WorkflowNamePathParameterName represents the name of the path parameter for workflow name.
	WorkflowNamePathParameterName = "workflow"

	// WorkflowRunNamePathParameterName represents the name of the path parameter for workflowrun name.
	WorkflowRunNamePathParameterName = "workflowrun"

	// WorkflowTriggerNamePathParameterName represents the name of the path parameter for workflowtrigger name.
	WorkflowTriggerNamePathParameterName = "workflowtrigger"

	// ContainerNameQueryParameter represents the query param container name.
	ContainerNameQueryParameter = "container"

	// NamespaceQueryParameter represents the query param namespace.
	NamespaceQueryParameter string = "namespace"

	// HEADER_ContentType represents the the key of Content-Type.
	HEADER_ContentType = "Content-Type"

	// DefaultNamespace represents the default namespace 'default'.
	DefaultNamespace string = "default"

	// DownloadQueryParameter represents a download flag of the query parameter.
	DownloadQueryParameter = "download"

	// StatusQueryParameter represents a status of the query parameter.
	StatusQueryParameter = "status"
)

Variables

This section is empty.

Functions

func GetHttpRequest added in v0.7.1

func GetHttpRequest(ctx context.Context) *http.Request

GetHttpRequest gets request from context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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