Documentation

Overview

    Package client implements client-side fetch and transmission of signed GCE VM metadata tokens.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func NewClient

    func NewClient(meta *metadata.Client, acc string) *http.Client

      NewClient returns an *http.Client which sets a GCE VM metadata token in the Header of an *http.Request during Do. The audience for the token is the *http.Request.URL.Host.

      Types

      This section is empty.

      Source Files