Documentation
¶
Index ¶
- type AccountNotFoundError
- type Ancestors
- type Args
- type NoOpRateLimit
- type Node
- func (n *Node) BuildGraph(ctx context.Context, provider *Provider) error
- func (n *Node) DescendantAccountIDs() []string
- func (n *Node) DescendantAccounts() []*Node
- func (n *Node) DescendantOrganisationTypeAccounts() []organizationTypes.Account
- func (n *Node) DescendantOrganizationalUnitIDs() []string
- func (n *Node) DescendantOrganizationalUnits() []*Node
- func (n *Node) IsAccount() bool
- func (n *Node) IsOrganizationalUnit() bool
- func (n *Node) IsRoot() bool
- type OrganizationGraph
- type PermissionSetNotFoundErr
- type PermissionSetNotManagedByCommonFateError
- type Provider
- func (p *Provider) ArgOptionGroupValues(ctx context.Context, argId string, groupID string, groupValues []string) ([]string, error)
- func (p *Provider) ArgSchema() providers.ArgSchema
- func (p *Provider) Config() gconfig.Config
- func (p *Provider) Grant(ctx context.Context, subject string, args []byte, grantID string) error
- func (p *Provider) Init(ctx context.Context) error
- func (p *Provider) Instructions(ctx context.Context, subject string, args []byte, ...) (string, error)
- func (p *Provider) IsActive(ctx context.Context, subject string, args []byte, grantID string) (bool, error)
- func (p *Provider) Options(ctx context.Context, arg string) (*types.ArgOptionsResponse, error)
- func (p *Provider) Revoke(ctx context.Context, subject string, args []byte, grantID string) error
- func (p *Provider) SetupDocs() embed.FS
- func (p *Provider) Validate(ctx context.Context, subject string, args []byte) error
- func (p *Provider) ValidateConfig() map[string]providers.ConfigValidationStep
- func (p *Provider) ValidateGrant() providers.GrantValidationSteps
- type UserNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountNotFoundError ¶
type AccountNotFoundError struct {
AccountID string
}
func (*AccountNotFoundError) Error ¶
func (e *AccountNotFoundError) Error() string
type NoOpRateLimit ¶ added in v0.14.4
type NoOpRateLimit struct{}
https://github.com/aws/aws-sdk-go-v2/issues/543#issuecomment-620124268
func (NoOpRateLimit) AddTokens ¶ added in v0.14.4
func (NoOpRateLimit) AddTokens(uint) error
type Node ¶
type Node struct { ID string Graph *OrganizationGraph Parent *Node // Direct children of this node Children []*Node // All descendants of this node Descendants []*Node OrganizationalUnit *organizationTypes.OrganizationalUnit Account *organizationTypes.Account Root *organizationTypes.Root Ancestors Ancestors // contains filtered or unexported fields }
func (*Node) DescendantAccountIDs ¶
func (*Node) DescendantAccounts ¶
func (*Node) DescendantOrganisationTypeAccounts ¶
func (n *Node) DescendantOrganisationTypeAccounts() []organizationTypes.Account
func (*Node) DescendantOrganizationalUnitIDs ¶
func (*Node) DescendantOrganizationalUnits ¶
func (*Node) IsOrganizationalUnit ¶
type OrganizationGraph ¶
type OrganizationGraph struct { Root *Node // contains filtered or unexported fields }
type PermissionSetNotFoundErr ¶
type PermissionSetNotFoundErr struct { PermissionSet string // the underlying AWS error AWSErr error }
func (*PermissionSetNotFoundErr) Error ¶
func (e *PermissionSetNotFoundErr) Error() string
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) ArgOptionGroupValues ¶
func (*Provider) Instructions ¶
func (*Provider) IsActive ¶
func (p *Provider) IsActive(ctx context.Context, subject string, args []byte, grantID string) (bool, error)
IsActive checks whether the access is active by calling the AWS SSO API.
func (*Provider) SetupDocs ¶
SetupDocs returns the embedded filesystem containing setup documentation.
func (*Provider) Validate ¶
Validate the access against AWS SSO without actually granting it. This provider requires that the user name matches the user's email address.
func (*Provider) ValidateConfig ¶
func (p *Provider) ValidateConfig() map[string]providers.ConfigValidationStep
func (*Provider) ValidateGrant ¶
func (p *Provider) ValidateGrant() providers.GrantValidationSteps
type UserNotFoundError ¶
type UserNotFoundError struct {
Email string
}
func (*UserNotFoundError) Error ¶
func (e *UserNotFoundError) Error() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.