Documentation ¶
Index ¶
- Constants
- type RawConfigTrafficController
- func (rctc *RawConfigTrafficController) Category() supervisor.ObjectCategory
- func (rctc *RawConfigTrafficController) Close()
- func (rctc *RawConfigTrafficController) DefaultSpec() interface{}
- func (rctc *RawConfigTrafficController) GetHTTPPipeline(name string) (protocol.HTTPHandler, bool)
- func (rctc *RawConfigTrafficController) Inherit(spec *supervisor.Spec, previousGeneration supervisor.Object)
- func (rctc *RawConfigTrafficController) Init(superSpec *supervisor.Spec)
- func (rctc *RawConfigTrafficController) Kind() string
- func (rctc *RawConfigTrafficController) Status() *supervisor.Status
- type Spec
- type Status
Constants ¶
View Source
const ( // Category is the category of RawConfigTrafficController. Category = supervisor.CategorySystemController // Kind is the kind of RawConfigTrafficController. Kind = "RawConfigTrafficController" // DefaultNamespace is the namespace of RawConfigTrafficController DefaultNamespace = "default" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawConfigTrafficController ¶
type RawConfigTrafficController struct {
// contains filtered or unexported fields
}
RawConfigTrafficController is a system controller to manage TrafficGate, Pipeline and their relationship.
func (*RawConfigTrafficController) Category ¶
func (rctc *RawConfigTrafficController) Category() supervisor.ObjectCategory
Category returns the category of RawConfigTrafficController.
func (*RawConfigTrafficController) Close ¶
func (rctc *RawConfigTrafficController) Close()
Close closes RawConfigTrafficController.
func (*RawConfigTrafficController) DefaultSpec ¶
func (rctc *RawConfigTrafficController) DefaultSpec() interface{}
DefaultSpec returns the default spec of RawConfigTrafficController.
func (*RawConfigTrafficController) GetHTTPPipeline ¶ added in v1.2.0
func (rctc *RawConfigTrafficController) GetHTTPPipeline(name string) (protocol.HTTPHandler, bool)
GetHTTPPipeline gets Pipeline within the default namespace
func (*RawConfigTrafficController) Inherit ¶
func (rctc *RawConfigTrafficController) Inherit(spec *supervisor.Spec, previousGeneration supervisor.Object)
Inherit inherits previous generation of RawConfigTrafficController.
func (*RawConfigTrafficController) Init ¶
func (rctc *RawConfigTrafficController) Init(superSpec *supervisor.Spec)
Init initializes RawConfigTrafficController.
func (*RawConfigTrafficController) Kind ¶
func (rctc *RawConfigTrafficController) Kind() string
Kind return the kind of RawConfigTrafficController.
func (*RawConfigTrafficController) Status ¶
func (rctc *RawConfigTrafficController) Status() *supervisor.Status
Status returns the status of RawConfigTrafficController.
type Status ¶
type Status = trafficcontroller.StatusInSameNamespace
Status is the status of RawConfigTrafficController.
Click to show internal directories.
Click to hide internal directories.