policy

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertHTTPStatusToGRPCError added in v0.0.16

func ConvertHTTPStatusToGRPCError(httpStatusCode int) codes.Code

Based off of gRPC standard here: https://chromium.googlesource.com/external/github.com/grpc/grpc/+/refs/tags/v1.21.4-pre1/doc/statuscodes.md

func GetDefaultArmClientOptions

func GetDefaultArmClientOptions(logger *log.Logger) *armPolicy.ClientOptions

Types

type LoggingPolicy

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

func NewLoggingPolicy

func NewLoggingPolicy(logger log.Logger) *LoggingPolicy

func (*LoggingPolicy) Clone

func (p *LoggingPolicy) Clone() azcorePolicy.Policy

func (*LoggingPolicy) Do

Jump to

Keyboard shortcuts

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