Documentation ¶
Index ¶
- func ResolveLongRunningOperationsAuthorizationOptions(options *iamv1.LongRunningOperationsAuthorizationOptions, ...) (*iamv1.LongRunningOperationsAuthorizationOptions, error)
- func ResolveMethodAuthorizationOptions(options *iamv1.MethodAuthorizationOptions, files *protoregistry.Files, ...) (*iamv1.MethodAuthorizationOptions, error)
- func ValidateLongRunningOperationsAuthorization(options *iamv1.LongRunningOperationsAuthorizationOptions) error
- func ValidateMethodAuthorizationOptions(methodAuthorization *iamv1.MethodAuthorizationOptions, ...) error
- func ValidatePredefinedRoles(roles *iamv1.PredefinedRoles) error
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.
Click to show internal directories.
Click to hide internal directories.