utils

package
v0.0.0-...-e050086 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s []string, str string) bool

Contains returns true when the given string is present in the given slice

Types

type SetupWebhookWithManagerConfig

type SetupWebhookWithManagerConfig struct {
	Manager                       ctrl.Manager
	Logger                        *zap.SugaredLogger
	MetricsSink                   metrics.Sink
	TracerSink                    tracer.Sink
	Recorder                      record.EventRecorder
	NamespaceThresholdFlag        int
	ClusterThresholdFlag          int
	EnableSafemodeFlag            bool
	DeleteOnlyFlag                bool
	HandlerEnabledFlag            bool
	DefaultDurationFlag           time.Duration
	MaxDurationFlag               time.Duration
	ChaosNamespace                string
	CloudServicesProvidersManager cloudservice.CloudServicesProvidersManager
	Environment                   string
	PermittedUserGroups           []string
}

Jump to

Keyboard shortcuts

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