Documentation ¶
Index ¶
- Constants
- Variables
- func NewAPIServiceHandler(o *Options) *apiServiceHandler
- func NewAvailabilityHandler(o *Options) *availabilityHandler
- func NewCertGenerationHandler(o *Options) *certGenerationHandler
- func NewCertReadyHandler(o *Options) *certReadyHandler
- func NewConfigurationHandler(o *Options) *configurationHandler
- func NewDaemonSetHandler(o *Options) *daemonSetHandler
- func NewDeploymentReadyHandler(o *Options) *deploymentReadyHandler
- func NewServiceCAConfigMapHandler(o *Options) *serviceCAConfigMapHandler
- func NewServiceCertSecretHandler(o *Options) *serviceCertSecretHandler
- func NewServiceHandler(o *Options) *serviceHandler
- func NewValidationHandler(o *Options) *validationHandler
- func NewWebhookConfigurationHandlerHandler(o *Options) *webhookConfigurationHandler
- type Deployer
- type Options
- type ReconcileRequestContext
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 Options ¶
type Options struct { OperandContext operatorruntime.OperandContext Client *operatorruntime.Client PrimaryLister runoncedurationoverridev1listers.RunOnceDurationOverrideLister SecondaryLister *secondarywatch.Lister Asset *asset.Asset Deploy deploy.Interface }
type ReconcileRequestContext ¶
type ReconcileRequestContext struct { operatorruntime.OperandContext // contains filtered or unexported fields }
func NewReconcileRequestContext ¶
func NewReconcileRequestContext(oc operatorruntime.OperandContext) *ReconcileRequestContext
func (*ReconcileRequestContext) ControllerSetter ¶
func (r *ReconcileRequestContext) ControllerSetter() operatorruntime.SetControllerFunc
func (*ReconcileRequestContext) GetBundle ¶
func (r *ReconcileRequestContext) GetBundle() *cert.Bundle
func (*ReconcileRequestContext) SetBundle ¶
func (r *ReconcileRequestContext) SetBundle(bundle *cert.Bundle)
Click to show internal directories.
Click to hide internal directories.