Documentation ¶
Overview ¶
Package extension implements Tilt extensions. This is not the internal Starkit abstraction, but the user-visible feature. In a Tiltfile, you can write `load("ext://foo", "bar")` to load the function bar from the extension foo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtReconciler ¶ added in v0.25.0
type ExtReconciler interface {
ForceApply(ext *v1alpha1.Extension, repo *v1alpha1.ExtensionRepo) v1alpha1.ExtensionStatus
}
type ExtRepoReconciler ¶ added in v0.25.0
type ExtRepoReconciler interface {
ForceApply(ctx context.Context, repo *v1alpha1.ExtensionRepo) v1alpha1.ExtensionRepoStatus
}
Interfaces with just the reconciler methods we need.
type FakeExtReconciler ¶ added in v0.25.0
type FakeExtReconciler struct { Error string // contains filtered or unexported fields }
func NewFakeExtReconciler ¶ added in v0.25.0
func NewFakeExtReconciler(path string) *FakeExtReconciler
func (*FakeExtReconciler) ForceApply ¶ added in v0.25.0
func (r *FakeExtReconciler) ForceApply(ext *v1alpha1.Extension, repo *v1alpha1.ExtensionRepo) v1alpha1.ExtensionStatus
type FakeExtRepoReconciler ¶ added in v0.25.0
type FakeExtRepoReconciler struct { Error string // contains filtered or unexported fields }
Fake versions of these interfaces.
func NewFakeExtRepoReconciler ¶ added in v0.25.0
func NewFakeExtRepoReconciler(path string) *FakeExtRepoReconciler
func (*FakeExtRepoReconciler) ForceApply ¶ added in v0.25.0
func (r *FakeExtRepoReconciler) ForceApply(ctx context.Context, repo *v1alpha1.ExtensionRepo) v1alpha1.ExtensionRepoStatus
type Plugin ¶ added in v0.22.4
type Plugin struct {
// contains filtered or unexported fields
}
func NewFakePlugin ¶ added in v0.25.0
func NewFakePlugin(repoReconciler ExtRepoReconciler, extReconciler ExtReconciler) *Plugin
func NewPlugin ¶ added in v0.22.4
func NewPlugin(repoReconciler *extensionrepo.Reconciler, extReconciler *extension.Reconciler) *Plugin
Click to show internal directories.
Click to hide internal directories.