Overview
Package types has all type definitions for functions and their mocks
Imports: 3
Index
Examples
This section is empty.
Constants
This section is empty.
Variables
This section is empty.
Types
type AwsConfig interface {
func AccessKeyID(ctx context.Context) (string, error)
func LoadDefaultConfig(ctx context.Context) error
func NewIam() AwsIam
}
type AwsIam interface {
func CreateAccessKey(ctx context.Context) (*iamtypes.AccessKey, error)
func DeleteAccessKey(ctx context.Context, accessKeyId string) error
}
type DotAws interface {
func Load() error
func GetProfile(accessKeyId string) (*ini.Section, error)
func Save(profile *ini.Section, accessKey types.AccessKey) error
}
type Rotate interface {
func Execute(awsCfg AwsConfig, fileCfg DotAws) error
}
--
Generated by github.com/jylitalo/go2md v0.4.1