Documentation
¶
Index ¶
- Variables
- type Config
- type PutInGH
- func (s *PutInGH) GetFrom(ctx context.Context, uri string) (io.Reader, error)
- func (s *PutInGH) GetFromGist(ctx context.Context, owner, description, name string) (io.Reader, error)
- func (s *PutInGH) GetFromGit(ctx context.Context, owner, repo, branch, name string) (io.Reader, error)
- func (s *PutInGH) GetFromReleasesAsset(ctx context.Context, owner, repo, release, name string) (io.Reader, error)
- func (s *PutInGH) PutIn(ctx context.Context, uri string, r io.Reader) (string, error)
- func (s *PutInGH) PutInGist(ctx context.Context, owner, description, name string, r io.Reader) (string, error)
- func (s *PutInGH) PutInGistWithFile(ctx context.Context, owner, description, name string, filename string) (string, error)
- func (s *PutInGH) PutInGit(ctx context.Context, owner, repo, branch, name string, r io.Reader) (string, error)
- func (s *PutInGH) PutInGitWithFile(ctx context.Context, owner, repo, branch, name string, filename string) (string, error)
- func (s *PutInGH) PutInReleasesAsset(ctx context.Context, owner, repo, release, name string, r io.Reader) (string, error)
- func (s *PutInGH) PutInReleasesAssetWithFile(ctx context.Context, owner, repo, release, name string, filename string) (string, error)
- func (s *PutInGH) PutInWithFile(ctx context.Context, uri, filename string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = fmt.Errorf("not found")
)
Functions ¶
This section is empty.
Types ¶
type PutInGH ¶
type PutInGH struct {
// contains filtered or unexported fields
}
func NewPutInGH ¶
func (*PutInGH) GetFromGist ¶ added in v0.4.0
func (*PutInGH) GetFromGit ¶ added in v0.4.0
func (*PutInGH) GetFromReleasesAsset ¶ added in v0.4.0
func (*PutInGH) PutInGistWithFile ¶ added in v0.2.0
func (*PutInGH) PutInGitWithFile ¶ added in v0.2.0
func (*PutInGH) PutInReleasesAsset ¶
func (*PutInGH) PutInReleasesAssetWithFile ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.