github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/internal/store/cmdimages/actions.go (about) 1 package cmdimages 2 3 import "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1" 4 5 type CmdImageUpsertAction struct { 6 CmdImage *v1alpha1.CmdImage 7 } 8 9 func NewCmdImageUpsertAction(obj *v1alpha1.CmdImage) CmdImageUpsertAction { 10 return CmdImageUpsertAction{CmdImage: obj} 11 } 12 13 func (CmdImageUpsertAction) Action() {} 14 15 type CmdImageDeleteAction struct { 16 Name string 17 } 18 19 func NewCmdImageDeleteAction(n string) CmdImageDeleteAction { 20 return CmdImageDeleteAction{Name: n} 21 } 22 23 func (CmdImageDeleteAction) Action() {}