Documentation ¶
Index ¶
- Variables
- func DoctorCommand(c *cli.Context) error
- type GrantedDoctor
- func (d *GrantedDoctor) CheckAllAWSCacheTokens(ctx context.Context) error
- func (d *GrantedDoctor) CheckAllAWSKeychainTokens(ctx context.Context) error
- func (d *GrantedDoctor) CheckValidCredentials(ctx context.Context, token cfaws.SSOPlainTextOut) error
- func (d *GrantedDoctor) CommonIssuesWarningMessages(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Name: "doctor", Usage: "Run diagnostics locally to help debug common issues relating to granted and aws", Subcommands: []*cli.Command{}, Action: DoctorCommand, Flags: []cli.Flag{&cli.StringFlag{ Name: "profile", }}, }
Functions ¶
func DoctorCommand ¶
func DoctorCommand(c *cli.Context) error
Types ¶
type GrantedDoctor ¶
type GrantedDoctor struct { ProfileName string Profile cfaws.Profile Profiles *cfaws.Profiles Cfg *grantedConfig.Config }
func (*GrantedDoctor) CheckAllAWSCacheTokens ¶
func (d *GrantedDoctor) CheckAllAWSCacheTokens(ctx context.Context) error
func (*GrantedDoctor) CheckAllAWSKeychainTokens ¶
func (d *GrantedDoctor) CheckAllAWSKeychainTokens(ctx context.Context) error
func (*GrantedDoctor) CheckValidCredentials ¶
func (d *GrantedDoctor) CheckValidCredentials(ctx context.Context, token cfaws.SSOPlainTextOut) error
func (*GrantedDoctor) CommonIssuesWarningMessages ¶
func (d *GrantedDoctor) CommonIssuesWarningMessages(ctx context.Context) error
This method handles telling the user about some of the configurations they may have set and the potential for unintended outcomes as a result
Click to show internal directories.
Click to hide internal directories.