ingresscontroller

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: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Category is the name of ingress controller
	Category = supervisor.CategoryBusinessController
	// Kind is the kind of ingress controller
	Kind = "IngressController"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressController

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

IngressController implements a K8s ingress controller

func (*IngressController) Category

Category returns the category of IngressController.

func (*IngressController) Close

func (ic *IngressController) Close()

Close closes IngressController.

func (*IngressController) DefaultSpec

func (ic *IngressController) DefaultSpec() interface{}

DefaultSpec returns the default spec of IngressController.

func (*IngressController) Inherit

func (ic *IngressController) Inherit(superSpec *supervisor.Spec, previousGeneration supervisor.Object)

Inherit inherits previous generation of IngressController.

func (*IngressController) Init

func (ic *IngressController) Init(superSpec *supervisor.Spec)

Init initializes IngressController.

func (*IngressController) Kind

func (ic *IngressController) Kind() string

Kind returns the kind of IngressController.

func (*IngressController) Status

func (ic *IngressController) Status() *supervisor.Status

Status returns the status of IngressController.

type Spec added in v1.2.0

type Spec struct {
	HTTPServer   *httpserver.Spec `yaml:"httpServer" jsonschema:"required"`
	KubeConfig   string           `yaml:"kubeConfig" jsonschema:"omitempty"`
	MasterURL    string           `yaml:"masterURL" jsonschema:"omitempty"`
	Namespaces   []string         `yaml:"namespaces" jsonschema:"omitempty"`
	IngressClass string           `yaml:"ingressClass" 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