config

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

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricsNamespace = "redhat_appstudio"
	MetricsSubsystem = "remotesecret"
)

Variables

View Source
var InstanceIdContextKey = instanceIdContextKeyType{}

Functions

func SetupCustomValidations

func SetupCustomValidations(options CustomValidationOptions) error

SetupCustomValidations creates new validator instance and configures it with requested validations

func ValidateStruct

func ValidateStruct(s interface{}) error

ValidateStruct validates struct on the preconfigured validator instance

Types

type CustomValidationOptions

type CustomValidationOptions struct {
	AllowInsecureURLs bool
}

CustomValidationOptions

type OperatorConfiguration

type OperatorConfiguration struct {
	ReconcileLogging bool
}

Jump to

Keyboard shortcuts

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