iamrole

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 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 *adminpb.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 *adminpb.Role) error

Validate checks that an IAM role is valid.

func ValidateName added in v0.40.0

func ValidateName(name string) error

ValidateName checks that an IAM role name 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