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