privategithub

package
v0.0.0-...-a9ed6da Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package privategithub deals with all the authorization invocations to access private github

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrivateGithubAccess

type PrivateGithubAccess interface {
	GetOAuthClient(log log.T, token string) (*http.Client, error)
}

type TokenInfoImpl

type TokenInfoImpl struct {
	SsmParameter func(log log.T, paramService ssmparameterresolver.ISsmParameterService, parameterReferences []string,
		resolverOptions ssmparameterresolver.ResolveOptions) (info map[string]ssmparameterresolver.SsmParameterInfo, err error)
	// contains filtered or unexported fields
}

func NewTokenInfoImpl

func NewTokenInfoImpl() TokenInfoImpl

NewTokenInfoImpl returns an object of type TokenInfoImpl

func (TokenInfoImpl) GetOAuthClient

func (t TokenInfoImpl) GetOAuthClient(log log.T, tokenInfo string) (client *http.Client, err error)

GetOAuthClient is the only method from privategithub package that is accessible to gitresource

Jump to

Keyboard shortcuts

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