Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EsaInfra ¶
func NewEsaInfra ¶
func NewEsaInfra(client *esa.EsaClient) (infra EsaInfra)
type EsaInfraImpl ¶
type EsaInfraImpl struct {
// contains filtered or unexported fields
}
func (*EsaInfraImpl) GetArticle ¶
func (i *EsaInfraImpl) GetArticle(id int) (article *model.Article, err error)
type GitInfra ¶
type GitInfra interface { Clone(baseDir, repoUrl string) (projectRootDir string, err error) CommitUnStaged(projectRootDir, message string) (err error) Push(projectRootDir string) (err error) }
func NewGitInfra ¶
type GitInfraImpl ¶
type GitInfraImpl struct {
// contains filtered or unexported fields
}
func (*GitInfraImpl) Clone ¶
func (i *GitInfraImpl) Clone(baseDir, repoUrl string) (projectRootDir string, err error)
func (*GitInfraImpl) CommitUnStaged ¶
func (i *GitInfraImpl) CommitUnStaged(projectRootDir, message string) (err error)
func (*GitInfraImpl) Push ¶
func (i *GitInfraImpl) Push(projectRootDir string) (err error)
type ImageInfra ¶
func NewImageInfra ¶
func NewImageInfra(bucketName string, gcsClient *storage.Client) (infra ImageInfra)
type ImageInfraImpl ¶
type ImageInfraImpl struct {
// contains filtered or unexported fields
}
func (*ImageInfraImpl) Fetch ¶
func (i *ImageInfraImpl) Fetch(dstDir, srcUrl string) (err error)
Click to show internal directories.
Click to hide internal directories.