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: 0

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