Documentation ¶
Overview ¶
Package managedidentity package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticateResponse ¶ added in v0.26.0
type AuthenticateResponse struct { Env map[string]string HostCredentialFileMapping map[string]string }
AuthenticateResponse contains the environment variables and host credential file mappings
type Authenticator ¶
type Authenticator interface { Authenticate( ctx context.Context, managedIdentities []types.ManagedIdentity, credsRetriever func(ctx context.Context, managedIdentity *types.ManagedIdentity) ([]byte, error), ) (*AuthenticateResponse, error) Close(ctx context.Context) error }
Authenticator provides the cloud provider specific authentication logic
type MockAuthenticator ¶ added in v0.26.0
MockAuthenticator is an autogenerated mock type for the Authenticator type
func NewMockAuthenticator ¶ added in v0.26.0
func NewMockAuthenticator(t mockConstructorTestingTNewMockAuthenticator) *MockAuthenticator
NewMockAuthenticator creates a new instance of MockAuthenticator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockAuthenticator) Authenticate ¶ added in v0.26.0
func (_m *MockAuthenticator) Authenticate(ctx context.Context, managedIdentities []types.ManagedIdentity, credsRetriever func(context.Context, *types.ManagedIdentity) ([]byte, error)) (*AuthenticateResponse, error)
Authenticate provides a mock function with given fields: ctx, managedIdentities, credsRetriever
Directories ¶
Path | Synopsis |
---|---|
Package awsfederated package
|
Package awsfederated package |
Package azurefederated package
|
Package azurefederated package |
Package tharsisfederated package
|
Package tharsisfederated package |
Click to show internal directories.
Click to hide internal directories.