fetch

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitHubDeployKeys added in v1.1.7

func GitHubDeployKeys(ownerRepos []string, token string) (map[string][]string, error)

GitHubDeployKeys fetches repositories' SSH keys from GitHub

func GitHubOrganisationKeys added in v1.1.4

func GitHubOrganisationKeys(organizationName string, params GithubFetchParams) (map[string][]string, error)

GitHubOrganisationKeys fetches organization users public SSH key from GitHub

func GitHubUsers added in v1.1.4

func GitHubUsers(usernames []string, token string) (map[string][]string, error)

GitHubUsers fetches users public SSH keys from GitHub

Types

type GithubFetchParams

type GithubFetchParams struct {
	Token             string
	TeamNames         []string
	PublicMembersOnly bool
}

GithubFetchParams contains all parameters what are required for fetching tokens from GitHub

Jump to

Keyboard shortcuts

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