route

package
v1.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetCommand

func NewGetCommand(cli cli.CLI) *cobra.Command

func NewRootCmd

func NewRootCmd(cli cli.CLI) *cobra.Command

func Output

func Output(cli cli.CLI, serviceName types.NamespacedName, routes ...v1alpha3.HTTPRoute) error

Types

type GetOptions

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

func NewGetOptions

func NewGetOptions() *GetOptions

type Out

type Out struct {
	Matches  common.HTTPMatchRequests     `json:"matches,omitempty"`
	Routes   common.HTTPRouteDestinations `json:"routes,omitempty"`
	Redirect common.HTTPRedirect          `json:"redirect,omitempty"`
	Timeout  common.Timeout               `json:"timeout,omitempty"`
	Retries  common.HTTPRetry             `json:"retries,omitempty"`
	Rewrite  common.HTTPRewrite           `json:"rewrite,omitempty"`
	Mirror   common.Destination           `json:"mirror,omitempty"`
}

type RedirectSettings

type RedirectSettings struct {
	URI       string `json:"uri"`
	Authority string `json:"authority"`
}

type RetriesSettings

type RetriesSettings struct {
	Attempts      int    `json:"attempts"`
	PerTryTimeout string `json:"perTryTimeout,omitempty"`
	RetryOn       string `json:"retryOn,omitempty"`
	// contains filtered or unexported fields
}

type TimeoutSettings

type TimeoutSettings struct {
	Timeout string `json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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