rawconfigtrafficcontroller

package
v2.7.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package rawconfigtrafficcontroller implements the RawConfigTrafficController.

Index

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 = api.DefaultNamespace
)

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

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) GetPipeline

func (rctc *RawConfigTrafficController) GetPipeline(name string) (context.Handler, bool)

GetPipeline gets Pipeline within the default namespace

func (*RawConfigTrafficController) Inherit

func (rctc *RawConfigTrafficController) Inherit(superSpec *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

Status returns the status of RawConfigTrafficController. StatusInSameNamespace:

  • Namespace: default -> DefaultNamespace
  • TrafficGates: map[objectName]objectStatus
  • Pipelines: map[objectName]objectStatus

type Spec

type Spec struct{}

Spec describes RawConfigTrafficController.

Jump to

Keyboard shortcuts

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