Commit Graph

146 Commits (03f6c650ca9e78fc0d80d430ca1ec2a52c262da4)

Author SHA1 Message Date
Mitchell Hashimoto 03f6c650ca
state/remote: ClientLocker is just a Client that is a state.Locker
9 years ago
Mitchell Hashimoto 9451acc5da
state/remote: add unit test to verify s3 is a ClientLocker as well
9 years ago
Mitchell Hashimoto efe754183b
state/remote: export ClientLocker, test for implementation
9 years ago
James Bardin ec00564be6 Clean up LockInfo and LockError and use them
9 years ago
James Bardin 888af93356 Have S3 check the lockID on Unlock
9 years ago
James Bardin 67bbebce08 Have consul state reutrn the lock ID
9 years ago
James Bardin 08cff7cc13 have LocalState check Lock ID on Unlock
9 years ago
James Bardin 6aa1066f7c Store and use the correct IDs in TestRemoteLocks
9 years ago
James Bardin f5ed8cd288 Use NewLockInfo to get a pre-populated value
9 years ago
James Bardin 52b2343672 make state test pass with new state.Locker
9 years ago
James Bardin 4f0c465187 make command tests pass with new state.Locker
9 years ago
James Bardin 6d32b70637 Make S3 remote state pass tests
9 years ago
James Bardin 0ad6f08204 Make remote state test run
9 years ago
James Bardin 200c8de4e9 Update the state.Locker interface
9 years ago
Mitchell Hashimoto a7cfb8062b
state: just style changes in the code itself (newlines, moving methods)
9 years ago
James Bardin 4d00c29706 Merge pull request #11836 from hashicorp/jbardin/state-locking
9 years ago
James Bardin 0c1b138719 Add state locking during backend init
9 years ago
Daren Desjardins 5718294386 state/remote/s3: Fix Bug with Assume Role for Federated IAM Account (#10067)
9 years ago
James Bardin 5c2e945b3c Fix format string and typos
9 years ago
James Bardin 14d965722e Use single state.LockInfo struct
9 years ago
James Bardin 9b76f6e138 Move TestRemoteLocks to state/remote
9 years ago
James Bardin e92559f518 Cleanup state file during Unlock
9 years ago
James Bardin a2b5811f50 Remove "expires" from lock info.
9 years ago
James Bardin 1078781487 Change lock reason -> info
9 years ago
James Bardin ebd88f8f8a add msdn link for LockFileEx
9 years ago
James Bardin 370a4ca70b add mutex for windows lockedFiles map
9 years ago
James Bardin 7590154974 Don't create empty backups
9 years ago
James Bardin 1646310e68 Allow a non-existent state file
9 years ago
James Bardin 3fdcbda3aa Switch from Path to PathOut on LocalState.written
9 years ago
James Bardin 8f7f1917f2 Remove state file data when writing a nil state
9 years ago
James Bardin da0c325e5c Silence state package logs during tests
9 years ago
James Bardin 10f6d7f30f Add locking for s3 state
9 years ago
James Bardin 35307d5a60 Add remote state locking
9 years ago
James Bardin 6162cde6ff Add basic local state locking
9 years ago
James Bardin cc0712edab add state.Locker interface
9 years ago
Mitchell Hashimoto d3633ab368
state/remote: remove consul since we converted that
9 years ago
Ben Slusky e3b20c3508 Basic authentication for HTTP remote state backend
9 years ago
Aleksander Modzelewski 2627e4bd8d Add token authentication to Swift remote
10 years ago
Joe Topjian 8ecc6fda0a Merge pull request #10055 from fatmcgav/swift_add_version_expire
10 years ago
Gavin Williams c77ed69a4e state/remote/swift: Add support for versioning state file in swift, and expiring object after period of time.
10 years ago
James Bardin 91378d0499 Merge pull request #10233 from hashicorp/jbardin/GH-10229
10 years ago
James Bardin 9616618de1 Make sure test has a valid ResourceState
10 years ago
James Bardin 7715bc8423 change failing test to use subtests
10 years ago
Peter McAtominey 507efcb180 state/azure: support passing of lease ID when writing storage blob (#10115)
10 years ago
Gavin Williams bf8612b9b7 state/remote/swift: Enhancements to support full set of Openstack configuration options, plus SSL certs. Documentation updated to support
10 years ago
Gavin Williams ac07430124 state/remote/swift: Update to use Gophercloud/gophercloud, restructure to support insecure TLS, added Keystone v3 auth params
10 years ago
James Bardin f175497dd7 Fix vet issues
10 years ago
James Nugent afe2d7b65b Merge pull request #7320 from dtolnay/conflict
10 years ago
Cameron Watters b4eb63d710 state/remote: New provider - manta
10 years ago
David Tolnay bb7dfaec81 Fix TestCacheState_RefreshState
10 years ago