Documentation ¶
Index ¶
- Constants
- func AddPatchCollectorReactor(client *fake.FakeDynamicClient, patches *[]map[string]interface{})
- func NewApp(name string, modifiers ...func(app *unstructured.Unstructured)) *unstructured.Unstructured
- func NewFakeClient(objects ...runtime.Object) *fake.FakeDynamicClient
- func NewProject(name string, modifiers ...func(app *unstructured.Unstructured)) *unstructured.Unstructured
- func WithAnnotations(annotations map[string]string) func(obj *unstructured.Unstructured)
- func WithConditions(pairs ...string) func(app *unstructured.Unstructured)
- func WithHealthStatus(status string) func(app *unstructured.Unstructured)
- func WithObservedAt(t time.Time) func(app *unstructured.Unstructured)
- func WithProject(project string) func(app *unstructured.Unstructured)
- func WithReconciledAt(t time.Time) func(app *unstructured.Unstructured)
- func WithRepoURL(repo string) func(app *unstructured.Unstructured)
- func WithSyncOperationFinishedAt(t time.Time) func(app *unstructured.Unstructured)
- func WithSyncOperationPhase(phase string) func(app *unstructured.Unstructured)
- func WithSyncOperationStartAt(t time.Time) func(app *unstructured.Unstructured)
- func WithSyncStatus(status string) func(app *unstructured.Unstructured)
Constants ¶
View Source
const (
TestNamespace = "default"
)
Variables ¶
This section is empty.
Functions ¶
func AddPatchCollectorReactor ¶ added in v0.5.0
func AddPatchCollectorReactor(client *fake.FakeDynamicClient, patches *[]map[string]interface{})
func NewApp ¶
func NewApp(name string, modifiers ...func(app *unstructured.Unstructured)) *unstructured.Unstructured
func NewFakeClient ¶ added in v1.1.0
func NewFakeClient(objects ...runtime.Object) *fake.FakeDynamicClient
func NewProject ¶
func NewProject(name string, modifiers ...func(app *unstructured.Unstructured)) *unstructured.Unstructured
func WithAnnotations ¶
func WithAnnotations(annotations map[string]string) func(obj *unstructured.Unstructured)
func WithConditions ¶ added in v0.7.0
func WithConditions(pairs ...string) func(app *unstructured.Unstructured)
func WithHealthStatus ¶
func WithHealthStatus(status string) func(app *unstructured.Unstructured)
func WithObservedAt ¶ added in v0.6.0
func WithObservedAt(t time.Time) func(app *unstructured.Unstructured)
func WithProject ¶
func WithProject(project string) func(app *unstructured.Unstructured)
func WithReconciledAt ¶ added in v0.6.0
func WithReconciledAt(t time.Time) func(app *unstructured.Unstructured)
func WithRepoURL ¶ added in v0.7.0
func WithRepoURL(repo string) func(app *unstructured.Unstructured)
func WithSyncOperationFinishedAt ¶ added in v0.6.0
func WithSyncOperationFinishedAt(t time.Time) func(app *unstructured.Unstructured)
func WithSyncOperationPhase ¶
func WithSyncOperationPhase(phase string) func(app *unstructured.Unstructured)
func WithSyncOperationStartAt ¶ added in v0.5.0
func WithSyncOperationStartAt(t time.Time) func(app *unstructured.Unstructured)
func WithSyncStatus ¶
func WithSyncStatus(status string) func(app *unstructured.Unstructured)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.