meshadaptor

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Kind is the kind of MeshAdaptor.
	Kind = "MeshAdaptor"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MeshAdaptor

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

MeshAdaptor is filter MeshAdaptor.

func (*MeshAdaptor) Close

func (ra *MeshAdaptor) Close()

Close closes MeshAdaptor.

func (*MeshAdaptor) DefaultSpec

func (ra *MeshAdaptor) DefaultSpec() interface{}

DefaultSpec returns default spec of MeshAdaptor.

func (*MeshAdaptor) Description

func (ra *MeshAdaptor) Description() string

Description returns the description of MeshAdaptor.

func (*MeshAdaptor) Handle

func (ra *MeshAdaptor) Handle(ctx context.HTTPContext) string

Handle adapts request.

func (*MeshAdaptor) Inherit

func (ra *MeshAdaptor) Inherit(filterSpec *httppipeline.FilterSpec, previousGeneration httppipeline.Filter)

Inherit inherits previous generation of MeshAdaptor.

func (*MeshAdaptor) Init

func (ra *MeshAdaptor) Init(filterSpec *httppipeline.FilterSpec)

Init initializes MeshAdaptor.

func (*MeshAdaptor) Kind

func (ra *MeshAdaptor) Kind() string

Kind returns the kind of MeshAdaptor.

func (*MeshAdaptor) Results

func (ra *MeshAdaptor) Results() []string

Results returns the results of MeshAdaptor.

func (*MeshAdaptor) Status

func (ra *MeshAdaptor) Status() interface{}

Status returns status.

type ServiceCanaryAdaptor

type ServiceCanaryAdaptor struct {
	Header *httpheader.AdaptSpec `yaml:"header,omitempty" jsonschema:"required"`
	Filter *httpfilter.Spec      `yaml:"filter" jsonschema:"required"`
	// contains filtered or unexported fields
}

ServiceCanaryAdaptor is the service canary adaptor.

type Spec

type Spec struct {
	ServiceCanaries []*ServiceCanaryAdaptor `yaml:"serviceCanaries" jsonschema:"omitempty"`
}

Spec is HTTPAdaptor Spec.

Jump to

Keyboard shortcuts

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