iamclient

package
v0.0.0-...-48a44ca Latest Latest
Warning

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

Go to latest
Published: Jan 2, 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 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.

Jump to

Keyboard shortcuts

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