utils

package
v0.0.0-...-5623240 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetryOnError

func RetryOnError(retryConfig config.RetryConfig, logger boshlog.Logger) func(
	ctx context.Context,
	method string,
	url string,
	options *gophercloud.RequestOpts,
	inError error,
	failCount uint,
) error

func UniqueArray

func UniqueArray(input []string) []string

Types

type EnvVar

type EnvVar interface {
	Get(key string) string
}

func NewEnvVar

func NewEnvVar() EnvVar

type RetryableServiceClient

type RetryableServiceClient *gophercloud.ServiceClient

type ServiceClient

type ServiceClient *gophercloud.ServiceClient

type ServiceClients

type ServiceClients struct {
	ServiceClient          ServiceClient
	RetryableServiceClient RetryableServiceClient
}

func NewServiceClients

func NewServiceClients(serviceClient *gophercloud.ServiceClient, cpiConfig config.CpiConfig, logger boshlog.Logger) ServiceClients

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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