iamrole

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package iamrole provides primitives and operations on IAM roles. See: https://cloud.google.com/iam/docs/understanding-roles See also: https://cloud.google.com/iam/docs/understanding-custom-roles

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasPermission

func HasPermission(role *admin.Role, permission string) bool

HasPermission reports whether the provided role has the provided permission. Always returns false for wildcard permissions.

func Validate

func Validate(role *admin.Role) error

Validate checks that an IAM role is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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