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
- func GetExternalSecretCondition(status esv1alpha1.ExternalSecretStatus, ...) *esv1alpha1.ExternalSecretStatusCondition
- func NewExternalSecretCondition(condType esv1alpha1.ExternalSecretConditionType, status v1.ConditionStatus, ...) *esv1alpha1.ExternalSecretStatusCondition
- func SetExternalSecretCondition(es *esv1alpha1.ExternalSecret, ...)
- type Reconciler
Constants ¶
View Source
const ( ExternalSecretSubsystem = "externalsecret" SyncCallsKey = "sync_calls_total" SyncCallsErrorKey = "sync_calls_error" )
Variables ¶
This section is empty.
Functions ¶
func GetExternalSecretCondition ¶
func GetExternalSecretCondition(status esv1alpha1.ExternalSecretStatus, condType esv1alpha1.ExternalSecretConditionType) *esv1alpha1.ExternalSecretStatusCondition
GetExternalSecretCondition returns the condition with the provided type.
func NewExternalSecretCondition ¶
func NewExternalSecretCondition(condType esv1alpha1.ExternalSecretConditionType, status v1.ConditionStatus, reason, message string) *esv1alpha1.ExternalSecretStatusCondition
func SetExternalSecretCondition ¶
func SetExternalSecretCondition(es *esv1alpha1.ExternalSecret, condition esv1alpha1.ExternalSecretStatusCondition)
SetExternalSecretCondition updates the external secret to include the provided condition.
Types ¶
Click to show internal directories.
Click to hide internal directories.