Documentation ¶
Index ¶
- func LogProducer(t *testing.T, c client.Client, opts ...LogProducerOption)
- func LoggingOperator(t *testing.T, c common.Cluster, opts ...LoggingOperatorOption)
- type LogProducerOption
- type LogProducerOptionFunc
- type LogProducerOptions
- type LoggingOperatorOption
- type LoggingOperatorOptionFunc
- type LoggingOperatorOptions
- type RESTClientGetter
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 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 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
Click to show internal directories.
Click to hide internal directories.