Documentation ¶
Index ¶
- Variables
- type DisableSubscriber
- type Reconciler
- func (r *Reconciler) CreateBuilder(mgr ctrl.Manager) (*builder.Builder, error)
- func (r *Reconciler) ForceApply(ctx context.Context, nn types.NamespacedName, ...) v1alpha1.DockerComposeServiceStatus
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- type Result
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( NewReconciler, NewDisableSubscriber, )
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 (*Reconciler) ForceApply ¶
func (r *Reconciler) ForceApply( ctx context.Context, nn types.NamespacedName, spec v1alpha1.DockerComposeServiceSpec, imageMaps map[types.NamespacedName]*v1alpha1.ImageMap, dcManagedBuild bool) v1alpha1.DockerComposeServiceStatus
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.
type Result ¶ added in v0.26.0
type Result struct { Spec v1alpha1.DockerComposeServiceSpec Status v1alpha1.DockerComposeServiceStatus }
Keeps track of the state we currently know about.
Click to show internal directories.
Click to hide internal directories.