Documentation ¶
Index ¶
- func NewAwsResolver(credConf *protos.CredResolverConfig) (credentials.CredResolver, error)
- type DefaultResolver
- func (r *DefaultResolver) Description() string
- func (r *DefaultResolver) GetSdkConfig(ctx context.Context) (cred interface{}, accountId string, err error)
- func (r *DefaultResolver) GetStatus(ctx context.Context) (protos.CredentialResolverStatus, error, error)
- func (r *DefaultResolver) SupportIdentityType() types.InfraVendor
- type LocalCred
- type ProfileResolver
- func (r *ProfileResolver) Description() string
- func (r *ProfileResolver) GetSdkConfig(ctx context.Context) (cred interface{}, profile string, err error)
- func (r *ProfileResolver) GetStatus(ctx context.Context) (protos.CredentialResolverStatus, error, error)
- func (r *ProfileResolver) SupportIdentityType() types.InfraVendor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAwsResolver ¶
func NewAwsResolver(credConf *protos.CredResolverConfig) (credentials.CredResolver, error)
Types ¶
type DefaultResolver ¶
type DefaultResolver struct { }
func (*DefaultResolver) Description ¶
func (r *DefaultResolver) Description() string
func (*DefaultResolver) GetSdkConfig ¶
func (r *DefaultResolver) GetSdkConfig(ctx context.Context) (cred interface{}, accountId string, err error)
func (*DefaultResolver) GetStatus ¶
func (r *DefaultResolver) GetStatus(ctx context.Context) (protos.CredentialResolverStatus, error, error)
func (*DefaultResolver) SupportIdentityType ¶
func (r *DefaultResolver) SupportIdentityType() types.InfraVendor
type ProfileResolver ¶
type ProfileResolver struct {
// contains filtered or unexported fields
}
func (*ProfileResolver) Description ¶
func (r *ProfileResolver) Description() string
func (*ProfileResolver) GetSdkConfig ¶
func (r *ProfileResolver) GetSdkConfig(ctx context.Context) (cred interface{}, profile string, err error)
func (*ProfileResolver) GetStatus ¶
func (r *ProfileResolver) GetStatus(ctx context.Context) (protos.CredentialResolverStatus, error, error)
func (*ProfileResolver) SupportIdentityType ¶
func (r *ProfileResolver) SupportIdentityType() types.InfraVendor
Click to show internal directories.
Click to hide internal directories.