iamannotations

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveLongRunningOperationsAuthorizationOptions

func ResolveLongRunningOperationsAuthorizationOptions(
	options *iamv1.LongRunningOperationsAuthorizationOptions,
	files *protoregistry.Files,
	startPackage protoreflect.FullName,
) (*iamv1.LongRunningOperationsAuthorizationOptions, error)

ResolveLongRunningOperationsAuthorizationOptions resolves long-running operation authorization options for a service. The provided files registry is used for resolving resource patterns.

func ResolveMethodAuthorizationOptions

func ResolveMethodAuthorizationOptions(
	options *iamv1.MethodAuthorizationOptions,
	files *protoregistry.Files,
	startPackage protoreflect.FullName,
) (*iamv1.MethodAuthorizationOptions, error)

ResolveMethodAuthorizationOptions loads method authorization options for a service. The provided files registry is used for resolving resource patterns.

func ValidateLongRunningOperationsAuthorization

func ValidateLongRunningOperationsAuthorization(
	options *iamv1.LongRunningOperationsAuthorizationOptions,
) error

ValidateLongRunningOperationsAuthorization checks that a long-running operations authorization annotation is valid.

func ValidateMethodAuthorizationOptions

func ValidateMethodAuthorizationOptions(
	methodAuthorization *iamv1.MethodAuthorizationOptions,
	method protoreflect.MethodDescriptor,
	files *protoregistry.Files,
) error

func ValidatePredefinedRoles

func ValidatePredefinedRoles(roles *iamv1.PredefinedRoles) error

ValidatePredefinedRoles validates a set of predefined roles.

Types

This section is empty.

Jump to

Keyboard shortcuts

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