github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/internal/store/imagemaps/actions.go (about)

     1  package imagemaps
     2  
     3  import "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1"
     4  
     5  type ImageMapUpsertAction struct {
     6  	ImageMap *v1alpha1.ImageMap
     7  }
     8  
     9  func NewImageMapUpsertAction(obj *v1alpha1.ImageMap) ImageMapUpsertAction {
    10  	return ImageMapUpsertAction{ImageMap: obj}
    11  }
    12  
    13  func (ImageMapUpsertAction) Action() {}
    14  
    15  type ImageMapDeleteAction struct {
    16  	Name string
    17  }
    18  
    19  func NewImageMapDeleteAction(n string) ImageMapDeleteAction {
    20  	return ImageMapDeleteAction{Name: n}
    21  }
    22  
    23  func (ImageMapDeleteAction) Action() {}