Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashicorpVaultHandler ¶ added in v1.5.0
type HashicorpVaultHandler struct {
// contains filtered or unexported fields
}
func NewHashicorpVaultHandler ¶ added in v1.5.0
func NewHashicorpVaultHandler(v *kedav1alpha1.HashiCorpVault) *HashicorpVaultHandler
func (*HashicorpVaultHandler) Initialize ¶ added in v1.5.0
func (vh *HashicorpVaultHandler) Initialize(logger logr.Logger) error
Initialize the Vault client
func (*HashicorpVaultHandler) Read ¶ added in v1.5.0
func (vh *HashicorpVaultHandler) Read(path string) (*vaultApi.Secret, error)
func (*HashicorpVaultHandler) Stop ¶ added in v1.5.0
func (vh *HashicorpVaultHandler) Stop()
Stop is responsible for stoping the renew token proccess
type ScaleHandler ¶
type ScaleHandler struct {
// contains filtered or unexported fields
}
ScaleHandler encapsulates the logic of calling the right scalers for each ScaledObject and making the final scale decision and operation
func NewScaleHandler ¶
func NewScaleHandler(client client.Client, reconcilerScheme *runtime.Scheme) *ScaleHandler
NewScaleHandler creates a ScaleHandler object
func (*ScaleHandler) GetDeploymentScalers ¶
func (h *ScaleHandler) GetDeploymentScalers(scaledObject *kedav1alpha1.ScaledObject) ([]scalers.Scaler, *appsv1.Deployment, error)
GetDeploymentScalers returns list of Scalers and Deployment for the specified ScaledObject
func (*ScaleHandler) HandleScaleLoop ¶
func (h *ScaleHandler) HandleScaleLoop(ctx context.Context, scaledObject *kedav1alpha1.ScaledObject)
HandleScaleLoop blocks forever and checks the scaledObject based on its pollingInterval
Click to show internal directories.
Click to hide internal directories.