operator

package
v0.0.0-...-0b561f8 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartMetricsListener

func StartMetricsListener(addr string, signal context.Context)

StartMetricsListener starts the metrics listener on addr.

Types

type Operator

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

Operator is the scaffolding for the ingress operator. It sets up dependencies and defines the topology of the operator and its managed components, wiring them together. Operator knows what namespace the operator lives in, and what specific resoure types in other namespaces should produce operator events.

func New

func New(config operatorconfig.Config, kubeConfig *rest.Config) (*Operator, error)

New creates (but does not start) a new operator from configuration.

func (*Operator) Start

func (o *Operator) Start(ctx context.Context) error

Start creates the default IngressController and then starts the operator synchronously until a message is received on the stop channel. TODO: Move the default IngressController logic elsewhere.

Directories

Path Synopsis
certificate
The certificate controller is responsible for the following:
The certificate controller is responsible for the following:
certificate-publisher
The certificate-publisher controller is responsible for publishing the certificate and key of the ingresscontroller for the cluster ingress domain to the "router-certs" secret in the "openshift-config-managed" namespace and for publishing the certificate for the default ingresscontroller to the "default-ingress-cert" configmap in the same namespace.
The certificate-publisher controller is responsible for publishing the certificate and key of the ingresscontroller for the cluster ingress domain to the "router-certs" secret in the "openshift-config-managed" namespace and for publishing the certificate for the default ingresscontroller to the "default-ingress-cert" configmap in the same namespace.
crl
dns

Jump to

Keyboard shortcuts

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