dockercomposeservice

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type DisableSubscriber added in v0.26.0

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

func NewDisableSubscriber added in v0.26.0

func NewDisableSubscriber(ctx context.Context, dcc dockercompose.DockerComposeClient, clock clockwork.Clock) *DisableSubscriber

func (*DisableSubscriber) Reconcile added in v0.26.0

func (w *DisableSubscriber) Reconcile(ctx context.Context)

func (*DisableSubscriber) UpdateQueue added in v0.26.0

func (w *DisableSubscriber) UpdateQueue(rs resourceState)

type Reconciler

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

func NewReconciler

func NewReconciler(
	ctrlClient ctrlclient.Client,
	dcc dockercompose.DockerComposeClient,
	dc docker.Client,
	st store.RStore,
	scheme *runtime.Scheme,
	disableQueue *DisableSubscriber,
) *Reconciler

func (*Reconciler) CreateBuilder

func (r *Reconciler) CreateBuilder(mgr ctrl.Manager) (*builder.Builder, error)

func (*Reconciler) ForceApply

Apply the DockerCompose service spec, unconditionally, and requeue the reconciler so that it updates the apiserver.

We expose this as a public method as a hack! Currently, in Tilt, BuildController handles dependencies between resources. The API server doesn't know about build dependencies yet. So Tiltfile-owned resources are applied manually, rather than going through the normal reconcile system.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Redeploy the docker compose service when its spec changes or any of its dependencies change.

type Result added in v0.26.0

Keeps track of the state we currently know about.

Jump to

Keyboard shortcuts

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