handlers

package
v0.0.0-...-4a3d265 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceCAInjectBundle = "service.beta.openshift.io/inject-cabundle"
)

Variables

View Source
var (
	// DefaultCertValidFor is the default duration a cert will be valid for.
	DefaultCertValidFor = time.Hour * 24 * 365

	// DefaultCertRotateThreshold is the default threshold preceding the expiration date
	// the operator will make attempt(s) to rotate the certs.
	DefaultCertRotateThreshold = time.Hour * 48

	Organization = "Red Hat, Inc."
)

Functions

func NewAPIServiceHandler

func NewAPIServiceHandler(o *Options) *apiServiceHandler

func NewAvailabilityHandler

func NewAvailabilityHandler(o *Options) *availabilityHandler

func NewCertGenerationHandler

func NewCertGenerationHandler(o *Options) *certGenerationHandler

func NewCertReadyHandler

func NewCertReadyHandler(o *Options) *certReadyHandler

func NewConfigurationHandler

func NewConfigurationHandler(o *Options) *configurationHandler

func NewDaemonSetHandler

func NewDaemonSetHandler(o *Options) *daemonSetHandler

func NewDeploymentReadyHandler

func NewDeploymentReadyHandler(o *Options) *deploymentReadyHandler

func NewServiceCAConfigMapHandler

func NewServiceCAConfigMapHandler(o *Options) *serviceCAConfigMapHandler

func NewServiceCertSecretHandler

func NewServiceCertSecretHandler(o *Options) *serviceCertSecretHandler

func NewServiceHandler

func NewServiceHandler(o *Options) *serviceHandler

func NewValidationHandler

func NewValidationHandler(o *Options) *validationHandler

func NewWebhookConfigurationHandlerHandler

func NewWebhookConfigurationHandlerHandler(o *Options) *webhookConfigurationHandler

Types

type Deployer

type Deployer interface {
	Exists(namespace, name string) (object metav1.Object, err error)
}

type Options

type Options struct {
	OperandContext  operatorruntime.OperandContext
	Client          *operatorruntime.Client
	PrimaryLister   autoscalingv1listers.ClusterResourceOverrideLister
	SecondaryLister *secondarywatch.Lister
	Asset           *asset.Asset
	Deploy          deploy.Interface
}

type ReconcileRequestContext

type ReconcileRequestContext struct {
	operatorruntime.OperandContext
	// contains filtered or unexported fields
}

func (*ReconcileRequestContext) ControllerSetter

func (*ReconcileRequestContext) GetBundle

func (r *ReconcileRequestContext) GetBundle() *cert.Bundle

func (*ReconcileRequestContext) SetBundle

func (r *ReconcileRequestContext) SetBundle(bundle *cert.Bundle)

Jump to

Keyboard shortcuts

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