github_forge

package
v0.0.0-...-483e9f6 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forge

type Forge struct {
	// contains filtered or unexported fields
}

func New

func New(organization string, appId string, appPrivateKey []byte, shouldMakeRepoPublic bool) (*Forge, error)

func (*Forge) EnsureRepositoryExists

func (f *Forge) EnsureRepositoryExists(auth *forge.Authenticator, repo string) error

func (*Forge) GetAuthenticator

func (f *Forge) GetAuthenticator() (*forge.Authenticator, error)

func (*Forge) GetCommitViewerURL

func (f *Forge) GetCommitViewerURL(repo string, commit string) string

func (*Forge) GetMeID

func (f *Forge) GetMeID(installation string, appSlug string) (string, error)

func (*Forge) GetRemote

func (f *Forge) GetRemote(repo string) string

func (*Forge) WithNamespace

func (f *Forge) WithNamespace(namespace string) forge.Forge

Jump to

Keyboard shortcuts

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