iamclient

package
v0.0.0-...-519b562 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package iamclient is for IAM integration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin() plugin.Plugin

NewPlugin returns an instance of the google iam client plugin

Types

type CertPoolFunc

type CertPoolFunc func() (*x509.CertPool, error)

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin for google IAM interaction.

func (Plugin) ExchangeToken

func (p Plugin) ExchangeToken(ctx context.Context, trustDomain, k8sSAjwt string) (
	string, time.Time, error)

ExchangeToken exchange oauth access token from trusted domain and k8s sa jwt.

Directories

Path Synopsis
Package stsclient is for oauth token exchange integration.
Package stsclient is for oauth token exchange integration.

Jump to

Keyboard shortcuts

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