Documentation ¶
Index ¶
- Variables
- type DisableSubscriber
- type ProjectWatch
- 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 ProjectWatch ¶ added in v0.26.2
type ProjectWatch struct {
// contains filtered or unexported fields
}
Keeps track of the projects we're currently watching.
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 { Name types.NamespacedName Spec v1alpha1.DockerComposeServiceSpec ImageMapSpecs []v1alpha1.ImageMapSpec ImageMapStatuses []v1alpha1.ImageMapStatus ProjectHash string Status v1alpha1.DockerComposeServiceStatus }
Keeps track of the state we currently know about.
func (*Result) SetImageMapInputs ¶ added in v0.26.2
func (r *Result) SetImageMapInputs(spec v1alpha1.DockerComposeServiceSpec, imageMaps map[types.NamespacedName]*v1alpha1.ImageMap)
Click to show internal directories.
Click to hide internal directories.