secretstore

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSecretStoreCondition added in v0.4.2

func GetSecretStoreCondition(status esapi.SecretStoreStatus, condType esapi.SecretStoreConditionType) *esapi.SecretStoreStatusCondition

GetSecretStoreCondition returns the condition with the provided type.

func NewSecretStoreCondition added in v0.4.2

func NewSecretStoreCondition(condType esapi.SecretStoreConditionType, status v1.ConditionStatus, reason, message string) *esapi.SecretStoreStatusCondition

NewSecretStoreCondition a set of default options for creating an External Secret Condition.

func SetExternalSecretCondition added in v0.4.2

func SetExternalSecretCondition(gs esapi.GenericStore, condition esapi.SecretStoreStatusCondition)

SetExternalSecretCondition updates the external secret to include the provided condition.

func ShouldProcessStore added in v0.4.2

func ShouldProcessStore(store esapi.GenericStore, class string) bool

ShouldProcessStore returns true if the store should be processed.

Types

type ClusterStoreReconciler added in v0.4.2

type ClusterStoreReconciler struct {
	client.Client
	Log             logr.Logger
	Scheme          *runtime.Scheme
	ControllerClass string
	RequeueInterval time.Duration
	// contains filtered or unexported fields
}

ClusterStoreReconciler reconciles a SecretStore object.

func (*ClusterStoreReconciler) Reconcile added in v0.4.2

func (r *ClusterStoreReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ClusterStoreReconciler) SetupWithManager added in v0.4.2

func (r *ClusterStoreReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager returns a new controller builder that will be started by the provided Manager.

type StoreReconciler added in v0.4.2

type StoreReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme

	RequeueInterval time.Duration
	ControllerClass string
	// contains filtered or unexported fields
}

StoreReconciler reconciles a SecretStore object.

func (*StoreReconciler) Reconcile added in v0.4.2

func (r *StoreReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*StoreReconciler) SetupWithManager added in v0.4.2

func (r *StoreReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager returns a new controller builder that will be started by the provided Manager.

Jump to

Keyboard shortcuts

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