setup

package
v0.0.0-...-c9411c7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogProducer

func LogProducer(t *testing.T, c client.Client, opts ...LogProducerOption)

func LoggingOperator

func LoggingOperator(t *testing.T, c common.Cluster, opts ...LoggingOperatorOption)

Types

type LogProducerOption

type LogProducerOption interface {
	ApplyToLogProducerOptions(*LogProducerOptions)
}

type LogProducerOptionFunc

type LogProducerOptionFunc func(*LogProducerOptions)

func (LogProducerOptionFunc) ApplyToLogProducerOptions

func (fn LogProducerOptionFunc) ApplyToLogProducerOptions(options *LogProducerOptions)

type LogProducerOptions

type LogProducerOptions struct {
	Labels    map[string]string
	Name      string
	Namespace string
	Replicas  int
}

type LoggingOperatorOption

type LoggingOperatorOption interface {
	ApplyToLoggingOperatorOptions(options *LoggingOperatorOptions)
}

type LoggingOperatorOptionFunc

type LoggingOperatorOptionFunc func(*LoggingOperatorOptions)

func (LoggingOperatorOptionFunc) ApplyToLoggingOperatorOptions

func (fn LoggingOperatorOptionFunc) ApplyToLoggingOperatorOptions(options *LoggingOperatorOptions)

type LoggingOperatorOptions

type LoggingOperatorOptions struct {
	Namespace    string
	NameOverride string
	PollInterval time.Duration
	Timeout      time.Duration
}

type RESTClientGetter

type RESTClientGetter struct {
	// contains filtered or unexported fields
}

func NewRESTClientGetter

func NewRESTClientGetter(kubeconfigPath string, namespace string) (*RESTClientGetter, error)

func (*RESTClientGetter) ToDiscoveryClient

func (r *RESTClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)

func (*RESTClientGetter) ToRESTConfig

func (r *RESTClientGetter) ToRESTConfig() (*rest.Config, error)

func (*RESTClientGetter) ToRESTMapper

func (r *RESTClientGetter) ToRESTMapper() (meta.RESTMapper, error)

func (*RESTClientGetter) ToRawKubeConfigLoader

func (r *RESTClientGetter) ToRawKubeConfigLoader() clientcmd.ClientConfig

Jump to

Keyboard shortcuts

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