Documentation ¶
Index ¶
- Constants
- type IngressController
- func (ic *IngressController) Category() supervisor.ObjectCategory
- func (ic *IngressController) Close()
- func (ic *IngressController) DefaultSpec() interface{}
- func (ic *IngressController) Inherit(superSpec *supervisor.Spec, previousGeneration supervisor.Object)
- func (ic *IngressController) Init(superSpec *supervisor.Spec)
- func (ic *IngressController) Kind() string
- func (ic *IngressController) Status() *supervisor.Status
- type Spec
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 ¶
func (ic *IngressController) Category() supervisor.ObjectCategory
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
Click to show internal directories.
Click to hide internal directories.