Versions in this module Expand all Collapse all v0 v0.4.0 Jan 27, 2017 v0.3.0 Jan 12, 2017 Changes in this version + func AddKeyPairToProject(db database.QueryExecuter, proj *sdk.Project, keyname string) error + func CheckVariableInProject(db database.Querier, projectID int64, varName string) (bool, error) + func CreateAudit(db database.QueryExecuter, proj *sdk.Project, u *sdk.User) error + func DeleteAllVariableFromProject(db database.Executer, projectID int64) error + func DeleteProject(db database.QueryExecuter, key string) error + func DeleteVariableFromProject(db database.QueryExecuter, proj *sdk.Project, variableName string) error + func Exist(db database.Querier, projectKey string) (bool, error) + func GetAllVariableInProject(db database.Querier, projectID int64, args ...GetAllVariableFuncArg) ([]sdk.Variable, error) + func GetAllVariableNameInProjectByKey(db database.Querier, projectKey string) ([]string, error) + func GetAudit(db database.Querier, key string, auditID int64) ([]sdk.Variable, error) + func GetVariableAudit(db database.Querier, key string) ([]sdk.VariableAudit, error) + func GetVariableInProject(db database.Querier, projectID int64, variableName string) (*sdk.Variable, error) + func InsertProject(db database.QueryExecuter, p *sdk.Project) error + func InsertVariableInProject(db database.QueryExecuter, proj *sdk.Project, variable sdk.Variable) error + func LastUpdates(db database.Querier, user *sdk.User, since time.Time) ([]sdk.ProjectLastUpdates, error) + func LoadAllProjects(db database.Querier) ([]*sdk.Project, error) + func LoadProject(db database.Querier, key string, user *sdk.User, mods ...Mod) (*sdk.Project, error) + func LoadProjectAndPipelineByPipelineActionID(db database.Querier, pipelineActionID int64) (sdk.Project, sdk.Pipeline, error) + func LoadProjectByGroup(db database.Querier, group *sdk.Group) error + func LoadProjectByPipelineID(db database.Querier, pipelineID int64) (*sdk.Project, error) + func LoadProjects(db database.Querier, user *sdk.User) ([]*sdk.Project, error) + func UpdateProjectDB(db database.Querier, projectKey, projectName string) (time.Time, error) + func UpdateVariableInProject(db database.QueryExecuter, proj *sdk.Project, variable sdk.Variable) error + type GetAllVariableFuncArg func(args *structarg) + func WithClearPassword() GetAllVariableFuncArg + func WithEncryptPassword() GetAllVariableFuncArg + type Mod func(c *funcpar) + func WithApplications(historylength int) Mod + func WithVariables() Mod