Documentation
¶
Index ¶
- Constants
- type MeshAdaptor
- func (ra *MeshAdaptor) Close()
- func (ra *MeshAdaptor) DefaultSpec() interface{}
- func (ra *MeshAdaptor) Description() string
- func (ra *MeshAdaptor) Handle(ctx context.HTTPContext) string
- func (ra *MeshAdaptor) Inherit(filterSpec *httppipeline.FilterSpec, previousGeneration httppipeline.Filter)
- func (ra *MeshAdaptor) Init(filterSpec *httppipeline.FilterSpec)
- func (ra *MeshAdaptor) Kind() string
- func (ra *MeshAdaptor) Results() []string
- func (ra *MeshAdaptor) Status() interface{}
- type ServiceCanaryAdaptor
- type Spec
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) 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.
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.
Click to show internal directories.
Click to hide internal directories.