permissions

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NullChecker

func NullChecker() *nullChecker

Types

type AwsChecker

type AwsChecker struct {
	// contains filtered or unexported fields
}

func NewAwsChecker

func NewAwsChecker(ctx context.Context) (*AwsChecker, error)

func (*AwsChecker) MissingPermissions

func (c *AwsChecker) MissingPermissions() (result []string, err error)

type Checker

type Checker interface {
	MissingPermissions() ([]string, error)
}

type GcpChecker

type GcpChecker struct {
	// contains filtered or unexported fields
}

func NewGcpChecker

func NewGcpChecker(ctx context.Context, project string) (*GcpChecker, error)

func (*GcpChecker) MissingPermissions

func (g *GcpChecker) MissingPermissions() (result []string, err error)

Jump to

Keyboard shortcuts

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