gatewaycontroller

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Overview

Package gateway implements k8s gateway API.

Index

Constants

View Source
const (
	// Category is the name of GatewayController
	Category = supervisor.CategoryBusinessController

	// Kind is the kind of GatewayController
	Kind = "GatewayController"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayController

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

GatewayController implements a k8s gateway API controller

func (*GatewayController) Category

Category returns the category of GatewayController.

func (*GatewayController) Close

func (gc *GatewayController) Close()

func (*GatewayController) DefaultSpec

func (gc *GatewayController) DefaultSpec() interface{}

DefaultSpec returns the default spec of GatewayController.

func (*GatewayController) Inherit

func (gc *GatewayController) Inherit(superSpec *supervisor.Spec, previousGeneration supervisor.Object)

Inherit inherits previous generation of GatewayController.

func (*GatewayController) Init

func (gc *GatewayController) Init(superSpec *supervisor.Spec)

Init initializes GatewayController.

func (*GatewayController) Kind

func (gc *GatewayController) Kind() string

Kind returns the kind of GatewayController.

func (*GatewayController) Status

func (gc *GatewayController) Status() *supervisor.Status

type Spec

type Spec struct {
	KubeConfig string   `json:"kubeConfig" jsonschema:"omitempty"`
	MasterURL  string   `json:"masterURL" jsonschema:"omitempty"`
	Namespaces []string `json:"namespaces" jsonschema:"omitempty"`
}

Spec is the ingress controller spec

Jump to

Keyboard shortcuts

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