gold

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const GitHubFolderPath = "github.com"

Variables

This section is empty.

Functions

This section is empty.

Types

type SolidGold

type SolidGold struct {
	*types.Group
	*types.GitHub `json:"github"`
	// contains filtered or unexported fields
}

func FromJSON

func FromJSON(byteAr []byte) *SolidGold

func FromJSONFile

func FromJSONFile(filepath string) *SolidGold

func NewSolidGold

func NewSolidGold() *SolidGold

func (*SolidGold) ConsumeBreachFiles

func (s *SolidGold) ConsumeBreachFiles(breachFilePaths ...string)

func (*SolidGold) ConsumeGithubOrgs

func (s *SolidGold) ConsumeGithubOrgs(includeMembers bool, orgs ...string)

func (*SolidGold) ConsumeGithubUsers

func (s *SolidGold) ConsumeGithubUsers(includeOrgs bool, users ...string)

func (*SolidGold) ConsumeGophishFiles

func (s *SolidGold) ConsumeGophishFiles(gophishFilePaths ...string)

func (*SolidGold) GithubClient added in v0.2.0

func (s *SolidGold) GithubClient() *github.Client

func (*SolidGold) Merge

func (s *SolidGold) Merge(primaryID string, otherIDs ...string)

func (*SolidGold) ProcessPath

func (s *SolidGold) ProcessPath(path string) *types.Group

func (*SolidGold) ProcessRepo

func (s *SolidGold) ProcessRepo(err error, path string)

func (*SolidGold) SetGitHubAccessToken added in v0.2.0

func (s *SolidGold) SetGitHubAccessToken(accessToken string)

func (*SolidGold) ToJSON

func (s *SolidGold) ToJSON() []byte

func (*SolidGold) ToJSONFile

func (s *SolidGold) ToJSONFile(goldFile string) error

func (*SolidGold) UpdateGithub added in v0.1.1

func (s *SolidGold) UpdateGithub(includeMembers, includeOrgs bool)

Jump to

Keyboard shortcuts

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