MCPcopy
hub / github.com/kubernetes/client-go / openstackAuthProvider

Struct openstackAuthProvider

plugin/pkg/client/auth/openstack/openstack.go:45–48  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

43// the environment variables to determine the client identity, and generates a
44// token which will be inserted into the request header later.
45type openstackAuthProvider struct {
46 ttl time.Duration
47 tokenGetter TokenGetter
48}
49
50// TokenGetter returns a bearer token that can be inserted into request.
51type TokenGetter interface {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected