controllers

package
v0.0.0-...-27a102d Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHTTPServerObj

func GetHTTPServerObj(ecr *EventsClientReconciler) (*http.Server, error)

GetHTTPServerObj is for obtaining a server instance to start the event listener using iris helper

func GetSignedCertificatesForEventClient

func GetSignedCertificatesForEventClient(ctx context.Context, ecr *EventsClientReconciler) (rootCA, eventClientCert, eventClientKey []byte)

GetSignedCertificatesForEventClient retrieves the certificates from secret

func LoadCertificates

func LoadCertificates(tlsConfig *tls.Config, ecr *EventsClientReconciler) error

LoadCertificates is for including passed certificates in tls.Config

func Start

func Start(client client.Client, scheme *runtime.Scheme)

Start initialize the event client listener

Types

type EventsClientReconciler

type EventsClientReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

EventsClientReconciler helps to process the events receive from ODIM

Jump to

Keyboard shortcuts

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