apitools

package
v1.3.13 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package apitools contains utility functions for the clients

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthenticatedContext

func NewAuthenticatedContext(token string, timeout time.Duration) (ctx context.Context, done func())

NewAuthenticatedContext creates a context with a token authentication. The done function returned should be called when the operation is finished as usual.

Types

This section is empty.

Jump to

Keyboard shortcuts

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