fetch

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitHubDeployKeys

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

GitHubDeployKeys fetches repositories' SSH keys from GitHub.

func GitHubOrganisationKeys

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

GitHubOrganisationKeys fetches organization users public SSH key from GitHub.

func GitHubUsers

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