Documentation ¶
Index ¶
- func EnvMapFrom(daemonSet *appsv1.DaemonSet) map[string]string
- func EnvMapFromVars(env []corev1.EnvVar) map[string]string
- type Driver
- func (d *Driver) AssertDaemonSet(ctx context.Context, name string) *appsv1.DaemonSet
- func (d *Driver) AssertDeployment(ctx context.Context, name string) *appsv1.Deployment
- func (d *Driver) AssertNoDaemonSet(ctx context.Context, name string)
- func (d *Driver) AssertNoDeployment(ctx context.Context, name string)
- func (d *Driver) AssertNoResource(obj client.Object)
- func (d *Driver) AssertReconcileError(ctx context.Context)
- func (d *Driver) AssertReconcileRequeue(ctx context.Context)
- func (d *Driver) AssertReconcileSuccess(ctx context.Context)
- func (d *Driver) AssertUninstallInitContainer(template *corev1.PodTemplateSpec, image string) map[string]string
- func (d *Driver) AwaitFinalizer(obj client.Object, finalizer string)
- func (d *Driver) AwaitNoResource(obj client.Object)
- func (d *Driver) BeforeEach()
- func (d *Driver) DeletePods(ctx context.Context, label, value string)
- func (d *Driver) DoReconcile(ctx context.Context) (reconcile.Result, error)
- func (d *Driver) GetDaemonSet(ctx context.Context, name string) (*appsv1.DaemonSet, error)
- func (d *Driver) GetDeployment(ctx context.Context, name string) (*appsv1.Deployment, error)
- func (d *Driver) JustBeforeEach()
- func (d *Driver) NewDaemonSet(name string) *appsv1.DaemonSet
- func (d *Driver) NewDeployment(name string) *appsv1.Deployment
- func (d *Driver) NewGeneralClient() client.Client
- func (d *Driver) NewPodWithLabel(label, value string) *corev1.Pod
- func (d *Driver) NewScopedClient() client.Client
- func (d *Driver) UpdateDaemonSetToObserved(ctx context.Context, daemonSet *appsv1.DaemonSet)
- func (d *Driver) UpdateDaemonSetToReady(ctx context.Context, daemonSet *appsv1.DaemonSet)
- func (d *Driver) UpdateDaemonSetToScheduled(ctx context.Context, daemonSet *appsv1.DaemonSet)
- func (d *Driver) UpdateDeploymentToReady(ctx context.Context, deployment *appsv1.Deployment)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver struct { InitScopedClientObjs []client.Object ScopedClient client.Client InitGeneralClientObjs []client.Object GeneralClient client.Client InterceptorFuncs interceptor.Funcs Controller reconcile.Reconciler Namespace string ResourceName string }
func (*Driver) AssertDaemonSet ¶
func (*Driver) AssertDeployment ¶
func (*Driver) AssertNoDaemonSet ¶
func (*Driver) AssertNoDeployment ¶
func (*Driver) AssertNoResource ¶ added in v0.16.0
func (*Driver) AssertReconcileError ¶
func (*Driver) AssertReconcileRequeue ¶
func (*Driver) AssertReconcileSuccess ¶
func (*Driver) AssertUninstallInitContainer ¶
func (*Driver) AwaitFinalizer ¶
func (*Driver) AwaitNoResource ¶ added in v0.13.0
func (*Driver) BeforeEach ¶
func (d *Driver) BeforeEach()
func (*Driver) DoReconcile ¶
func (*Driver) GetDaemonSet ¶
func (*Driver) GetDeployment ¶
func (*Driver) JustBeforeEach ¶
func (d *Driver) JustBeforeEach()
func (*Driver) NewDeployment ¶
func (d *Driver) NewDeployment(name string) *appsv1.Deployment
func (*Driver) NewGeneralClient ¶ added in v0.14.0
func (*Driver) NewScopedClient ¶ added in v0.14.0
func (*Driver) UpdateDaemonSetToObserved ¶
func (*Driver) UpdateDaemonSetToReady ¶
func (*Driver) UpdateDaemonSetToScheduled ¶
func (*Driver) UpdateDeploymentToReady ¶
func (d *Driver) UpdateDeploymentToReady(ctx context.Context, deployment *appsv1.Deployment)
Click to show internal directories.
Click to hide internal directories.