remote_repository

package
v0.0.0-test Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ErrGitHubRateLimitReached = "github rate limit reached"

Variables

This section is empty.

Functions

This section is empty.

Types

type Export

type Export struct {
	DefaultFilePath string
	Options         *api.RESTRemoteExportOptions
	Content         []byte
	Cacher          cache.CacheInterface
	AccessControl   *access.AccessControl
}

func (*Export) Do

func (exp *Export) Do() error

type GitHubExport

type GitHubExport struct {
	Config *share.RemoteRepository_GitHubConfiguration
	// contains filtered or unexported fields
}

func NewGitHubExport

func NewGitHubExport(filePath string, fileContents []byte, commitMessage string, config api.RESTRemoteRepo_GitHubConfig) (GitHubExport, error)

func (GitHubExport) Do

func (exp GitHubExport) Do() error

Jump to

Keyboard shortcuts

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