add a new method to indicate if the command provides files to snapshot

This commit is contained in:
Tejal Desai
2020-05-01 15:50:46 -07:00
parent 2e1ca5f19d
commit 32e3336d4c
9 changed files with 61 additions and 10 deletions
+4
View File
@@ -32,6 +32,10 @@ func (b *BaseCommand) FilesToSnapshot() []string {
return []string{}
}
func (b *BaseCommand) ProvidesFilesToSnapshot() bool {
return false
}
func (b *BaseCommand) FilesUsedFromContext(_ *v1.Config, _ *dockerfile.BuildArgs) ([]string, error) {
return []string{}, nil
}