Documentation ¶
Index ¶
- func AssertAction(t *testing.T, actual clienttesting.Action, expected string)
- func NewAppliedManifestWork(hash string, index int) *workapiv1.AppliedManifestWork
- func NewFakeRestMapper() meta.RESTMapper
- func NewManifestWork(index int, objects ...*unstructured.Unstructured) (*workapiv1.ManifestWork, string)
- func NewSecret(name, namespace string, content string) *corev1.Secret
- func NewUnstructured(apiVersion, kind, namespace, name string) *unstructured.Unstructured
- func NewUnstructuredSecret(namespace, name string, terminated bool, uid string) *unstructured.Unstructured
- func NewUnstructuredSecretBySize(namespace, name string, size int32) *unstructured.Unstructured
- func NewUnstructuredWithContent(apiVersion, kind, namespace, name string, content map[string]interface{}) *unstructured.Unstructured
- type FakeSyncContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAction ¶
func AssertAction(t *testing.T, actual clienttesting.Action, expected string)
func NewAppliedManifestWork ¶
func NewAppliedManifestWork(hash string, index int) *workapiv1.AppliedManifestWork
func NewFakeRestMapper ¶
func NewFakeRestMapper() meta.RESTMapper
func NewManifestWork ¶
func NewManifestWork(index int, objects ...*unstructured.Unstructured) (*workapiv1.ManifestWork, string)
func NewUnstructured ¶
func NewUnstructured(apiVersion, kind, namespace, name string) *unstructured.Unstructured
func NewUnstructuredSecret ¶
func NewUnstructuredSecret(namespace, name string, terminated bool, uid string) *unstructured.Unstructured
func NewUnstructuredSecretBySize ¶
func NewUnstructuredSecretBySize(namespace, name string, size int32) *unstructured.Unstructured
func NewUnstructuredWithContent ¶
func NewUnstructuredWithContent( apiVersion, kind, namespace, name string, content map[string]interface{}) *unstructured.Unstructured
Types ¶
type FakeSyncContext ¶
type FakeSyncContext struct {
// contains filtered or unexported fields
}
func NewFakeSyncContext ¶
func NewFakeSyncContext(t *testing.T, workKey string) *FakeSyncContext
func (FakeSyncContext) Queue ¶
func (f FakeSyncContext) Queue() workqueue.RateLimitingInterface
func (FakeSyncContext) QueueKey ¶
func (f FakeSyncContext) QueueKey() string
func (FakeSyncContext) Recorder ¶
func (f FakeSyncContext) Recorder() events.Recorder
Click to show internal directories.
Click to hide internal directories.