api

package
v1.0.38 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package api contains interfaces for client factories in the clients package. Because there are so many interdependencies between clients (eg. we need to load service account keys from Vault in order to create Google API clients), keeping interfaces in a separate package avoids dependency cycles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketFactory

type BucketFactory interface {
	Bucket(name string, options ...bucket.BucketOption) (bucket.Bucket, error)
}

type VaultFactory

type VaultFactory interface {
	Vault() (*vaultapi.Client, error)
}

Jump to

Keyboard shortcuts

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