testing

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HookComplete = testing.HookComplete
)

Variables

View Source
var (
	InduceFailure             = testing.InduceFailure
	KeyOrDie                  = testing.KeyOrDie
	NewHooks                  = testing.NewHooks
	ExpectNormalEventDelivery = testing.ExpectNormalEventDelivery
	ValidateCreates           = testing.ValidateCreates
	ValidateUpdates           = testing.ValidateUpdates
	ConfigMapFromTestFile     = testing.ConfigMapFromTestFile

	TestLogger = logtesting.TestLogger
)

Functions

This section is empty.

Types

type ActionRecorder

type ActionRecorder = testing.ActionRecorder

type ActionRecorderList

type ActionRecorderList = testing.ActionRecorderList

type Factory

type Factory = testing.Factory

func MakeFactory

func MakeFactory(ctor Ctor) Factory

type FakeClock

type FakeClock struct {
	Time time.Time
}

func (FakeClock) Now

func (c FakeClock) Now() time.Time

type HookResult

type HookResult = testing.HookResult

type Listers

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

func NewListers

func NewListers(objs []runtime.Object) Listers

func (*Listers) GetBuildObjects

func (l *Listers) GetBuildObjects() []runtime.Object

func (*Listers) GetCachingObjects

func (l *Listers) GetCachingObjects() []runtime.Object

func (*Listers) GetClusterIngressLister

func (l *Listers) GetClusterIngressLister() networkinglisters.ClusterIngressLister

GetClusterIngressLister get lister for ClusterIngress resource.

func (*Listers) GetConfigMapLister

func (l *Listers) GetConfigMapLister() corev1listers.ConfigMapLister

func (*Listers) GetConfigurationLister

func (l *Listers) GetConfigurationLister() servinglisters.ConfigurationLister

func (*Listers) GetDeploymentLister

func (l *Listers) GetDeploymentLister() appsv1listers.DeploymentLister

func (*Listers) GetEndpointsLister

func (l *Listers) GetEndpointsLister() corev1listers.EndpointsLister

func (*Listers) GetImageLister

func (l *Listers) GetImageLister() cachinglisters.ImageLister

func (*Listers) GetK8sServiceLister

func (l *Listers) GetK8sServiceLister() corev1listers.ServiceLister

func (*Listers) GetKPALister

func (l *Listers) GetKPALister() kpalisters.PodAutoscalerLister

func (*Listers) GetKubeObjects

func (l *Listers) GetKubeObjects() []runtime.Object

func (*Listers) GetRevisionLister

func (l *Listers) GetRevisionLister() servinglisters.RevisionLister

func (*Listers) GetRouteLister

func (l *Listers) GetRouteLister() servinglisters.RouteLister

func (*Listers) GetServiceLister

func (l *Listers) GetServiceLister() servinglisters.ServiceLister

func (*Listers) GetServingObjects

func (l *Listers) GetServingObjects() []runtime.Object

func (*Listers) GetSharedObjects

func (l *Listers) GetSharedObjects() []runtime.Object

func (*Listers) GetVirtualServiceLister

func (l *Listers) GetVirtualServiceLister() istiolisters.VirtualServiceLister

type TableRow

type TableRow = testing.TableRow

type TableTest

type TableTest = testing.TableTest

Jump to

Keyboard shortcuts

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