Internal
internal/app/update
Package update refreshes managed scafld core assets.
import "github.com/nilstate/scafld/v2/internal/app/update"
Package update refreshes managed scafld core assets.
Functions
func Run(ctx context.Context, bundle Bundle) error
Source: internal/app/update/update.go:11
Run refreshes managed core assets if a bundle is provided.
Types
type Bundle
Source: internal/app/update/update.go:6
Bundle is the managed core refresh port.
type Bundle interface {
Refresh(context.Context) error
}Methods
Refresh func(context.Context) error
