openstackAuthProvider is an authprovider for openstack. this provider reads the environment variables to determine the client identity, and generates a token which will be inserted into the request header later.
| 43 | // the environment variables to determine the client identity, and generates a |
| 44 | // token which will be inserted into the request header later. |
| 45 | type openstackAuthProvider struct { |
| 46 | ttl time.Duration |
| 47 | tokenGetter TokenGetter |
| 48 | } |
| 49 | |
| 50 | // TokenGetter returns a bearer token that can be inserted into request. |
| 51 | type TokenGetter interface { |
nothing calls this directly
no outgoing calls
no test coverage detected