privategithub

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

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(context context.T) 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

Directories

Path Synopsis
Package githubclient contains methods for interacting with git
Package githubclient contains methods for interacting with git
mock
Package mock_githubclient contains methods to mock githubclient package
Package mock_githubclient contains methods to mock githubclient package

Jump to

Keyboard shortcuts

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