utils

package
v1.9.5-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildNodePoolMap

func BuildNodePoolMap(nodePools []aksv1.AKSNodePool, clusterName string) (map[string]*aksv1.AKSNodePool, error)

func ConvertToPointerOfSlice added in v1.9.0

func ConvertToPointerOfSlice[T any](sliceToPtr []*T) *[]T

func ConvertToSliceOfPointers added in v1.9.0

func ConvertToSliceOfPointers[T any](ptrToSlice *[]T) []*T

func ParseSecretName

func ParseSecretName(ref string) (namespace string, name string)

func RequestWithInspection added in v1.1.4

func RequestWithInspection() autorest.PrepareDecorator

RequestWithInspection logs the request URL and method before sending the request to Azure API server for processing.

func ResponseWithInspection added in v1.1.4

func ResponseWithInspection() autorest.RespondDecorator

ResponseWithInspection logs the response status, request URL, and request ID after receiving the response from Azure API server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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