Documentation ¶
Index ¶
- Constants
- type FederatedTypeCRUDTester
- func (c *FederatedTypeCRUDTester) CheckCreate(desiredObject pkgruntime.Object) pkgruntime.Object
- func (c *FederatedTypeCRUDTester) CheckDelete(obj pkgruntime.Object, orphanDependents *bool)
- func (c *FederatedTypeCRUDTester) CheckLifecycle(desiredObject pkgruntime.Object)
- func (c *FederatedTypeCRUDTester) CheckPropagation(obj pkgruntime.Object)
- func (c *FederatedTypeCRUDTester) CheckUpdate(obj pkgruntime.Object)
- type TestLogger
Constants ¶
View Source
const (
AnnotationTestFederationCRUDUpdate string = "federation.kubernetes.io/test-federation-crud-update"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FederatedTypeCRUDTester ¶
type FederatedTypeCRUDTester struct {
// contains filtered or unexported fields
}
FederatedTypeCRUDTester exercises Create/Read/Update/Delete operations for federated types via the Federation API and validates that the results of those operations are propagated to clusters that are members of a federation.
func NewFederatedTypeCRUDTester ¶
func NewFederatedTypeCRUDTester(testLogger TestLogger, adapter federatedtypes.FederatedTypeAdapter, clusterClients []clientset.Interface, waitInterval, clusterWaitTimeout time.Duration) *FederatedTypeCRUDTester
func (*FederatedTypeCRUDTester) CheckCreate ¶
func (c *FederatedTypeCRUDTester) CheckCreate(desiredObject pkgruntime.Object) pkgruntime.Object
func (*FederatedTypeCRUDTester) CheckDelete ¶
func (c *FederatedTypeCRUDTester) CheckDelete(obj pkgruntime.Object, orphanDependents *bool)
func (*FederatedTypeCRUDTester) CheckLifecycle ¶
func (c *FederatedTypeCRUDTester) CheckLifecycle(desiredObject pkgruntime.Object)
func (*FederatedTypeCRUDTester) CheckPropagation ¶
func (c *FederatedTypeCRUDTester) CheckPropagation(obj pkgruntime.Object)
func (*FederatedTypeCRUDTester) CheckUpdate ¶
func (c *FederatedTypeCRUDTester) CheckUpdate(obj pkgruntime.Object)
type TestLogger ¶
type TestLogger interface { Fatalf(format string, args ...interface{}) Fatal(msg string) Logf(format string, args ...interface{}) }
TestLogger defines operations common across different types of testing
Click to show internal directories.
Click to hide internal directories.