Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetType() string CreateConfig(*domain.ProviderConfig) error GetResources(ctx context.Context, pc *domain.ProviderConfig) ([]*domain.Resource, error) GrantAccess(context.Context, *domain.ProviderConfig, domain.Grant) error RevokeAccess(context.Context, *domain.ProviderConfig, domain.Grant) error GetRoles(pc *domain.ProviderConfig, resourceType string) ([]*domain.Role, error) GetAccountTypes() []string ListAccess(context.Context, domain.ProviderConfig, []*domain.Resource) (domain.MapResourceAccess, error) }
type PermissionManager ¶
type PermissionManager interface {
GetPermissions(p *domain.ProviderConfig, resourceType, role string) ([]interface{}, error)
}
Click to show internal directories.
Click to hide internal directories.