databricks-cli/bundle/deploy/terraform
Pieter Noordhuis 349e2aff40
Allow equivalence checking of filer errors to fs errors ()
## Changes

The pattern `errors.Is(err, fs.ErrNotExist)` is common to check for an
error type.

Errors can implement `Is(error) bool` with a custom equivalence checker.

## Tests

New asserts all pass in the integration test.
2023-05-31 20:47:00 +02:00
..
apply.go Added support for bundle.Seq, simplified Mutator.Apply interface () 2023-05-24 14:45:19 +02:00
convert.go Rename bricks -> databricks () 2023-05-16 18:35:39 +02:00
convert_test.go Rename bricks -> databricks () 2023-05-16 18:35:39 +02:00
destroy.go Added support for bundle.Seq, simplified Mutator.Apply interface () 2023-05-24 14:45:19 +02:00
dir.go Rename bricks -> databricks () 2023-05-16 18:35:39 +02:00
init.go Don't pass synthesized TMPDIR if not already set () 2023-05-26 13:05:30 +02:00
init_test.go Don't pass synthesized TMPDIR if not already set () 2023-05-26 13:05:30 +02:00
interpolate.go Rename bricks -> databricks () 2023-05-16 18:35:39 +02:00
load.go Added support for bundle.Seq, simplified Mutator.Apply interface () 2023-05-24 14:45:19 +02:00
load_test.go Added support for bundle.Seq, simplified Mutator.Apply interface () 2023-05-24 14:45:19 +02:00
pkg.go Add mutators to pull and push Terraform state () 2023-03-30 12:01:09 +02:00
plan.go Added support for bundle.Seq, simplified Mutator.Apply interface () 2023-05-24 14:45:19 +02:00
state_pull.go Allow equivalence checking of filer errors to fs errors () 2023-05-31 20:47:00 +02:00
state_push.go Added support for bundle.Seq, simplified Mutator.Apply interface () 2023-05-24 14:45:19 +02:00
util.go Do not truncate local state file when pulling remote changes () 2023-05-16 17:02:33 +02:00
util_test.go Do not truncate local state file when pulling remote changes () 2023-05-16 17:02:33 +02:00
write.go Added support for bundle.Seq, simplified Mutator.Apply interface () 2023-05-24 14:45:19 +02:00