Documentation ¶
Index ¶
- Constants
- func CreateReleaserConfig(path, projectName, releaseName string) (bool, error)
- func DeleteReleaserConfig(path string) error
- type GithubWebhook
- type RedisDataStore
- func (r *RedisDataStore) Connect() (bool, error)
- func (r *RedisDataStore) DeleteProjectByURL(url string) (bool, error)
- func (r *RedisDataStore) DeleteProjectByUUID(uuid string) (bool, error)
- func (r *RedisDataStore) GetProjectByURL(url string) (*model.Project, error)
- func (r *RedisDataStore) GetProjectByUUID(uuid string) (*model.Project, error)
- func (r *RedisDataStore) GetProjects() ([]*model.Project, error)
- func (r *RedisDataStore) ProjectExistsByURL(url string) (bool, error)
- func (r *RedisDataStore) ProjectExistsByUUID(uuid string) (bool, error)
- func (r *RedisDataStore) StoreProject(project *model.Project) (bool, error)
- type Releaser
Constants ¶
const GoReleaserChecksums = "checksums.txt"
GoReleaserChecksums checksums file
const GoReleaserConfig = ".goreleaser.yml"
GoReleaserConfig config file for go releaser
const GoReleaserConfigTemplate = `` /* 656-byte string literal not displayed */
GoReleaserConfigTemplate config file template
const ReleasesData = "releases_data"
ReleasesData hash map name
const ReleasesURLLookup = "url_to_uuid_lookup"
ReleasesURLLookup hash map name
const ReleasesUUIDLookup = "uuid_to_url_lookup"
ReleasesUUIDLookup hash map name
Variables ¶
This section is empty.
Functions ¶
func CreateReleaserConfig ¶
CreateReleaserConfig creates a .goreleaser.yml config file
func DeleteReleaserConfig ¶
DeleteReleaserConfig deletes .goreleaser.yml config file
Types ¶
type RedisDataStore ¶
RedisDataStore struct
func (*RedisDataStore) Connect ¶
func (r *RedisDataStore) Connect() (bool, error)
Connect establishes a connection
func (*RedisDataStore) DeleteProjectByURL ¶
func (r *RedisDataStore) DeleteProjectByURL(url string) (bool, error)
DeleteProjectByURL deletes a project data by url
func (*RedisDataStore) DeleteProjectByUUID ¶
func (r *RedisDataStore) DeleteProjectByUUID(uuid string) (bool, error)
DeleteProjectByUUID deletes a project data by uuid
func (*RedisDataStore) GetProjectByURL ¶
func (r *RedisDataStore) GetProjectByURL(url string) (*model.Project, error)
GetProjectByURL gets a project data by url
func (*RedisDataStore) GetProjectByUUID ¶
func (r *RedisDataStore) GetProjectByUUID(uuid string) (*model.Project, error)
GetProjectByUUID gets a project data by uuid
func (*RedisDataStore) GetProjects ¶
func (r *RedisDataStore) GetProjects() ([]*model.Project, error)
GetProjects gets projects list
func (*RedisDataStore) ProjectExistsByURL ¶
func (r *RedisDataStore) ProjectExistsByURL(url string) (bool, error)
ProjectExistsByURL check if project exists by URL
func (*RedisDataStore) ProjectExistsByUUID ¶
func (r *RedisDataStore) ProjectExistsByUUID(uuid string) (bool, error)
ProjectExistsByUUID check if project exists by UUID
func (*RedisDataStore) StoreProject ¶
func (r *RedisDataStore) StoreProject(project *model.Project) (bool, error)
StoreProject stores the project data
type Releaser ¶
type Releaser struct { ID string ProjectName string ProjectURL string Version string LastCommit string BuildPath string LastTag string Binaries map[string]string }
Releaser struct
func NewReleaser ¶
NewReleaser returns a new instance of Releaser