Documentation
¶
Index ¶
- type GhStorage
- func (s *GhStorage) Commit(ctx context.Context, message string) error
- func (s *GhStorage) FileExists(ctx context.Context, path string) (bool, error)
- func (s *GhStorage) OpenFile(ctx context.Context, path string) (io.ReadCloser, error)
- func (s *GhStorage) WriteFile(ctx context.Context, path string, reader io.Reader) error
- type GithubRepoProjectsStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GhStorage ¶
type GhStorage struct {
// contains filtered or unexported fields
}
GhStorage implements dtprojcreator.Storage for GitHub
func NewStorage ¶
NewStorage creates a new GhStorage
func (*GhStorage) FileExists ¶
type GithubRepoProjectsStore ¶
type GithubRepoProjectsStore struct {
// contains filtered or unexported fields
}
func NewRepoProjectsStore ¶
func NewRepoProjectsStore(client *github.Client, branch string) *GithubRepoProjectsStore
func (GithubRepoProjectsStore) CreateNewProject ¶
func (g GithubRepoProjectsStore) CreateNewProject( ctx context.Context, projectID, title string, visibility datatug.ProjectVisibility, report datatug.StatusReporter, ) ( project *datatug.Project, err error, )
Click to show internal directories.
Click to hide internal directories.