github.com/replicatedhq/ship@v0.55.0/pkg/lifecycle/message/daemonless.go (about) 1 package message 2 3 import ( 4 "context" 5 6 "github.com/go-kit/kit/log" 7 "github.com/go-kit/kit/log/level" 8 "github.com/replicatedhq/ship/pkg/api" 9 "go.uber.org/dig" 10 ) 11 12 func NewDaemonlessMessenger( 13 logger log.Logger, 14 ) *DaemonlessMessenger { 15 return &DaemonlessMessenger{ 16 Logger: logger, 17 } 18 } 19 20 type DaemonlessMessenger struct { 21 dig.In 22 Logger log.Logger 23 } 24 25 func (d *DaemonlessMessenger) Execute(ctx context.Context, release *api.Release, step *api.Message) error { 26 level.Debug(d.Logger).Log("event", "DaemonlessMessenger.nothingToDo") 27 return nil 28 }