mirror of
https://github.com/gravitational/teleport
synced 2024-10-19 08:43:58 +00:00
3fba50261f
* Introduce proto types for ProvisionTokenV3 * Add methods to ProvisionTokenV3 to support ProvisionToken iface * Start building v3 support into the client * add support for mashalling and unmarshalling ProvisionTokenV3 * Start unit testing ProvisionTokenV3 * Remove oneof to support yaml marshal/unmarshal * Client should try V3 methods and fallback to v2 * More tests * Fix join tests * Fix integration tests * Switch integration tests to use v3 spec * Switch iam tests to use ProvisionTokenV3 * Change ec2 join tests to use V3 tokens * Fix events tests for V3 token * support ProvisionTokenV3 within API client events handler * Explicitly specify JoinMethod * Tidy up final usage of NewProvisionTokenV2FromSpec in tests * Improve proto docs on ProvisionTokenV3 * Fix bot join tests * Clarify error message for invalid join method * Adjust resource version comment * Fix comments and return error rather than bool in V2() method * Catch incompatible conversions case * Include V2 ProvisionToken in tests and add appropriate DELETE IN notes * Fix linter warnings/unit test failures * Use nolint rather than lint:ignore * Add more DELETE IN notes * Run goimports on join_ec2_test.go * Address PR comments from tim. * Add more deprecation/delete in notices * Improve godoc comments on checkAndSetDEfaults for provider config * Simplify implementation by dropping client-ahead compatability * Add some support for client-ahead but with conversion to v3 * Update code comments to include responsible party * Rename `Role` to `RoleARN` in EC2 configuration for clarity * Fix tests for Role -> RoleARN rename * Move MustCreateProvisionToken out of API and into test packages * Properly go imports files |
||
---|---|---|
.. | ||
appaccess | ||
db | ||
helpers | ||
hsm | ||
kube | ||
proxy | ||
agent_forwarding_test.go | ||
client_test.go | ||
ec2_test.go | ||
hostuser_test.go | ||
integration.go | ||
integration_test.go | ||
kube_integration_test.go | ||
main_test.go | ||
port_forwarding_test.go | ||
ports.go | ||
terminal_test.go | ||
utmp_integration_test.go |