providers

package
v0.12.7-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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)
}

Directories

Path Synopsis
gcs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL