SYMBOL INDEX (5948 symbols across 727 files) FILE: agent/log/line_writer.go type LineWriter (line 31) | type LineWriter struct method Write (line 52) | func (w *LineWriter) Write(p []byte) (n int, err error) { function NewLineWriter (line 42) | func NewLineWriter(peer rpc.Peer, stepUUID string, secret ...string) io.... FILE: agent/log/line_writer_test.go function TestLineWriter (line 28) | func TestLineWriter(t *testing.T) { FILE: agent/logger.go method createLogger (line 30) | func (r *Runner) createLogger(_logger zerolog.Logger, workflow *rpc.Work... FILE: agent/rpc/auth_client_grpc.go constant authClientTimeout (line 26) | authClientTimeout = time.Second * 5 type AuthClient (line 28) | type AuthClient struct method AgentID (line 44) | func (c *AuthClient) AgentID() int64 { method Auth (line 48) | func (c *AuthClient) Auth(ctx context.Context) (string, int64, error) { function NewAuthGrpcClient (line 35) | func NewAuthGrpcClient(conn *grpc.ClientConn, agentToken string, agentID... FILE: agent/rpc/auth_client_grpc_test.go function TestAuthClientAgentID (line 25) | func TestAuthClientAgentID(t *testing.T) { FILE: agent/rpc/auth_interceptor.go type AuthInterceptor (line 27) | type AuthInterceptor struct method Unary (line 47) | func (interceptor *AuthInterceptor) Unary() grpc.UnaryClientInterceptor { method Stream (line 61) | func (interceptor *AuthInterceptor) Stream() grpc.StreamClientIntercep... method attachToken (line 74) | func (interceptor *AuthInterceptor) attachToken(ctx context.Context) c... method scheduleRefreshToken (line 78) | func (interceptor *AuthInterceptor) scheduleRefreshToken(ctx context.C... method refreshToken (line 105) | func (interceptor *AuthInterceptor) refreshToken(ctx context.Context) ... function NewAuthInterceptor (line 33) | func NewAuthInterceptor(ctx context.Context, authClient *AuthClient, ref... FILE: agent/rpc/client_grpc.go constant ClientGrpcVersion (line 44) | ClientGrpcVersion int32 = proto.Version constant maxLogBatchSize (line 48) | maxLogBatchSize int = 1 * 1024 * 1024 constant maxLogFlushPeriod (line 52) | maxLogFlushPeriod time.Duration = time.Second type client (line 55) | type client struct method IsConnected (line 93) | func (c *client) IsConnected() bool { method retryOpts (line 103) | func (c *client) retryOpts(op string) []backoff.RetryOption { method Version (line 196) | func (c *client) Version(ctx context.Context) (*rpc.Version, error) { method Next (line 208) | func (c *client) Next(ctx context.Context, filter rpc.Filter) (*rpc.Wo... method Wait (line 237) | func (c *client) Wait(ctx context.Context, workflowID string) (cancele... method Init (line 257) | func (c *client) Init(ctx context.Context, workflowID string, state rp... method Done (line 279) | func (c *client) Done(ctx context.Context, workflowID string, state rp... method Extend (line 301) | func (c *client) Extend(ctx context.Context, workflowID string) error { method Update (line 315) | func (c *client) Update(ctx context.Context, workflowID string, state ... method EnqueueLog (line 341) | func (c *client) EnqueueLog(logEntry *rpc.LogEntry) { method processLogs (line 351) | func (c *client) processLogs(ctx context.Context) { method sendLogs (line 398) | func (c *client) sendLogs(ctx context.Context, entries []*proto.LogEnt... method RegisterAgent (line 411) | func (c *client) RegisterAgent(ctx context.Context, info rpc.AgentInfo... method UnregisterAgent (line 426) | func (c *client) UnregisterAgent(ctx context.Context) error { method ReportHealth (line 431) | func (c *client) ReportHealth(ctx context.Context) error { function NewGrpcClient (line 66) | func NewGrpcClient(ctx context.Context, conn *grpc.ClientConn, opts ...C... type ClientOption (line 80) | type ClientOption function SetConnectionRetryTimeout (line 82) | func SetConnectionRetryTimeout(d time.Duration) ClientOption { function retryRPC (line 143) | func retryRPC[T any](ctx context.Context, c *client, opName string, op b... function classifyRPCErr (line 171) | func classifyRPCErr(ctx context.Context, err error) error { FILE: agent/runner.go constant shutdownTimeout (line 36) | shutdownTimeout = time.Second * 5 type Runner (line 38) | type Runner struct method Run (line 63) | func (r *Runner) Run(runnerCtx context.Context) error { function NewRunner (line 46) | func NewRunner(workEngine rpc.Peer, f rpc.Filter, h string, state *State... function GetShutdownContext (line 56) | func GetShutdownContext() (context.Context, context.CancelFunc) { function extractRepositoryName (line 219) | func extractRepositoryName(config *backend_types.Config) string { function extractPipelineNumber (line 223) | func extractPipelineNumber(config *backend_types.Config) string { FILE: agent/state.go type State (line 25) | type State struct method Add (line 40) | func (s *State) Add(id string, timeout time.Duration, repo, pipeline s... method Done (line 54) | func (s *State) Done(id string) { method Healthy (line 62) | func (s *State) Healthy() bool { method WriteTo (line 75) | func (s *State) WriteTo(w io.Writer) (int64, error) { type Info (line 32) | type Info struct FILE: agent/tracer.go method createTracer (line 30) | func (r *Runner) createTracer(ctxMeta context.Context, logger zerolog.Lo... FILE: cli/admin/loglevel/loglevel.go function logLevel (line 36) | func logLevel(ctx context.Context, c *cli.Command) error { FILE: cli/admin/org/org_list.go function orgList (line 48) | func orgList(ctx context.Context, c *cli.Command) error { FILE: cli/admin/registry/registry_add.go function registryCreate (line 49) | func registryCreate(ctx context.Context, c *cli.Command) error { FILE: cli/admin/registry/registry_list.go function registryList (line 38) | func registryList(ctx context.Context, c *cli.Command) error { FILE: cli/admin/registry/registry_rm.go function registryDelete (line 38) | func registryDelete(ctx context.Context, c *cli.Command) error { FILE: cli/admin/registry/registry_set.go function registryUpdate (line 51) | func registryUpdate(ctx context.Context, c *cli.Command) error { FILE: cli/admin/registry/registry_show.go function registryShow (line 42) | func registryShow(ctx context.Context, c *cli.Command) error { FILE: cli/admin/secret/secret_add.go function secretCreate (line 58) | func secretCreate(ctx context.Context, c *cli.Command) error { FILE: cli/admin/secret/secret_list.go function secretList (line 39) | func secretList(ctx context.Context, c *cli.Command) error { FILE: cli/admin/secret/secret_rm.go function secretDelete (line 37) | func secretDelete(ctx context.Context, c *cli.Command) error { FILE: cli/admin/secret/secret_set.go function secretUpdate (line 58) | func secretUpdate(ctx context.Context, c *cli.Command) error { FILE: cli/admin/secret/secret_show.go function secretShow (line 42) | func secretShow(ctx context.Context, c *cli.Command) error { FILE: cli/admin/user/user_add.go function userAdd (line 34) | func userAdd(ctx context.Context, c *cli.Command) error { FILE: cli/admin/user/user_list.go function userList (line 37) | func userList(ctx context.Context, c *cli.Command) error { FILE: cli/admin/user/user_rm.go function userRemove (line 33) | func userRemove(ctx context.Context, c *cli.Command) error { FILE: cli/admin/user/user_show.go function userShow (line 37) | func userShow(ctx context.Context, c *cli.Command) error { FILE: cli/common/flags.go function FormatFlag (line 68) | func FormatFlag(tmpl string, deprecated bool, hidden ...bool) *cli.Strin... function OutputFlags (line 83) | func OutputFlags(def string) []cli.Flag { FILE: cli/common/hooks.go function Before (line 34) | func Before(ctx context.Context, c *cli.Command) (context.Context, error) { function After (line 70) | func After(_ context.Context, _ *cli.Command) error { FILE: cli/common/pipeline.go function DetectPipelineConfig (line 28) | func DetectPipelineConfig() (isDir bool, config string, _ error) { function RunPipelineFunc (line 41) | func RunPipelineFunc(ctx context.Context, c *cli.Command, fileFunc, dirF... FILE: cli/common/zerologger.go function setupGlobalLogger (line 25) | func setupGlobalLogger(ctx context.Context, c *cli.Command) error { FILE: cli/context/context.go function listContexts (line 79) | func listContexts(_ context.Context, c *cli.Command) error { function useContext (line 129) | func useContext(_ context.Context, c *cli.Command) error { function deleteContext (line 144) | func deleteContext(_ context.Context, c *cli.Command) error { function renameContext (line 159) | func renameContext(_ context.Context, c *cli.Command) error { FILE: cli/exec/dummy.go function init (line 21) | func init() { //nolint:gochecknoinits FILE: cli/exec/exec.go function run (line 71) | func run(ctx context.Context, c *cli.Command) error { function execDir (line 75) | func execDir(ctx context.Context, c *cli.Command, dir string) error { function execFile (line 117) | func execFile(ctx context.Context, c *cli.Command, file string) error { function runExec (line 130) | func runExec(ctx context.Context, c *cli.Command, file, repoPath string,... function execWithAxis (line 158) | func execWithAxis(ctx context.Context, c *cli.Command, file, repoPath st... function convertPathForWindows (line 338) | func convertPathForWindows(path string) string { FILE: cli/exec/line.go type LineWriter (line 25) | type LineWriter struct method Write (line 41) | func (w *LineWriter) Write(p []byte) (n int, err error) { method Close (line 47) | func (w *LineWriter) Close() error { function NewLineWriter (line 33) | func NewLineWriter(stepName, stepUUID string) io.WriteCloser { FILE: cli/exec/metadata.go function metadataFromContext (line 33) | func metadataFromContext(_ context.Context, c *cli.Command, axis matrix.... function metadataFileAndOverrideOrDefault (line 160) | func metadataFileAndOverrideOrDefault[T any](c *cli.Command, flag string... FILE: cli/exec/metadata_test.go function TestMetadataFromContext (line 31) | func TestMetadataFromContext(t *testing.T) { function createTempFile (line 133) | func createTempFile(t *testing.T, content any) string { FILE: cli/info/info.go function info (line 37) | func info(ctx context.Context, c *cli.Command) error { FILE: cli/internal/config/config.go type Config (line 30) | type Config struct method MergeIfNotSet (line 36) | func (c *Config) MergeIfNotSet(c2 *Config) { function Load (line 50) | func Load(ctx context.Context, c *cli.Command) error { function getConfigPath (line 111) | func getConfigPath(configPath string) (string, error) { function Get (line 124) | func Get(_ context.Context, c *cli.Command, _configPath string) (*Config... function Save (line 178) | func Save(_ context.Context, c *cli.Command, _configPath string, conf *C... FILE: cli/internal/config/config_test.go function TestConfigMerge (line 23) | func TestConfigMerge(t *testing.T) { FILE: cli/internal/config/context.go type Context (line 32) | type Context struct type Contexts (line 39) | type Contexts struct function getContextsPath (line 44) | func getContextsPath() (string, error) { function LoadContexts (line 53) | func LoadContexts() (*Contexts, error) { function SaveContexts (line 83) | func SaveContexts(contexts *Contexts) error { function GetCurrentContext (line 104) | func GetCurrentContext(ctx context.Context, c *cli.Command) (*Config, er... function GetContextConfig (line 123) | func GetContextConfig(c *cli.Command, ctx *Context) (*Config, error) { function AddOrUpdateContext (line 148) | func AddOrUpdateContext(c *cli.Command, name, serverURL, token, logLevel... function DeleteContext (line 175) | func DeleteContext(c *cli.Command, name string) error { function SetCurrentContext (line 204) | func SetCurrentContext(name string) error { function RenameContext (line 219) | func RenameContext(oldName, newName string) error { FILE: cli/internal/config/context_test.go function TestContextManagement (line 26) | func TestContextManagement(t *testing.T) { FILE: cli/internal/util.go function NewClient (line 38) | func NewClient(ctx context.Context, c *cli.Command) (woodpecker.Client, ... function getRepoFromGit (line 100) | func getRepoFromGit(remoteName string) (string, error) { function ParseRepo (line 127) | func ParseRepo(client woodpecker.Client, str string) (repoID int64, err ... function ParseKeyPair (line 158) | func ParseKeyPair(p []string) map[string]string { function ParseStep (line 179) | func ParseStep(client woodpecker.Client, repoID, number int64, stepArg s... FILE: cli/internal/util_test.go function TestParseKeyPair (line 23) | func TestParseKeyPair(t *testing.T) { FILE: cli/lint/lint.go function lint (line 65) | func lint(ctx context.Context, c *cli.Command) error { function lintDir (line 69) | func lintDir(ctx context.Context, c *cli.Command, dir string) error { function lintFile (line 97) | func lintFile(_ context.Context, c *cli.Command, file string) error { FILE: cli/lint/utils.go function FormatLintError (line 27) | func FormatLintError(file string, err error, strict bool) (string, error) { FILE: cli/org/registry/registry.go function parseTargetArgs (line 38) | func parseTargetArgs(client woodpecker.Client, c *cli.Command) (orgID in... FILE: cli/org/registry/registry_add.go function registryCreate (line 52) | func registryCreate(ctx context.Context, c *cli.Command) error { FILE: cli/org/registry/registry_list.go function registryList (line 40) | func registryList(ctx context.Context, c *cli.Command) error { FILE: cli/org/registry/registry_rm.go function registryDelete (line 41) | func registryDelete(ctx context.Context, c *cli.Command) error { FILE: cli/org/registry/registry_set.go function registryUpdate (line 52) | func registryUpdate(ctx context.Context, c *cli.Command) error { FILE: cli/org/registry/registry_show.go function registryShow (line 44) | func registryShow(ctx context.Context, c *cli.Command) error { FILE: cli/org/secret/secret.go function parseTargetArgs (line 38) | func parseTargetArgs(client woodpecker.Client, c *cli.Command) (orgID in... FILE: cli/org/secret/secret_add.go function secretCreate (line 61) | func secretCreate(ctx context.Context, c *cli.Command) error { FILE: cli/org/secret/secret_list.go function secretList (line 41) | func secretList(ctx context.Context, c *cli.Command) error { FILE: cli/org/secret/secret_rm.go function secretDelete (line 40) | func secretDelete(ctx context.Context, c *cli.Command) error { FILE: cli/org/secret/secret_set.go function secretUpdate (line 61) | func secretUpdate(ctx context.Context, c *cli.Command) error { FILE: cli/org/secret/secret_show.go function secretShow (line 44) | func secretShow(ctx context.Context, c *cli.Command) error { FILE: cli/output/output.go function ParseOutputOptions (line 24) | func ParseOutputOptions(out string) (string, []string) { FILE: cli/output/output_test.go function TestParseOutputOptions (line 23) | func TestParseOutputOptions(t *testing.T) { FILE: cli/output/table.go function NewTable (line 30) | func NewTable(out io.Writer) *Table { type FieldFn (line 42) | type FieldFn type writerFlusher (line 44) | type writerFlusher interface type Table (line 50) | type Table struct method Columns (line 59) | func (o *Table) Columns() (cols []string) { method AddFieldAlias (line 68) | func (o *Table) AddFieldAlias(field, alias string) *Table { method AddFieldFn (line 74) | func (o *Table) AddFieldFn(field string, fn FieldFn) *Table { method AddAllowedFields (line 82) | func (o *Table) AddAllowedFields(obj any) (*Table, error) { method RemoveAllowedField (line 108) | func (o *Table) RemoveAllowedField(fields ...string) *Table { method ValidateColumns (line 117) | func (o *Table) ValidateColumns(cols []string) error { method WriteHeader (line 131) | func (o *Table) WriteHeader(columns []string) { method Flush (line 139) | func (o *Table) Flush() error { method Write (line 144) | func (o *Table) Write(columns []string, obj any) error { function NA (line 187) | func NA(s string) string { function YesNo (line 194) | func YesNo(b bool) string { function fieldName (line 201) | func fieldName(name string) string { function sanitizeString (line 213) | func sanitizeString(value any) string { FILE: cli/output/table_test.go type writerFlusherStub (line 25) | type writerFlusherStub struct method Flush (line 29) | func (s writerFlusherStub) Flush() error { type testFieldsStruct (line 33) | type testFieldsStruct struct function TestTableOutput (line 39) | func TestTableOutput(t *testing.T) { FILE: cli/pipeline/approve.go function pipelineApprove (line 34) | func pipelineApprove(ctx context.Context, c *cli.Command) (err error) { FILE: cli/pipeline/create.go function pipelineCreate (line 49) | func pipelineCreate(ctx context.Context, c *cli.Command) error { FILE: cli/pipeline/decline.go function pipelineDecline (line 34) | func pipelineDecline(ctx context.Context, c *cli.Command) (err error) { FILE: cli/pipeline/deploy/deploy.go function deploy (line 64) | func deploy(ctx context.Context, c *cli.Command) error { FILE: cli/pipeline/kill.go function pipelineKill (line 35) | func pipelineKill(ctx context.Context, c *cli.Command) (err error) { FILE: cli/pipeline/last.go function pipelineLast (line 41) | func pipelineLast(ctx context.Context, c *cli.Command) error { FILE: cli/pipeline/list.go function buildPipelineListCmd (line 30) | func buildPipelineListCmd() *cli.Command { function List (line 76) | func List(ctx context.Context, c *cli.Command) error { function pipelineList (line 88) | func pipelineList(c *cli.Command, client woodpecker.Client) ([]*woodpeck... FILE: cli/pipeline/list_test.go function TestPipelineList (line 31) | func TestPipelineList(t *testing.T) { FILE: cli/pipeline/log/log_purge.go function logPurge (line 34) | func logPurge(ctx context.Context, c *cli.Command) (err error) { FILE: cli/pipeline/log/log_show.go function logShow (line 37) | func logShow(ctx context.Context, c *cli.Command) error { function pipelineLog (line 72) | func pipelineLog(client woodpecker.Client, repoID, number int64) error { function stepLog (line 98) | func stepLog(client woodpecker.Client, repoID, number, step int64) error { FILE: cli/pipeline/pipeline.go function pipelineOutput (line 53) | func pipelineOutput(c *cli.Command, pipelines []*woodpecker.Pipeline, fd... FILE: cli/pipeline/pipeline_test.go function TestPipelineOutput (line 30) | func TestPipelineOutput(t *testing.T) { FILE: cli/pipeline/ps.go function pipelinePs (line 39) | func pipelinePs(ctx context.Context, c *cli.Command) error { FILE: cli/pipeline/purge.go function Purge (line 61) | func Purge(ctx context.Context, c *cli.Command) error { function pipelinePurge (line 70) | func pipelinePurge(c *cli.Command, client woodpecker.Client, start time.... function fetchPipelinesToKeep (line 144) | func fetchPipelinesToKeep(client woodpecker.Client, repoID int64, branch... function fetchPipelines (line 160) | func fetchPipelines(client woodpecker.Client, repoID int64, branch strin... FILE: cli/pipeline/purge_test.go function TestPipelinePurge (line 31) | func TestPipelinePurge(t *testing.T) { FILE: cli/pipeline/queue.go function pipelineQueue (line 37) | func pipelineQueue(ctx context.Context, c *cli.Command) error { FILE: cli/pipeline/show.go function pipelineShow (line 36) | func pipelineShow(ctx context.Context, c *cli.Command) error { FILE: cli/pipeline/start.go function pipelineStart (line 46) | func pipelineStart(ctx context.Context, c *cli.Command) (err error) { FILE: cli/pipeline/stop.go function pipelineStop (line 34) | func pipelineStop(ctx context.Context, c *cli.Command) (err error) { FILE: cli/repo/cron/cron_add.go function cronCreate (line 59) | func cronCreate(ctx context.Context, c *cli.Command) error { FILE: cli/repo/cron/cron_list.go function cronList (line 40) | func cronList(ctx context.Context, c *cli.Command) error { FILE: cli/repo/cron/cron_rm.go function cronDelete (line 42) | func cronDelete(ctx context.Context, c *cli.Command) error { FILE: cli/repo/cron/cron_show.go function cronShow (line 44) | func cronShow(ctx context.Context, c *cli.Command) error { FILE: cli/repo/cron/cron_update.go function cronUpdate (line 62) | func cronUpdate(ctx context.Context, c *cli.Command) error { FILE: cli/repo/registry/registry.go function parseTargetArgs (line 37) | func parseTargetArgs(client woodpecker.Client, c *cli.Command) (repoID i... FILE: cli/repo/registry/registry_add.go function registryCreate (line 52) | func registryCreate(ctx context.Context, c *cli.Command) error { FILE: cli/repo/registry/registry_list.go function registryList (line 40) | func registryList(ctx context.Context, c *cli.Command) error { FILE: cli/repo/registry/registry_rm.go function registryDelete (line 41) | func registryDelete(ctx context.Context, c *cli.Command) error { FILE: cli/repo/registry/registry_set.go function registryUpdate (line 52) | func registryUpdate(ctx context.Context, c *cli.Command) error { FILE: cli/repo/registry/registry_show.go function registryShow (line 44) | func registryShow(ctx context.Context, c *cli.Command) error { FILE: cli/repo/repo.go function repoOutput (line 52) | func repoOutput(c *cli.Command, repos []*woodpecker.Repo, fd ...io.Write... FILE: cli/repo/repo_add.go function repoAdd (line 35) | func repoAdd(ctx context.Context, c *cli.Command) error { FILE: cli/repo/repo_chown.go function repoChown (line 33) | func repoChown(ctx context.Context, c *cli.Command) error { FILE: cli/repo/repo_list.go function List (line 45) | func List(ctx context.Context, c *cli.Command) error { function repoList (line 57) | func repoList(c *cli.Command, client woodpecker.Client) ([]*woodpecker.R... FILE: cli/repo/repo_repair.go function repoRepair (line 33) | func repoRepair(ctx context.Context, c *cli.Command) error { FILE: cli/repo/repo_rm.go function repoRemove (line 33) | func repoRemove(ctx context.Context, c *cli.Command) error { FILE: cli/repo/repo_show.go function Show (line 35) | func Show(ctx context.Context, c *cli.Command) error { function repoShow (line 47) | func repoShow(c *cli.Command, client woodpecker.Client) (*woodpecker.Rep... FILE: cli/repo/repo_show_test.go function TestRepoShow (line 30) | func TestRepoShow(t *testing.T) { FILE: cli/repo/repo_sync.go function repoSync (line 38) | func repoSync(ctx context.Context, c *cli.Command) error { FILE: cli/repo/repo_test.go function TestRepoOutput (line 30) | func TestRepoOutput(t *testing.T) { FILE: cli/repo/repo_update.go function repoUpdate (line 82) | func repoUpdate(ctx context.Context, c *cli.Command) error { FILE: cli/repo/secret/secret.go function parseTargetArgs (line 37) | func parseTargetArgs(client woodpecker.Client, c *cli.Command) (repoID i... FILE: cli/repo/secret/secret_add.go function secretCreate (line 61) | func secretCreate(ctx context.Context, c *cli.Command) error { FILE: cli/repo/secret/secret_list.go function secretList (line 41) | func secretList(ctx context.Context, c *cli.Command) error { FILE: cli/repo/secret/secret_rm.go function secretDelete (line 40) | func secretDelete(ctx context.Context, c *cli.Command) error { FILE: cli/repo/secret/secret_set.go function secretUpdate (line 61) | func secretUpdate(ctx context.Context, c *cli.Command) error { FILE: cli/repo/secret/secret_show.go function secretShow (line 44) | func secretShow(ctx context.Context, c *cli.Command) error { FILE: cli/setup/setup.go function setup (line 53) | func setup(ctx context.Context, c *cli.Command) error { FILE: cli/setup/token_fetcher.go function receiveTokenFromUI (line 32) | func receiveTokenFromUI(c context.Context, serverURL string) (string, er... function setupRouter (line 80) | func setupRouter(tokenReceived chan string) *gin.Engine { function openBrowser (line 124) | func openBrowser(url string) error { function randomPort (line 142) | func randomPort() int { FILE: cli/setup/ui/ask.go function Ask (line 24) | func Ask(prompt, placeholder string, required bool) (string, error) { FILE: cli/setup/ui/confirm.go function Confirm (line 21) | func Confirm(prompt string) (bool, error) { FILE: cli/update/command.go function update (line 40) | func update(ctx context.Context, c *cli.Command) error { FILE: cli/update/tar.go constant tarDirectoryMode (line 26) | tarDirectoryMode fs.FileMode = 0x755 function UnTar (line 28) | func UnTar(dst string, r io.Reader) error { FILE: cli/update/types.go type VersionData (line 17) | type VersionData struct type NewVersion (line 23) | type NewVersion struct constant woodpeckerVersionURL (line 29) | woodpeckerVersionURL = "https://woodpecker-ci.org/version.json" constant githubBinaryURL (line 30) | githubBinaryURL = "https://github.com/woodpecker-ci/woodpecker/rele... FILE: cli/update/updater.go function CheckForUpdate (line 34) | func CheckForUpdate(ctx context.Context, force bool) (*NewVersion, error) { function checkForUpdate (line 38) | func checkForUpdate(ctx context.Context, versionURL string, force bool) ... function downloadNewVersion (line 91) | func downloadNewVersion(ctx context.Context, downloadURL string) (string... function extractNewVersion (line 124) | func extractNewVersion(tarFilePath string) (string, error) { FILE: cli/update/updater_test.go function TestCheckForUpdate (line 27) | func TestCheckForUpdate(t *testing.T) { function TestDownloadNewVersion (line 50) | func TestDownloadNewVersion(t *testing.T) { FILE: cmd/agent/core/agent.go constant reportHealthInterval (line 53) | reportHealthInterval = time.Second * 10 constant authInterceptorRefreshInterval (line 54) | authInterceptorRefreshInterval = time.Minute * 30 function run (line 57) | func run(ctx context.Context, c *cli.Command, backends []types.Backend) ... function runWithRetry (line 349) | func runWithRetry(backendEngines []types.Backend) func(ctx context.Conte... function stringSliceAddToMap (line 372) | func stringSliceAddToMap(sl []string, m map[string]string) error { FILE: cmd/agent/core/agent_test.go function TestStringSliceAddToMap (line 23) | func TestStringSliceAddToMap(t *testing.T) { FILE: cmd/agent/core/config.go type AgentConfig (line 27) | type AgentConfig struct constant defaultAgentIDValue (line 31) | defaultAgentIDValue = int64(-1) function readAgentConfig (line 33) | func readAgentConfig(agentConfigPath string) AgentConfig { function writeAgentConfig (line 61) | func writeAgentConfig(conf AgentConfig, agentConfigPath string) error { FILE: cmd/agent/core/config_test.go function TestReadAgentIDFileNotExists (line 25) | func TestReadAgentIDFileNotExists(t *testing.T) { function TestReadAgentIDFileExists (line 29) | func TestReadAgentIDFileExists(t *testing.T) { FILE: cmd/agent/core/health.go function initHealth (line 35) | func initHealth() { function handleHeartbeat (line 41) | func handleHeartbeat(w http.ResponseWriter, _ *http.Request) { function handleVersion (line 49) | func handleVersion(w http.ResponseWriter, _ *http.Request) { function handleStats (line 61) | func handleStats(w http.ResponseWriter, _ *http.Request) { type versionResp (line 73) | type versionResp struct function pinger (line 85) | func pinger(ctx context.Context, c *cli.Command) error { FILE: cmd/agent/core/health_test.go function TestHealthy (line 26) | func TestHealthy(t *testing.T) { FILE: cmd/agent/core/run.go function GenApp (line 32) | func GenApp(backends []backend_types.Backend) *cli.Command { function RunAgent (line 53) | func RunAgent(ctx context.Context, backends []backend_types.Backend) { FILE: cmd/agent/dummy.go function init (line 21) | func init() { //nolint:gochecknoinits FILE: cmd/agent/main.go function main (line 36) | func main() { FILE: cmd/agent/man.go function main (line 37) | func main() { FILE: cmd/cli/app.go function newApp (line 35) | func newApp() *cli.Command { FILE: cmd/cli/docs.go function main (line 25) | func main() { FILE: cmd/cli/main.go function main (line 27) | func main() { FILE: cmd/cli/man.go function main (line 25) | func main() { FILE: cmd/server/app.go function genApp (line 23) | func genApp() *cli.Command { FILE: cmd/server/flags.go function datasourceDefaultValue (line 639) | func datasourceDefaultValue() string { function getFirstNonEmptyEnvVar (line 647) | func getFirstNonEmptyEnvVar(envVars ...string) string { FILE: cmd/server/grpc_server.go function runGrpcServer (line 33) | func runGrpcServer(ctx context.Context, c *cli.Command, _store store.Sto... FILE: cmd/server/health.go constant pingTimeout (line 29) | pingTimeout = 1 * time.Second function pinger (line 33) | func pinger(_ context.Context, c *cli.Command) error { FILE: cmd/server/main.go function main (line 30) | func main() { FILE: cmd/server/man.go function main (line 28) | func main() { FILE: cmd/server/metrics_server.go function startMetricsCollector (line 30) | func startMetricsCollector(ctx context.Context, _store store.Store) { FILE: cmd/server/openapi.go function setupOpenAPIStaticConfig (line 36) | func setupOpenAPIStaticConfig() { FILE: cmd/server/openapi/docs.go constant docTemplate (line 6) | docTemplate = `{ function init (line 6318) | func init() { FILE: cmd/server/openapi_json_gen.go function main (line 36) | func main() { function removeHost (line 68) | func removeHost(jsonIn string) (string, error) { function toOpenApi3 (line 81) | func toOpenApi3(input, output string) error { FILE: cmd/server/openapi_test.go function TestSetupOpenApiStaticConfig (line 25) | func TestSetupOpenApiStaticConfig(t *testing.T) { FILE: cmd/server/server.go constant shutdownTimeout (line 47) | shutdownTimeout = time.Second * 5 function run (line 56) | func run(ctx context.Context, c *cli.Command) error { FILE: cmd/server/setup.go constant queueInfoRefreshInterval (line 51) | queueInfoRefreshInterval = 500 * time.Millisecond constant storeInfoRefreshInterval (line 52) | storeInfoRefreshInterval = 10 * time.Second function setupStore (line 55) | func setupStore(ctx context.Context, c *cli.Command) (store.Store, error) { function checkSqliteFileExist (line 106) | func checkSqliteFileExist(path string) error { function setupQueue (line 115) | func setupQueue(ctx context.Context, s store.Store) (queue.Queue, error) { function setupMembershipService (line 122) | func setupMembershipService(_ context.Context, _store store.Store) cache... function setupLogStore (line 126) | func setupLogStore(c *cli.Command, s store.Store) (service_log.Service, ... constant jwtSecretID (line 137) | jwtSecretID = "jwt-secret" function setupJWTSecret (line 139) | func setupJWTSecret(_store store.Store) (string, error) { function setupEvilGlobals (line 160) | func setupEvilGlobals(ctx context.Context, c *cli.Command, s store.Store... FILE: docs/docusaurus.config.ts method injectHtmlTags (line 234) | injectHtmlTags() { method configureWebpack (line 259) | configureWebpack() { FILE: docs/plugins/woodpecker-plugins/src/index.ts function loadContent (line 10) | async function loadContent(): Promise { function contentLoaded (line 89) | async function contentLoaded({ function pluginWoodpeckerPluginsIndex (line 125) | function pluginWoodpeckerPluginsIndex(context: LoadContext, options: any... FILE: docs/plugins/woodpecker-plugins/src/markdown.ts function getHeader (line 8) | function getHeader(data: string): T { function getRawHeader (line 13) | function getRawHeader(data: string): string { function getContent (line 21) | async function getContent(data: string): Promise { FILE: docs/plugins/woodpecker-plugins/src/theme/WoodpeckerPlugin.tsx function WoodpeckerPlugin (line 7) | function WoodpeckerPlugin({ plugin }: { plugin: WoodpeckerPluginType }) { FILE: docs/plugins/woodpecker-plugins/src/theme/WoodpeckerPluginList.tsx function PluginPanel (line 10) | function PluginPanel({ plugin }: { plugin: WoodpeckerPlugin }) { function WoodpeckerPluginList (line 38) | function WoodpeckerPluginList({ plugins }: { plugins: WoodpeckerPlugin[]... FILE: docs/plugins/woodpecker-plugins/src/types.ts type WoodpeckerPluginHeader (line 1) | type WoodpeckerPluginHeader = { type WoodpeckerPluginIndexEntry (line 12) | type WoodpeckerPluginIndexEntry = { type WoodpeckerPlugin (line 18) | type WoodpeckerPlugin = WoodpeckerPluginHeader & { type Content (line 26) | type Content = { FILE: docs/src/components/HomepageFeatures.js function Feature (line 43) | function Feature({ Svg, title, description }) { function HomepageFeatures (line 57) | function HomepageFeatures() { FILE: docs/src/pages/index.tsx function HomepageHeader (line 10) | function HomepageHeader() { function Home (line 27) | function Home() { FILE: e2e/scenarios/agent_routing_test.go function TestAgentLabelRouting (line 47) | func TestAgentLabelRouting(t *testing.T) { FILE: e2e/scenarios/cancel_test.go function TestCancelRunningPipeline (line 54) | func TestCancelRunningPipeline(t *testing.T) { FILE: e2e/scenarios/fixtures.go type Scenario (line 47) | type Scenario struct type ExpectedStep (line 75) | type ExpectedStep struct type ExpectedWorkflow (line 82) | type ExpectedWorkflow struct function LoadScenarios (line 92) | func LoadScenarios(t *testing.T) []Scenario { function loadMultiWorkflowScenario (line 152) | func loadMultiWorkflowScenario(t *testing.T, dirName string) Scenario { FILE: e2e/scenarios/infra_test.go function TestMain (line 40) | func TestMain(m *testing.M) { function TestInfraSmoke (line 70) | func TestInfraSmoke(t *testing.T) { FILE: e2e/scenarios/matrix_test.go function TestMatrixPipeline (line 72) | func TestMatrixPipeline(t *testing.T) { function TestMatrixIncludePipeline (line 138) | func TestMatrixIncludePipeline(t *testing.T) { function TestMatrixSingleAxis (line 196) | func TestMatrixSingleAxis(t *testing.T) { function TestMatrixNoMatrix (line 250) | func TestMatrixNoMatrix(t *testing.T) { FILE: e2e/scenarios/restart_test.go function TestRestartPipeline (line 34) | func TestRestartPipeline(t *testing.T) { FILE: e2e/scenarios/suite_test.go function TestScenarios (line 36) | func TestScenarios(t *testing.T) { function runScenario (line 46) | func runScenario(t *testing.T, sc Scenario) { function expStepsToName (line 114) | func expStepsToName(in []ExpectedStep) []string { function modelStepsToName (line 122) | func modelStepsToName(in []*model.Step) []string { function expWorkflowsToName (line 130) | func expWorkflowsToName(in []ExpectedWorkflow) []string { function modelWorkflowsToName (line 138) | func modelWorkflowsToName(in []*model.Workflow) []string { FILE: e2e/setup/agent.go constant AgentMaxWorkflows (line 40) | AgentMaxWorkflows = 4 constant agentAuthRefreshEvery (line 41) | agentAuthRefreshEvery = 30 * time.Minute type AgentEnv (line 46) | type AgentEnv struct type AgentOption (line 61) | type AgentOption type agentConfig (line 63) | type agentConfig struct function WithHostname (line 78) | func WithHostname(name string) AgentOption { function WithCustomLabels (line 91) | func WithCustomLabels(labels map[string]string) AgentOption { function WithOrgID (line 103) | func WithOrgID(id int64) AgentOption { function StartAgent (line 111) | func StartAgent(t *testing.T, grpcAddr string, opts ...AgentOption) *Age... FILE: e2e/setup/forge.go function newMockForge (line 39) | func newMockForge(t *testing.T, files []*forge_types.FileMeta) *forge_mo... FILE: e2e/setup/server.go constant TestAgentToken (line 51) | TestAgentToken = "test-agent-secret-for-integration-tests" constant TestJWTSecret (line 54) | TestJWTSecret = "test-jwt-secret-for-integration-tests" constant TestForgeType (line 57) | TestForgeType = model.ForgeTypeGitea type ServerEnv (line 63) | type ServerEnv struct function StartServer (line 83) | func StartServer(ctx context.Context, t *testing.T, files []*forge_types... function newTestManager (line 144) | func newTestManager(s store.Store, mockForge *forge_mocks.MockForge) (se... function startGRPCServer (line 166) | func startGRPCServer(ctx context.Context, t *testing.T, s store.Store) s... FILE: e2e/setup/store.go type Fixtures (line 31) | type Fixtures struct function newStore (line 38) | func newStore(ctx context.Context, t *testing.T) store.Store { function seedFixtures (line 63) | func seedFixtures(t *testing.T, s store.Store) *Fixtures { FILE: e2e/setup/wait.go constant defaultTimeout (line 33) | defaultTimeout = 30 * time.Second constant defaultRetry (line 34) | defaultRetry = 3 constant shortTimeout (line 35) | shortTimeout = 10 * time.Second constant defaultInterval (line 36) | defaultInterval = 100 * time.Millisecond function isTerminal (line 40) | func isTerminal(s model.StatusValue) bool { function WaitForPipeline (line 51) | func WaitForPipeline(t *testing.T, s store.Store, pipelineID int64) *mod... function WaitForPipelineStatus (line 58) | func WaitForPipelineStatus(t *testing.T, s store.Store, pipelineID int64... function WaitForAgentRegistered (line 85) | func WaitForAgentRegistered(t *testing.T, s store.Store, agents ...*Agen... function WaitForStep (line 123) | func WaitForStep(t *testing.T, s store.Store, pipeline *model.Pipeline, ... function WaitForStepStatus (line 132) | func WaitForStepStatus(t *testing.T, s store.Store, pipeline *model.Pipe... function AssertWorkflowRanOnAgent (line 176) | func AssertWorkflowRanOnAgent(t *testing.T, s store.Store, pipeline *mod... function WaitForWorkersReady (line 200) | func WaitForWorkersReady(t *testing.T, q queue.Queue, minWorkers int) { function WaitForStepRunning (line 221) | func WaitForStepRunning(t *testing.T, s store.Store, pipelineID int64, s... FILE: pipeline/backend/backend.go function FindBackend (line 24) | func FindBackend(ctx context.Context, backends []types.Backend, backendN... FILE: pipeline/backend/common/script.go function GenerateContainerConf (line 21) | func GenerateContainerConf(commands []string, osType, workDir string) (e... FILE: pipeline/backend/common/script_posix.go function generateScriptPosix (line 27) | func generateScriptPosix(commands []string, workDir string) string { constant setupScriptProto (line 50) | setupScriptProto = ` constant traceScript (line 70) | traceScript = ` FILE: pipeline/backend/common/script_posix_test.go function TestGenerateScriptPosix (line 24) | func TestGenerateScriptPosix(t *testing.T) { function TestSetupScriptProtoParse (line 63) | func TestSetupScriptProtoParse(t *testing.T) { FILE: pipeline/backend/common/script_test.go constant windowsScriptBase64 (line 24) | windowsScriptBase64 = "CiRFcnJvckFjdGlvblByZWZlcmVuY2UgPSAnU3RvcCc7CmlmI... constant posixScriptBase64 (line 25) | posixScriptBase64 = "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuC... function TestGenerateContainerConf (line 28) | func TestGenerateContainerConf(t *testing.T) { FILE: pipeline/backend/common/script_win.go function generateScriptWindows (line 24) | func generateScriptWindows(commands []string, workDir string) string { constant setupScriptWinProto (line 47) | setupScriptWinProto = ` constant traceScriptWin (line 67) | traceScriptWin = ` FILE: pipeline/backend/common/script_win_test.go function TestGenerateScriptWin (line 24) | func TestGenerateScriptWin(t *testing.T) { function TestSetupScriptWinProtoParse (line 63) | func TestSetupScriptWinProtoParse(t *testing.T) { FILE: pipeline/backend/docker/backend_options.go type BackendOptions (line 24) | type BackendOptions struct function parseBackendOptions (line 28) | func parseBackendOptions(step *backend_types.Step) (BackendOptions, erro... FILE: pipeline/backend/docker/backend_options_test.go function Test_parseBackendOptions (line 25) | func Test_parseBackendOptions(t *testing.T) { FILE: pipeline/backend/docker/config.go type config (line 25) | type config struct type resourceLimit (line 33) | type resourceLimit struct function configFromCli (line 42) | func configFromCli(c *cli.Command) (config, error) { FILE: pipeline/backend/docker/convert.go constant minVolumeComponents (line 33) | minVolumeComponents = 2 method toConfig (line 36) | func (e *docker) toConfig(step *types.Step, options BackendOptions) *con... function toContainerName (line 72) | func toContainerName(step *types.Step) string { function toHostConfig (line 77) | func toHostConfig(step *types.Step, conf *config) (*container.HostConfig... function toVol (line 141) | func toVol(paths []string) map[string]struct{} { function toEnv (line 161) | func toEnv(env map[string]string) []string { function toDev (line 174) | func toDev(paths []string) []container.DeviceMapping { function encodeAuthToBase64 (line 199) | func encodeAuthToBase64(authConfig types.Auth) (string, error) { function splitVolumeParts (line 216) | func splitVolumeParts(volumeParts string) ([]string, error) { function toRef (line 236) | func toRef[T any](v T) *T { FILE: pipeline/backend/docker/convert_test.go function TestSplitVolumeParts (line 31) | func TestSplitVolumeParts(t *testing.T) { function TestToContainerName (line 127) | func TestToContainerName(t *testing.T) { function TestStepToConfig (line 132) | func TestStepToConfig(t *testing.T) { function TestToEnv (line 149) | func TestToEnv(t *testing.T) { function TestToVol (line 155) | func TestToVol(t *testing.T) { function TestEncodeAuthToBase64 (line 160) | func TestEncodeAuthToBase64(t *testing.T) { function TestToConfigSmall (line 170) | func TestToConfigSmall(t *testing.T) { function TestToConfigFull (line 196) | func TestToConfigFull(t *testing.T) { function TestToWindowsConfig (line 261) | func TestToWindowsConfig(t *testing.T) { FILE: pipeline/backend/docker/convert_win.go constant osTypeWindows (line 26) | osTypeWindows = "windows" constant defaultWindowsDriverLetter (line 27) | defaultWindowsDriverLetter = "C:" method windowsPathPatch (line 44) | func (e *docker) windowsPathPatch(step *types.Step) { FILE: pipeline/backend/docker/convert_win_test.go function TestMustNotAddWindowsLetterPattern (line 19) | func TestMustNotAddWindowsLetterPattern(t *testing.T) { FILE: pipeline/backend/docker/docker.go constant containerKillTimeout (line 46) | containerKillTimeout = 5 constant volumeRetryWait (line 47) | volumeRetryWait time.Duration = 1 * time.Second constant maxRetry (line 48) | maxRetry uint = 3 type docker (line 51) | type docker struct method Name (line 71) | func (e *docker) Name() string { method IsAvailable (line 75) | func (e *docker) IsAvailable(ctx context.Context) bool { method Flags (line 110) | func (e *docker) Flags() []cli.Flag { method Load (line 115) | func (e *docker) Load(ctx context.Context) (*backend_types.BackendInfo... method SetupWorkflow (line 155) | func (e *docker) SetupWorkflow(ctx context.Context, conf *backend_type... method StartStep (line 177) | func (e *docker) StartStep(ctx context.Context, step *backend_types.St... method WaitStep (line 277) | func (e *docker) WaitStep(ctx context.Context, step *backend_types.Ste... method TailStep (line 315) | func (e *docker) TailStep(ctx context.Context, step *backend_types.Ste... method DestroyStep (line 339) | func (e *docker) DestroyStep(ctx context.Context, step *backend_types.... method DestroyWorkflow (line 368) | func (e *docker) DestroyWorkflow(ctx context.Context, conf *backend_ty... constant EngineName (line 58) | EngineName = "docker" constant networkDriverNAT (line 59) | networkDriverNAT = "nat" constant networkDriverBridge (line 60) | networkDriverBridge = "bridge" constant volumeDriver (line 61) | volumeDriver = "local" function New (line 65) | func New() backend_types.Backend { function httpClientOfOpts (line 85) | func httpClientOfOpts(dockerCertPath string, verifyTLS bool) *http.Client { function normalizeArchType (line 418) | func normalizeArchType(s string) string { FILE: pipeline/backend/docker/errors.go function isErrContainerNotFoundOrNotRunning (line 19) | func isErrContainerNotFoundOrNotRunning(err error) bool { function isErrVolumeInUse (line 32) | func isErrVolumeInUse(err error) bool { FILE: pipeline/backend/dummy/dummy.go type dummy (line 34) | type dummy struct method Name (line 76) | func (e *dummy) Name() string { method IsAvailable (line 80) | func (e *dummy) IsAvailable(_ context.Context) bool { method Flags (line 84) | func (e *dummy) Flags() []cli.Flag { method Load (line 89) | func (e *dummy) Load(_ context.Context) (*backend_types.BackendInfo, e... method SetupWorkflow (line 95) | func (e *dummy) SetupWorkflow(_ context.Context, _ *backend_types.Conf... method StartStep (line 104) | func (e *dummy) StartStep(_ context.Context, step *backend_types.Step,... method WaitStep (line 155) | func (e *dummy) WaitStep(ctx context.Context, step *backend_types.Step... method TailStep (line 218) | func (e *dummy) TailStep(_ context.Context, step *backend_types.Step, ... method DestroyStep (line 244) | func (e *dummy) DestroyStep(_ context.Context, step *backend_types.Ste... method DestroyWorkflow (line 269) | func (e *dummy) DestroyWorkflow(_ context.Context, _ *backend_types.Co... constant WorkflowSetupFailUUID (line 40) | WorkflowSetupFailUUID = "WorkflowSetupShouldFail" constant EnvKeyStepSleep (line 41) | EnvKeyStepSleep = "SLEEP" constant EnvKeyStepType (line 42) | EnvKeyStepType = "EXPECT_TYPE" constant EnvKeyStepStartFail (line 43) | EnvKeyStepStartFail = "STEP_START_FAIL" constant EnvKeyStepExitCode (line 44) | EnvKeyStepExitCode = "STEP_EXIT_CODE" constant EnvKeyStepTailFail (line 45) | EnvKeyStepTailFail = "STEP_TAIL_FAIL" constant EnvKeyStepOOMKilled (line 46) | EnvKeyStepOOMKilled = "STEP_OOM_KILLED" constant stepStateStarted (line 49) | stepStateStarted = "started" constant stepStateDone (line 50) | stepStateDone = "done" constant testServiceTimeout (line 51) | testServiceTimeout = 1 * time.Second constant ExitCodeCanceled (line 56) | ExitCodeCanceled = 130 function stepKey (line 60) | func stepKey(taskUUID, stepUUID string) string { function workflowKey (line 65) | func workflowKey(taskUUID string) string { function New (line 70) | func New() backend_types.Backend { function canceledState (line 133) | func canceledState() *backend_types.State { function sleepWithContext (line 139) | func sleepWithContext(ctx context.Context, stop <-chan struct{}, d time.... function dummyExecStepOutput (line 286) | func dummyExecStepOutput(step *backend_types.Step) string { FILE: pipeline/backend/dummy/dummy_test.go function TestSmalPipelineDummyRun (line 29) | func TestSmalPipelineDummyRun(t *testing.T) { function TestWaitStepCanceledBySleep (line 168) | func TestWaitStepCanceledBySleep(t *testing.T) { FILE: pipeline/backend/kubernetes/backend_options.go type BackendOptions (line 25) | type BackendOptions struct type Resources (line 39) | type Resources struct type Toleration (line 45) | type Toleration struct type TaintEffect (line 53) | type TaintEffect constant TaintEffectNoSchedule (line 56) | TaintEffectNoSchedule TaintEffect = "NoSchedule" constant TaintEffectPreferNoSchedule (line 57) | TaintEffectPreferNoSchedule TaintEffect = "PreferNoSchedule" constant TaintEffectNoExecute (line 58) | TaintEffectNoExecute TaintEffect = "NoExecute" type TolerationOperator (line 61) | type TolerationOperator constant TolerationOpExists (line 64) | TolerationOpExists TolerationOperator = "Exists" constant TolerationOpEqual (line 65) | TolerationOpEqual TolerationOperator = "Equal" type SecurityContext (line 68) | type SecurityContext struct type SecProfile (line 81) | type SecProfile struct type SecProfileType (line 86) | type SecProfileType type Capabilities (line 88) | type Capabilities struct type SecretRef (line 93) | type SecretRef struct type SecretTarget (line 100) | type SecretTarget struct constant SecProfileTypeRuntimeDefault (line 106) | SecProfileTypeRuntimeDefault SecProfileType = "RuntimeDefault" constant SecProfileTypeLocalhost (line 107) | SecProfileTypeLocalhost SecProfileType = "Localhost" function parseBackendOptions (line 110) | func parseBackendOptions(step *backend_types.Step) (BackendOptions, erro... FILE: pipeline/backend/kubernetes/backend_options_test.go function Test_parseBackendOptions (line 27) | func Test_parseBackendOptions(t *testing.T) { FILE: pipeline/backend/kubernetes/kubernetes.go constant EngineName (line 48) | EngineName = "kubernetes" constant defaultResyncDuration (line 50) | defaultResyncDuration = 5 * time.Second constant maxRetryDuration (line 51) | maxRetryDuration = 1 * time.Minute type kube (line 54) | type kube struct method Name (line 172) | func (e *kube) Name() string { method IsAvailable (line 176) | func (e *kube) IsAvailable(context.Context) bool { method Flags (line 181) | func (e *kube) Flags() []cli.Flag { method Load (line 185) | func (e *kube) Load(ctx context.Context) (*types.BackendInfo, error) { method getConfig (line 213) | func (e *kube) getConfig() *config { method SetupWorkflow (line 226) | func (e *kube) SetupWorkflow(ctx context.Context, conf *types.Config, ... method StartStep (line 255) | func (e *kube) StartStep(ctx context.Context, step *types.Step, taskUU... method WaitStep (line 282) | func (e *kube) WaitStep(ctx context.Context, step *types.Step, taskUUI... method TailStep (line 362) | func (e *kube) TailStep(ctx context.Context, step *types.Step, taskUUI... method DestroyStep (line 448) | func (e *kube) DestroyStep(ctx context.Context, step *types.Step, task... method DestroyWorkflow (line 473) | func (e *kube) DestroyWorkflow(ctx context.Context, conf *types.Config... type config (line 60) | type config struct method GetNamespace (line 82) | func (c *config) GetNamespace(orgID int64) string { method newDefaultDeleteOptions (line 94) | func (c *config) newDefaultDeleteOptions() kube_meta_v1.DeleteOptions { type SecurityContextConfig (line 89) | type SecurityContextConfig struct function configFromCliContext (line 103) | func configFromCliContext(ctx context.Context) (*config, error) { function New (line 168) | func New() types.Backend { FILE: pipeline/backend/kubernetes/kubernetes_test.go function TestGettingConfig (line 35) | func TestGettingConfig(t *testing.T) { function TestSetupWorkflow (line 67) | func TestSetupWorkflow(t *testing.T) { function TestAffinityFromCliContext (line 141) | func TestAffinityFromCliContext(t *testing.T) { function makeStep (line 184) | func makeStep(uuid string) *types.Step { function makeEngine (line 192) | func makeEngine(client *fake.Clientset) *kube { function createPod (line 201) | func createPod( function TestWaitStepReturnsOnContextCancel (line 227) | func TestWaitStepReturnsOnContextCancel(t *testing.T) { function TestWaitStepNoGoroutineLeak (line 262) | func TestWaitStepNoGoroutineLeak(t *testing.T) { FILE: pipeline/backend/kubernetes/namespace.go type K8sNamespaceClient (line 26) | type K8sNamespaceClient interface function mkNamespace (line 31) | func mkNamespace(ctx context.Context, client K8sNamespaceClient, namespa... FILE: pipeline/backend/kubernetes/namespace_test.go type mockNamespaceClient (line 29) | type mockNamespaceClient struct method Get (line 37) | func (m *mockNamespaceClient) Get(_ context.Context, name string, _ ku... method Create (line 47) | func (m *mockNamespaceClient) Create(_ context.Context, ns *kube_core_... function TestMkNamespace (line 53) | func TestMkNamespace(t *testing.T) { FILE: pipeline/backend/kubernetes/pod.go constant StepLabelLegacy (line 37) | StepLabelLegacy = "step" constant StepLabel (line 38) | StepLabel = "woodpecker-ci.org/step" constant TaskUUIDLabel (line 39) | TaskUUIDLabel = "woodpecker-ci.org/task-uuid" constant podPrefix (line 40) | podPrefix = "wp-" constant defaultFSGroup (line 41) | defaultFSGroup int64 = 1000 constant initContainerImage (line 42) | initContainerImage = "busybox:stable-musl" function mkPod (line 45) | func mkPod(step *types.Step, config *config, podName, goos string, optio... function stepToPodName (line 83) | func stepToPodName(step *types.Step) (name string, err error) { function podName (line 90) | func podName(step *types.Step) (string, error) { function podMeta (line 94) | func podMeta(step *types.Step, config *config, options BackendOptions, p... function podLabels (line 110) | func podLabels(step *types.Step, config *config, options BackendOptions,... function stepLabel (line 158) | func stepLabel(step *types.Step) (string, error) { function podAnnotations (line 162) | func podAnnotations(config *config, options BackendOptions) map[string]s... function podSpec (line 181) | func podSpec(step *types.Step, config *config, options BackendOptions, n... function podContainer (line 240) | func podContainer(step *types.Step, podName, goos string, options Backen... function podInitContainer (line 296) | func podInitContainer(podSpec *kube_core_v1.PodSpec, container *kube_cor... function mapToEnvVarsFromStepSecrets (line 345) | func mapToEnvVarsFromStepSecrets(secs []string, stepSecretName string) [... function filterSecrets (line 363) | func filterSecrets(environment, secrets map[string]string) (map[string]s... function pvcVolumes (line 377) | func pvcVolumes(volumes []string) ([]kube_core_v1.Volume, error) { function pvcVolume (line 391) | func pvcVolume(name string) kube_core_v1.Volume { function volumeMounts (line 404) | func volumeMounts(volumes []string) ([]kube_core_v1.VolumeMount, error) { function volumeMount (line 419) | func volumeMount(name, path string) kube_core_v1.VolumeMount { function containerPorts (line 426) | func containerPorts(ports []types.Port) []kube_core_v1.ContainerPort { function containerPort (line 434) | func containerPort(port types.Port) kube_core_v1.ContainerPort { function hostAliases (line 442) | func hostAliases(extraHosts []types.HostAlias) []kube_core_v1.HostAlias { function hostAlias (line 451) | func hostAlias(extraHost types.HostAlias) kube_core_v1.HostAlias { function resourceRequirements (line 458) | func resourceRequirements(resources Resources) (kube_core_v1.ResourceReq... function resourceList (line 475) | func resourceList(resources map[string]string) (kube_core_v1.ResourceLis... function nodeSelector (line 488) | func nodeSelector(backendNodeSelector, configNodeSelector map[string]str... function tolerations (line 510) | func tolerations(backendTolerations []Toleration) []kube_core_v1.Tolerat... function toleration (line 524) | func toleration(backendToleration Toleration) kube_core_v1.Toleration { function affinity (line 534) | func affinity(stepAffinity, agentAffinity *kube_core_v1.Affinity, allowF... function podSecurityContext (line 553) | func podSecurityContext(sc *SecurityContext, secCtxConf SecurityContextC... function seccompProfile (line 619) | func seccompProfile(scp *SecProfile) *kube_core_v1.SeccompProfile { function apparmorProfile (line 635) | func apparmorProfile(scp *SecProfile) *kube_core_v1.AppArmorProfile { function containerCapabilities (line 651) | func containerCapabilities(capabilities *Capabilities) *kube_core_v1.Cap... function containerSecurityContext (line 667) | func containerSecurityContext(sc *SecurityContext, stepPrivileged bool) ... function mapToEnvVars (line 704) | func mapToEnvVars(m map[string]string) []kube_core_v1.EnvVar { function dnsConfig (line 715) | func dnsConfig(namespace, subdomain string) *kube_core_v1.PodDNSConfig { function startPod (line 721) | func startPod(ctx context.Context, engine *kube, step *types.Step, optio... function stopPod (line 736) | func stopPod(ctx context.Context, engine *kube, step *types.Step, delete... FILE: pipeline/backend/kubernetes/pod_test.go constant taskUUID (line 29) | taskUUID = "11301" function TestPodName (line 31) | func TestPodName(t *testing.T) { function TestStepToPodName (line 43) | func TestStepToPodName(t *testing.T) { function TestPodMeta (line 69) | func TestPodMeta(t *testing.T) { function TestStepLabel (line 116) | func TestStepLabel(t *testing.T) { function TestPodHostnameSanitized (line 125) | func TestPodHostnameSanitized(t *testing.T) { function TestTinyPod (line 137) | func TestTinyPod(t *testing.T) { function TestFullPod (line 223) | func TestFullPod(t *testing.T) { function TestPodPrivilege (line 457) | func TestPodPrivilege(t *testing.T) { function TestScratchPod (line 589) | func TestScratchPod(t *testing.T) { function TestSecrets (line 641) | func TestSecrets(t *testing.T) { function TestPodTolerations (line 767) | func TestPodTolerations(t *testing.T) { function TestPodTolerationsAllowFromStep (line 832) | func TestPodTolerationsAllowFromStep(t *testing.T) { function TestStepSecret (line 936) | func TestStepSecret(t *testing.T) { function TestPodAffinity (line 967) | func TestPodAffinity(t *testing.T) { function TestPodAffinityAllowFromStep (line 1038) | func TestPodAffinityAllowFromStep(t *testing.T) { function TestPodAffinityStepOverridesAgent (line 1168) | func TestPodAffinityStepOverridesAgent(t *testing.T) { function TestInitContainer (line 1271) | func TestInitContainer(t *testing.T) { function TestUnrequiredInitContainer (line 1330) | func TestUnrequiredInitContainer(t *testing.T) { FILE: pipeline/backend/kubernetes/secrets.go type nativeSecretsProcessor (line 36) | type nativeSecretsProcessor struct method isEnabled (line 52) | func (nsp *nativeSecretsProcessor) isEnabled() bool { method process (line 56) | func (nsp *nativeSecretsProcessor) process() error { function newNativeSecretsProcessor (line 45) | func newNativeSecretsProcessor(config *config, secrets []SecretRef) nati... method isSimple (line 98) | func (sr SecretRef) isSimple() bool { method isAdvanced (line 102) | func (sr SecretRef) isAdvanced() bool { method isFile (line 106) | func (sr SecretRef) isFile() bool { method toEnvFromSource (line 110) | func (sr SecretRef) toEnvFromSource() (kube_core_v1.EnvFromSource, error) { method toEnvVar (line 126) | func (sr SecretRef) toEnvVar() (kube_core_v1.EnvVar, error) { method toVolume (line 149) | func (sr SecretRef) toVolume() (kube_core_v1.Volume, error) { method toVolumeMount (line 169) | func (sr SecretRef) toVolumeMount() (kube_core_v1.VolumeMount, error) { function secretsReferences (line 190) | func secretsReferences(names []string) []kube_core_v1.LocalObjectReferen... function secretReference (line 198) | func secretReference(name string) kube_core_v1.LocalObjectReference { function needsRegistrySecret (line 204) | func needsRegistrySecret(step *types.Step) bool { function mkRegistrySecret (line 208) | func mkRegistrySecret(step *types.Step, config *config) (*kube_core_v1.S... function registrySecretName (line 251) | func registrySecretName(step *types.Step) (string, error) { function registrySecretLabels (line 255) | func registrySecretLabels(step *types.Step, config *config) (map[string]... function startRegistrySecret (line 285) | func startRegistrySecret(ctx context.Context, engine *kube, step *types.... function stopRegistrySecret (line 298) | func stopRegistrySecret(ctx context.Context, engine *kube, step *types.S... function needsStepSecret (line 312) | func needsStepSecret(step *types.Step) bool { function startStepSecret (line 316) | func startStepSecret(ctx context.Context, e *kube, step *types.Step) err... function mkStepSecret (line 329) | func mkStepSecret(step *types.Step, config *config) (*kube_core_v1.Secre... function stepSecretName (line 345) | func stepSecretName(step *types.Step) (string, error) { function stopStepSecret (line 353) | func stopStepSecret(ctx context.Context, engine *kube, step *types.Step,... FILE: pipeline/backend/kubernetes/secrets_test.go function TestNativeSecretsEnabled (line 28) | func TestNativeSecretsEnabled(t *testing.T) { function TestNativeSecretsDisabled (line 35) | func TestNativeSecretsDisabled(t *testing.T) { function TestSimpleSecret (line 67) | func TestSimpleSecret(t *testing.T) { function TestSecretWithKey (line 90) | func TestSecretWithKey(t *testing.T) { function TestSecretWithKeyMapping (line 118) | func TestSecretWithKeyMapping(t *testing.T) { function TestFileSecret (line 149) | func TestFileSecret(t *testing.T) { function TestNoAuthNoSecret (line 186) | func TestNoAuthNoSecret(t *testing.T) { function TestNoPasswordNoSecret (line 190) | func TestNoPasswordNoSecret(t *testing.T) { function TestNoUsernameNoSecret (line 196) | func TestNoUsernameNoSecret(t *testing.T) { function TestUsernameAndPasswordNeedsSecret (line 202) | func TestUsernameAndPasswordNeedsSecret(t *testing.T) { function TestRegistrySecret (line 208) | func TestRegistrySecret(t *testing.T) { FILE: pipeline/backend/kubernetes/service.go constant ServiceLabel (line 29) | ServiceLabel = "service" constant HeadlessServicePrefix (line 30) | HeadlessServicePrefix = "wp-hsvc-" constant ServicePrefix (line 31) | ServicePrefix = "wp-svc-" function mkHeadlessService (line 34) | func mkHeadlessService(namespace, taskUUID string) (*kube_core_v1.Servic... function serviceName (line 58) | func serviceName(step *types.Step) (string, error) { function isService (line 62) | func isService(step *types.Step) bool { function subdomain (line 66) | func subdomain(taskUUID string) (string, error) { function startHeadlessService (line 70) | func startHeadlessService(ctx context.Context, engine *kube, namespace, ... method stopHeadlessService (line 80) | func (e *kube) stopHeadlessService(ctx context.Context, engine *kube, na... FILE: pipeline/backend/kubernetes/service_test.go function TestServiceName (line 29) | func TestServiceName(t *testing.T) { function TestHeadlessService (line 43) | func TestHeadlessService(t *testing.T) { function TestInvalidHeadlessService (line 69) | func TestInvalidHeadlessService(t *testing.T) { function TestStartHeadlessService (line 74) | func TestStartHeadlessService(t *testing.T) { function TestStopHeadlessService (line 107) | func TestStopHeadlessService(t *testing.T) { FILE: pipeline/backend/kubernetes/utils.go constant maxDNSLabelLen (line 29) | maxDNSLabelLen = 63 function getHostnameOrEmpty (line 41) | func getHostnameOrEmpty(name string) string { function dnsName (line 60) | func dnsName(i string) (string, error) { function toDNSName (line 70) | func toDNSName(in string) (string, error) { function isImagePullBackOffState (line 78) | func isImagePullBackOffState(pod *kube_core_v1.Pod) bool { function isInvalidImageName (line 90) | func isInvalidImageName(pod *kube_core_v1.Pod) bool { function getClientOutOfCluster (line 103) | func getClientOutOfCluster() (kubernetes.Interface, error) { function getClientInsideOfCluster (line 119) | func getClientInsideOfCluster() (kubernetes.Interface, error) { function newBool (line 128) | func newBool(val bool) *bool { function newInt64 (line 134) | func newInt64(val int64) *int64 { FILE: pipeline/backend/kubernetes/utils_test.go function TestDNSName (line 23) | func TestDNSName(t *testing.T) { function TestToDnsName (line 58) | func TestToDnsName(t *testing.T) { function TestGetHostnameOrEmpty (line 75) | func TestGetHostnameOrEmpty(t *testing.T) { FILE: pipeline/backend/kubernetes/volume.go function mkPersistentVolumeClaim (line 28) | func mkPersistentVolumeClaim(config *config, name, namespace string) (*k... function volumeName (line 66) | func volumeName(name string) (string, error) { function volumeMountPath (line 70) | func volumeMountPath(name string) string { function startVolume (line 78) | func startVolume(ctx context.Context, engine *kube, name, namespace stri... function stopVolume (line 89) | func stopVolume(ctx context.Context, engine *kube, name, namespace strin... FILE: pipeline/backend/kubernetes/volume_test.go function TestPvcName (line 24) | func TestPvcName(t *testing.T) { function TestPvcMount (line 36) | func TestPvcMount(t *testing.T) { function TestPersistentVolumeClaim (line 44) | func TestPersistentVolumeClaim(t *testing.T) { FILE: pipeline/backend/local/clone.go function checkGitCloneCap (line 34) | func checkGitCloneCap() error { method loadClone (line 40) | func (e *local) loadClone() { method setupClone (line 50) | func (e *local) setupClone(ctx context.Context, state *workflowState) er... method execClone (line 65) | func (e *local) execClone(ctx context.Context, step *types.Step, state *... method writeNetRC (line 121) | func (e *local) writeNetRC(step *types.Step, state *workflowState) (stri... method downloadLatestGitPluginBinary (line 145) | func (e *local) downloadLatestGitPluginBinary(ctx context.Context, dest ... FILE: pipeline/backend/local/command.go method execCommands (line 35) | func (e *local) execCommands(ctx context.Context, step *types.Step, stat... function checkShellExistence (line 75) | func checkShellExistence(shell string) error { method genCmdByShell (line 80) | func (e *local) genCmdByShell(shell string, cmdList []string, baseDir st... function probeShellIsPosix (line 143) | func probeShellIsPosix(shell string) error { FILE: pipeline/backend/local/command_test.go function TestGenCmdByShell (line 27) | func TestGenCmdByShell(t *testing.T) { function TestProbeShellIsPosix (line 142) | func TestProbeShellIsPosix(t *testing.T) { FILE: pipeline/backend/local/const.go constant netrcFile (line 32) | netrcFile = ` function genNetRC (line 38) | func genNetRC(env map[string]string) string { FILE: pipeline/backend/local/const_test.go function TestGenNetRC (line 23) | func TestGenNetRC(t *testing.T) { FILE: pipeline/backend/local/errors.go type ErrNoPosixShell (line 34) | type ErrNoPosixShell struct method Error (line 39) | func (e *ErrNoPosixShell) Error() string { method Unwrap (line 44) | func (e *ErrNoPosixShell) Unwrap() error { method Is (line 49) | func (e *ErrNoPosixShell) Is(target error) bool { FILE: pipeline/backend/local/local.go type workflowState (line 35) | type workflowState struct type stepState (line 43) | type stepState struct type local (line 48) | type local struct method Name (line 66) | func (e *local) Name() string { method IsAvailable (line 70) | func (e *local) IsAvailable(ctx context.Context) bool { method Flags (line 80) | func (e *local) Flags() []cli.Flag { method Load (line 84) | func (e *local) Load(ctx context.Context) (*types.BackendInfo, error) { method SetupWorkflow (line 98) | func (e *local) SetupWorkflow(_ context.Context, _ *types.Config, task... method StartStep (line 142) | func (e *local) StartStep(ctx context.Context, step *types.Step, taskU... method WaitStep (line 178) | func (e *local) WaitStep(ctx context.Context, step *types.Step, taskUU... method TailStep (line 225) | func (e *local) TailStep(_ context.Context, step *types.Step, taskUUID... method DestroyStep (line 235) | func (e *local) DestroyStep(_ context.Context, step *types.Step, taskU... method DestroyWorkflow (line 263) | func (e *local) DestroyWorkflow(_ context.Context, _ *types.Config, ta... method getWorkflowState (line 298) | func (e *local) getWorkflowState(taskUUID string) (*workflowState, err... method getStepState (line 312) | func (e *local) getStepState(taskUUID, stepUUID string) (*stepState, e... function New (line 59) | func New() types.Backend { FILE: pipeline/backend/local/local_test.go function TestIsAvailable (line 41) | func TestIsAvailable(t *testing.T) { function TestLoad (line 60) | func TestLoad(t *testing.T) { function TestSetupWorkflow (line 92) | func TestSetupWorkflow(t *testing.T) { function TestDestroyWorkflow (line 124) | func TestDestroyWorkflow(t *testing.T) { function prepairEnv (line 155) | func prepairEnv(t *testing.T) { function TestRunStep (line 167) | func TestRunStep(t *testing.T) { function TestStateManagement (line 366) | func TestStateManagement(t *testing.T) { function TestConcurrentWorkflows (line 410) | func TestConcurrentWorkflows(t *testing.T) { FILE: pipeline/backend/local/plugin.go method execPlugin (line 26) | func (e *local) execPlugin(ctx context.Context, step *types.Step, state ... FILE: pipeline/backend/types/auth.go type Auth (line 18) | type Auth struct FILE: pipeline/backend/types/backend.go type Backend (line 60) | type Backend interface type BackendInfo (line 167) | type BackendInfo struct FILE: pipeline/backend/types/config.go type Config (line 18) | type Config struct type contextKey (line 31) | type contextKey struct FILE: pipeline/backend/types/conn.go type Conn (line 18) | type Conn struct FILE: pipeline/backend/types/mocks/mock_Backend.go function NewMockBackend (line 18) | func NewMockBackend(t interface { type MockBackend (line 31) | type MockBackend struct method EXPECT (line 39) | func (_m *MockBackend) EXPECT() *MockBackend_Expecter { method DestroyStep (line 44) | func (_mock *MockBackend) DestroyStep(ctx context.Context, step *types... method DestroyWorkflow (line 107) | func (_mock *MockBackend) DestroyWorkflow(ctx context.Context, conf *t... method Flags (line 170) | func (_mock *MockBackend) Flags() []cli.Flag { method IsAvailable (line 216) | func (_mock *MockBackend) IsAvailable(ctx context.Context) bool { method Load (line 267) | func (_mock *MockBackend) Load(ctx context.Context) (*types.BackendInf... method Name (line 329) | func (_mock *MockBackend) Name() string { method SetupWorkflow (line 373) | func (_mock *MockBackend) SetupWorkflow(ctx context.Context, conf *typ... method StartStep (line 436) | func (_mock *MockBackend) StartStep(ctx context.Context, step *types.S... method TailStep (line 499) | func (_mock *MockBackend) TailStep(ctx context.Context, step *types.St... method WaitStep (line 573) | func (_mock *MockBackend) WaitStep(ctx context.Context, step *types.St... type MockBackend_Expecter (line 35) | type MockBackend_Expecter struct method DestroyStep (line 69) | func (_e *MockBackend_Expecter) DestroyStep(ctx interface{}, step inte... method DestroyWorkflow (line 132) | func (_e *MockBackend_Expecter) DestroyWorkflow(ctx interface{}, conf ... method Flags (line 194) | func (_e *MockBackend_Expecter) Flags() *MockBackend_Flags_Call { method IsAvailable (line 239) | func (_e *MockBackend_Expecter) IsAvailable(ctx interface{}) *MockBack... method Load (line 301) | func (_e *MockBackend_Expecter) Load(ctx interface{}) *MockBackend_Loa... method Name (line 351) | func (_e *MockBackend_Expecter) Name() *MockBackend_Name_Call { method SetupWorkflow (line 398) | func (_e *MockBackend_Expecter) SetupWorkflow(ctx interface{}, conf in... method StartStep (line 461) | func (_e *MockBackend_Expecter) StartStep(ctx interface{}, step interf... method TailStep (line 535) | func (_e *MockBackend_Expecter) TailStep(ctx interface{}, step interfa... method WaitStep (line 609) | func (_e *MockBackend_Expecter) WaitStep(ctx interface{}, step interfa... type MockBackend_DestroyStep_Call (line 61) | type MockBackend_DestroyStep_Call struct method Run (line 73) | func (_c *MockBackend_DestroyStep_Call) Run(run func(ctx context.Conte... method Return (line 96) | func (_c *MockBackend_DestroyStep_Call) Return(err error) *MockBackend... method RunAndReturn (line 101) | func (_c *MockBackend_DestroyStep_Call) RunAndReturn(run func(ctx cont... type MockBackend_DestroyWorkflow_Call (line 124) | type MockBackend_DestroyWorkflow_Call struct method Run (line 136) | func (_c *MockBackend_DestroyWorkflow_Call) Run(run func(ctx context.C... method Return (line 159) | func (_c *MockBackend_DestroyWorkflow_Call) Return(err error) *MockBac... method RunAndReturn (line 164) | func (_c *MockBackend_DestroyWorkflow_Call) RunAndReturn(run func(ctx ... type MockBackend_Flags_Call (line 189) | type MockBackend_Flags_Call struct method Run (line 198) | func (_c *MockBackend_Flags_Call) Run(run func()) *MockBackend_Flags_C... method Return (line 205) | func (_c *MockBackend_Flags_Call) Return(flags []cli.Flag) *MockBacken... method RunAndReturn (line 210) | func (_c *MockBackend_Flags_Call) RunAndReturn(run func() []cli.Flag) ... type MockBackend_IsAvailable_Call (line 233) | type MockBackend_IsAvailable_Call struct method Run (line 243) | func (_c *MockBackend_IsAvailable_Call) Run(run func(ctx context.Conte... method Return (line 256) | func (_c *MockBackend_IsAvailable_Call) Return(b bool) *MockBackend_Is... method RunAndReturn (line 261) | func (_c *MockBackend_IsAvailable_Call) RunAndReturn(run func(ctx cont... type MockBackend_Load_Call (line 295) | type MockBackend_Load_Call struct method Run (line 305) | func (_c *MockBackend_Load_Call) Run(run func(ctx context.Context)) *M... method Return (line 318) | func (_c *MockBackend_Load_Call) Return(backendInfo *types.BackendInfo... method RunAndReturn (line 323) | func (_c *MockBackend_Load_Call) RunAndReturn(run func(ctx context.Con... type MockBackend_Name_Call (line 346) | type MockBackend_Name_Call struct method Run (line 355) | func (_c *MockBackend_Name_Call) Run(run func()) *MockBackend_Name_Call { method Return (line 362) | func (_c *MockBackend_Name_Call) Return(s string) *MockBackend_Name_Ca... method RunAndReturn (line 367) | func (_c *MockBackend_Name_Call) RunAndReturn(run func() string) *Mock... type MockBackend_SetupWorkflow_Call (line 390) | type MockBackend_SetupWorkflow_Call struct method Run (line 402) | func (_c *MockBackend_SetupWorkflow_Call) Run(run func(ctx context.Con... method Return (line 425) | func (_c *MockBackend_SetupWorkflow_Call) Return(err error) *MockBacke... method RunAndReturn (line 430) | func (_c *MockBackend_SetupWorkflow_Call) RunAndReturn(run func(ctx co... type MockBackend_StartStep_Call (line 453) | type MockBackend_StartStep_Call struct method Run (line 465) | func (_c *MockBackend_StartStep_Call) Run(run func(ctx context.Context... method Return (line 488) | func (_c *MockBackend_StartStep_Call) Return(err error) *MockBackend_S... method RunAndReturn (line 493) | func (_c *MockBackend_StartStep_Call) RunAndReturn(run func(ctx contex... type MockBackend_TailStep_Call (line 527) | type MockBackend_TailStep_Call struct method Run (line 539) | func (_c *MockBackend_TailStep_Call) Run(run func(ctx context.Context,... method Return (line 562) | func (_c *MockBackend_TailStep_Call) Return(readCloser io.ReadCloser, ... method RunAndReturn (line 567) | func (_c *MockBackend_TailStep_Call) RunAndReturn(run func(ctx context... type MockBackend_WaitStep_Call (line 601) | type MockBackend_WaitStep_Call struct method Run (line 613) | func (_c *MockBackend_WaitStep_Call) Run(run func(ctx context.Context,... method Return (line 636) | func (_c *MockBackend_WaitStep_Call) Return(state *types.State, err er... method RunAndReturn (line 641) | func (_c *MockBackend_WaitStep_Call) RunAndReturn(run func(ctx context... FILE: pipeline/backend/types/network.go type Port (line 17) | type Port struct type HostAlias (line 22) | type HostAlias struct FILE: pipeline/backend/types/secret.go type Secret (line 18) | type Secret struct FILE: pipeline/backend/types/stage.go type Stage (line 18) | type Stage struct FILE: pipeline/backend/types/state.go type State (line 18) | type State struct FILE: pipeline/backend/types/step.go type Step (line 18) | type Step struct type StepType (line 51) | type StepType constant StepTypeClone (line 54) | StepTypeClone StepType = "clone" constant StepTypeService (line 55) | StepTypeService StepType = "service" constant StepTypePlugin (line 56) | StepTypePlugin StepType = "plugin" constant StepTypeCommands (line 57) | StepTypeCommands StepType = "commands" constant StepTypeCache (line 58) | StepTypeCache StepType = "cache" FILE: pipeline/const.go constant ExitCodeKilled (line 18) | ExitCodeKilled int = 137 constant MaxLogLineLength (line 22) | MaxLogLineLength int = 1 * 1024 * 1024 constant InternalLabelPrefix (line 24) | InternalLabelPrefix string = "woodpecker-ci.org" constant LabelForgeRemoteID (line 25) | LabelForgeRemoteID string = InternalLabelPrefix + "/forge-id" constant LabelRepoForgeID (line 26) | LabelRepoForgeID string = InternalLabelPrefix + "/repo-forge-id" constant LabelRepoID (line 27) | LabelRepoID string = InternalLabelPrefix + "/repo-id" constant LabelRepoName (line 28) | LabelRepoName string = InternalLabelPrefix + "/repo-name" constant LabelRepoFullName (line 29) | LabelRepoFullName string = InternalLabelPrefix + "/repo-full-name" constant LabelBranch (line 30) | LabelBranch string = InternalLabelPrefix + "/branch" constant LabelOrgID (line 31) | LabelOrgID string = InternalLabelPrefix + "/org-id" constant LabelFilterOrg (line 32) | LabelFilterOrg string = "org-id" constant LabelFilterRepo (line 33) | LabelFilterRepo string = "repo" constant LabelFilterPlatform (line 34) | LabelFilterPlatform string = "platform" constant LabelFilterHostname (line 35) | LabelFilterHostname string = "hostname" constant LabelFilterBackend (line 36) | LabelFilterBackend string = "backend" FILE: pipeline/errors/linter.go type LinterErrorData (line 23) | type LinterErrorData struct type DeprecationErrorData (line 28) | type DeprecationErrorData struct type BadHabitErrorData (line 34) | type BadHabitErrorData struct function GetLinterData (line 40) | func GetLinterData(e *PipelineError) *LinterErrorData { function GetPipelineErrors (line 52) | func GetPipelineErrors(err error) []*PipelineError { function HasBlockingErrors (line 69) | func HasBlockingErrors(err error) bool { FILE: pipeline/errors/linter_test.go function TestGetPipelineErrors (line 27) | func TestGetPipelineErrors(t *testing.T) { function TestHasBlockingErrors (line 113) | func TestHasBlockingErrors(t *testing.T) { FILE: pipeline/errors/pipeline.go type PipelineErrorType (line 23) | type PipelineErrorType constant PipelineErrorTypeLinter (line 26) | PipelineErrorTypeLinter PipelineErrorType = "linter" constant PipelineErrorTypeDeprecation (line 27) | PipelineErrorTypeDeprecation PipelineErrorType = "deprecation" constant PipelineErrorTypeCompiler (line 28) | PipelineErrorTypeCompiler PipelineErrorType = "compiler" constant PipelineErrorTypeGeneric (line 29) | PipelineErrorTypeGeneric PipelineErrorType = "generic" constant PipelineErrorTypeBadHabit (line 30) | PipelineErrorTypeBadHabit PipelineErrorType = "bad_habit" type PipelineError (line 33) | type PipelineError struct method Error (line 40) | func (e *PipelineError) Error() string { type ErrInvalidWorkflowSetup (line 44) | type ErrInvalidWorkflowSetup struct method Error (line 49) | func (e *ErrInvalidWorkflowSetup) Error() string { FILE: pipeline/errors/runtime.go type ExitError (line 33) | type ExitError struct method Error (line 39) | func (e *ExitError) Error() string { type OomError (line 44) | type OomError struct method Error (line 50) | func (e *OomError) Error() string { FILE: pipeline/frontend/metadata/const.go type Event (line 17) | type Event method IsPull (line 32) | func (event Event) IsPull() bool { constant EventPush (line 21) | EventPush Event = "push" constant EventPull (line 22) | EventPull Event = "pull_request" constant EventPullClosed (line 23) | EventPullClosed Event = "pull_request_closed" constant EventPullMetadata (line 24) | EventPullMetadata Event = "pull_request_metadata" constant EventTag (line 25) | EventTag Event = "tag" constant EventRelease (line 26) | EventRelease Event = "release" constant EventDeploy (line 27) | EventDeploy Event = "deployment" constant EventCron (line 28) | EventCron Event = "cron" constant EventManual (line 29) | EventManual Event = "manual" type Failure (line 42) | type Failure constant FailureIgnore (line 46) | FailureIgnore Failure = "ignore" constant FailureFail (line 47) | FailureFail Failure = "fail" constant FailureCancel (line 48) | FailureCancel Failure = "cancel" FILE: pipeline/frontend/metadata/drone_compatibility.go function SetDroneEnviron (line 19) | func SetDroneEnviron(env map[string]string) { function copyEnv (line 74) | func copyEnv(woodpecker, drone string, env map[string]string) { FILE: pipeline/frontend/metadata/drone_compatibility_test.go function TestSetDroneEnvironOnPull (line 26) | func TestSetDroneEnvironOnPull(t *testing.T) { function TestSetDroneEnvironOnPush (line 106) | func TestSetDroneEnvironOnPush(t *testing.T) { function convertListToEnvMap (line 223) | func convertListToEnvMap(t *testing.T, list string) map[string]string { FILE: pipeline/frontend/metadata/environment.go constant initialEnvMapSize (line 29) | initialEnvMapSize = 100 constant maxChangedFiles (line 30) | maxChangedFiles = 500 method Environ (line 36) | func (m *Metadata) Environ() map[string]string { method getPipelineWebURL (line 165) | func (m *Metadata) getPipelineWebURL(pipeline Pipeline, stepNumber int) ... function getSourceTargetBranches (line 173) | func getSourceTargetBranches(refspec string) (string, string) { function setNonEmptyEnvVar (line 188) | func setNonEmptyEnvVar(env map[string]string, key, value string) { FILE: pipeline/frontend/metadata/environment_test.go function TestEnviron (line 23) | func TestEnviron(t *testing.T) { FILE: pipeline/frontend/metadata/substitution.go function EnvVarSubst (line 24) | func EnvVarSubst(yaml string, environ map[string]string) (string, error) { FILE: pipeline/frontend/metadata/substitution_test.go function TestEnvVarSubst (line 23) | func TestEnvVarSubst(t *testing.T) { FILE: pipeline/frontend/metadata/types.go type Metadata (line 19) | type Metadata struct type Repo (line 31) | type Repo struct type Pipeline (line 45) | type Pipeline struct type Commit (line 64) | type Commit struct type Author (line 78) | type Author struct type Workflow (line 84) | type Workflow struct type Step (line 91) | type Step struct type System (line 97) | type System struct type Forge (line 106) | type Forge struct type ServerForge (line 112) | type ServerForge interface type TrustedConfiguration (line 119) | type TrustedConfiguration struct FILE: pipeline/frontend/yaml/compiler/compiler.go constant defaultCloneName (line 31) | defaultCloneName = "clone" type Registry (line 35) | type Registry struct type Secret (line 41) | type Secret struct method Available (line 48) | func (s *Secret) Available(event metadata.Event, container *yaml_types... method Match (line 67) | func (s *Secret) Match(event metadata.Event) bool { type Compiler (line 81) | type Compiler struct method Compile (line 118) | func (c *Compiler) Compile(conf *yaml_types.Workflow) (*backend_types.... function New (line 102) | func New(opts ...Option) *Compiler { FILE: pipeline/frontend/yaml/compiler/compiler_test.go function TestSecretAvailable (line 29) | func TestSecretAvailable(t *testing.T) { function TestCompilerCompile (line 63) | func TestCompilerCompile(t *testing.T) { function TestCompilerCompileWithFromSecret (line 326) | func TestCompilerCompileWithFromSecret(t *testing.T) { function TestSecretMatch (line 439) | func TestSecretMatch(t *testing.T) { function TestCompilerCompilePrivileged (line 485) | func TestCompilerCompilePrivileged(t *testing.T) { FILE: pipeline/frontend/yaml/compiler/convert.go constant pluginWorkspaceBase (line 35) | pluginWorkspaceBase = "/woodpecker" constant DefaultWorkspaceBase (line 37) | DefaultWorkspaceBase = pluginWorkspaceBase method createProcess (line 40) | func (c *Compiler) createProcess(container *yaml_types.Container, workfl... method stepWorkingDir (line 196) | func (c *Compiler) stepWorkingDir(container *yaml_types.Container) string { function convertPort (line 207) | func convertPort(portDef string) (backend_types.Port, error) { FILE: pipeline/frontend/yaml/compiler/convert_test.go function TestConvertPortNumber (line 25) | func TestConvertPortNumber(t *testing.T) { function TestConvertPortUdp (line 35) | func TestConvertPortUdp(t *testing.T) { function TestConvertPortWrongOrder (line 45) | func TestConvertPortWrongOrder(t *testing.T) { function TestConvertPortWrongDelimiter (line 51) | func TestConvertPortWrongDelimiter(t *testing.T) { function TestConvertPortWrong (line 57) | func TestConvertPortWrong(t *testing.T) { FILE: pipeline/frontend/yaml/compiler/dag.go type dagCompilerStep (line 23) | type dagCompilerStep struct type dagCompiler (line 30) | type dagCompiler struct method isDAG (line 40) | func (c dagCompiler) isDAG() bool { method compile (line 49) | func (c dagCompiler) compile() ([]*backend_types.Stage, error) { method compileSequence (line 56) | func (c dagCompiler) compileSequence() ([]*backend_types.Stage, error) { method compileByDependsOn (line 68) | func (c dagCompiler) compileByDependsOn() ([]*backend_types.Stage, err... function newDAGCompiler (line 34) | func newDAGCompiler(steps []*dagCompilerStep) dagCompiler { function dfsVisit (line 76) | func dfsVisit(steps map[string]*dagCompilerStep, name string, visited ma... function convertDAGToStages (line 95) | func convertDAGToStages(steps map[string]*dagCompilerStep) ([]*backend_t... function allDependenciesSatisfied (line 147) | func allDependenciesSatisfied(step *dagCompilerStep, addedSteps map[stri... FILE: pipeline/frontend/yaml/compiler/dag_test.go function TestConvertDAGToStages (line 25) | func TestConvertDAGToStages(t *testing.T) { function TestIsDag (line 141) | func TestIsDag(t *testing.T) { FILE: pipeline/frontend/yaml/compiler/errors.go type ErrExtraHostFormat (line 19) | type ErrExtraHostFormat struct method Error (line 23) | func (err *ErrExtraHostFormat) Error() string { method Is (line 27) | func (*ErrExtraHostFormat) Is(target error) bool { type ErrStepMissingDependency (line 32) | type ErrStepMissingDependency struct method Error (line 37) | func (err *ErrStepMissingDependency) Error() string { method Is (line 41) | func (*ErrStepMissingDependency) Is(target error) bool { type ErrStepDependencyCycle (line 46) | type ErrStepDependencyCycle struct method Error (line 50) | func (err *ErrStepDependencyCycle) Error() string { method Is (line 54) | func (*ErrStepDependencyCycle) Is(target error) bool { FILE: pipeline/frontend/yaml/compiler/option.go type Option (line 27) | type Option function noopOption (line 29) | func noopOption() Option { function WithOption (line 35) | func WithOption(option Option, b bool) Option { function WithVolumes (line 46) | func WithVolumes(volumes ...string) Option { function WithRegistry (line 54) | func WithRegistry(registries ...Registry) Option { function WithSecret (line 62) | func WithSecret(secrets ...Secret) Option { function WithMetadata (line 74) | func WithMetadata(metadata metadata.Metadata) Option { function WithNetrc (line 84) | func WithNetrc(username, password, machine string) Option { function WithWorkspace (line 97) | func WithWorkspace(base, path string) Option { function WithWorkspaceFromURL (line 106) | func WithWorkspaceFromURL(base, u string) Option { function WithEscalated (line 117) | func WithEscalated(images ...string) Option { function WithPrefix (line 126) | func WithPrefix(prefix string) Option { function WithLocal (line 135) | func WithLocal(local bool) Option { function WithEnviron (line 143) | func WithEnviron(env map[string]string) Option { function WithNetworks (line 151) | func WithNetworks(networks ...string) Option { function WithDefaultClonePlugin (line 157) | func WithDefaultClonePlugin(cloneImage string) Option { function WithTrustedClonePlugins (line 163) | func WithTrustedClonePlugins(images []string) Option { function WithTrustedSecurity (line 170) | func WithTrustedSecurity(trusted bool) Option { type ProxyOptions (line 176) | type ProxyOptions struct function WithProxy (line 185) | func WithProxy(opt ProxyOptions) Option { function WithForceIgnoreServiceFailure (line 204) | func WithForceIgnoreServiceFailure() Option { FILE: pipeline/frontend/yaml/compiler/option_test.go function TestWithWorkspace (line 26) | func TestWithWorkspace(t *testing.T) { function TestWithEscalated (line 37) | func TestWithEscalated(t *testing.T) { function TestWithVolumes (line 48) | func TestWithVolumes(t *testing.T) { function TestWithNetworks (line 59) | func TestWithNetworks(t *testing.T) { function TestWithPrefix (line 70) | func TestWithPrefix(t *testing.T) { function TestWithMetadata (line 74) | func TestWithMetadata(t *testing.T) { function TestWithLocal (line 94) | func TestWithLocal(t *testing.T) { function TestWithNetrc (line 99) | func TestWithNetrc(t *testing.T) { function TestWithProxy (line 112) | func TestWithProxy(t *testing.T) { function TestWithEnviron (line 138) | func TestWithEnviron(t *testing.T) { function TestDefaultClonePlugin (line 151) | func TestDefaultClonePlugin(t *testing.T) { function TestWithTrustedClonePlugins (line 158) | func TestWithTrustedClonePlugins(t *testing.T) { FILE: pipeline/frontend/yaml/compiler/settings/params.go function ParamsToEnv (line 29) | func ParamsToEnv(from map[string]any, to map[string]string, prefix strin... function sanitizeParamKey (line 58) | func sanitizeParamKey(prefix string, upper bool, k string) string { function isComplex (line 68) | func isComplex(t reflect.Kind) bool { function sanitizeParamValue (line 81) | func sanitizeParamValue(v any, getSecretValue func(name string) (string,... function handleComplex (line 158) | func handleComplex(v any, getSecretValue func(name string) (string, erro... function injectSecret (line 178) | func injectSecret(v map[string]any, getSecretValue func(name string) (st... function injectSecretRecursive (line 195) | func injectSecretRecursive(v any, getSecretValue func(name string) (stri... FILE: pipeline/frontend/yaml/compiler/settings/params_test.go function TestParamsToEnv (line 26) | func TestParamsToEnv(t *testing.T) { function TestParamsToEnvPrefix (line 81) | func TestParamsToEnvPrefix(t *testing.T) { function TestSanitizeParamKey (line 109) | func TestSanitizeParamKey(t *testing.T) { function TestYAMLToParamsToEnv (line 118) | func TestYAMLToParamsToEnv(t *testing.T) { function TestYAMLToParamsToEnvError (line 180) | func TestYAMLToParamsToEnvError(t *testing.T) { function stringsToInterface (line 204) | func stringsToInterface(val ...string) []any { function TestSecretNotFound (line 212) | func TestSecretNotFound(t *testing.T) { function TestSecretMappingSimpleSecret (line 236) | func TestSecretMappingSimpleSecret(t *testing.T) { function TestSecretMappingComplexMapWithSecrets (line 267) | func TestSecretMappingComplexMapWithSecrets(t *testing.T) { function TestComplexTypesWithNilValuesWontPanic (line 308) | func TestComplexTypesWithNilValuesWontPanic(t *testing.T) { FILE: pipeline/frontend/yaml/constraint/constraint.go constant statusFailure (line 32) | statusFailure = "failure" constant statusSuccess (line 33) | statusSuccess = "success" type When (line 38) | type When struct method IsEmpty (line 59) | func (when *When) IsEmpty() bool { method Match (line 64) | func (when *When) Match(metadata metadata.Metadata, global bool, env m... method IncludesStatusFailure (line 83) | func (when *When) IncludesStatusFailure(metadata metadata.Metadata, gl... method IncludesStatusSuccess (line 98) | func (when *When) IncludesStatusSuccess(metadata metadata.Metadata, gl... method IsLocal (line 116) | func (when *When) IsLocal() bool { method UnmarshalYAML (line 125) | func (when *When) UnmarshalYAML(value *yaml.Node) error { method MarshalYAML (line 147) | func (when When) MarshalYAML() (any, error) { type Constraint (line 43) | type Constraint struct method Match (line 167) | func (c *Constraint) Match(m metadata.Metadata, global bool, env map[s... FILE: pipeline/frontend/yaml/constraint/constraint_test.go function TestConstraintStatusSuccessFailure (line 27) | func TestConstraintStatusSuccessFailure(t *testing.T) { function TestConstraints (line 63) | func TestConstraints(t *testing.T) { function parseConstraints (line 202) | func parseConstraints(t *testing.T, s string) *When { FILE: pipeline/frontend/yaml/constraint/list.go type List (line 28) | type List struct method IsEmpty (line 34) | func (c List) IsEmpty() bool { method Match (line 40) | func (c *List) Match(v string) bool { method Includes (line 57) | func (c *List) Includes(v string) bool { method Excludes (line 67) | func (c *List) Excludes(v string) bool { method UnmarshalYAML (line 77) | func (c *List) UnmarshalYAML(value *yaml.Node) error { method MarshalYAML (line 103) | func (c List) MarshalYAML() (any, error) { FILE: pipeline/frontend/yaml/constraint/list_test.go function TestConstraintList (line 24) | func TestConstraintList(t *testing.T) { function parseConstraintList (line 163) | func parseConstraintList(t *testing.T, s string) *List { FILE: pipeline/frontend/yaml/constraint/map.go type Map (line 20) | type Map struct method Match (line 27) | func (c *Map) Match(params map[string]string) bool { method UnmarshalYAML (line 56) | func (c *Map) UnmarshalYAML(unmarshal func(any) error) error { method MarshalYAML (line 79) | func (c Map) MarshalYAML() (any, error) { FILE: pipeline/frontend/yaml/constraint/map_test.go function TestConstraintMap (line 24) | func TestConstraintMap(t *testing.T) { function parseConstraintMap (line 146) | func parseConstraintMap(t *testing.T, s string) *Map { FILE: pipeline/frontend/yaml/constraint/path.go type Path (line 29) | type Path struct method UnmarshalYAML (line 37) | func (c *Path) UnmarshalYAML(value *yaml.Node) error { method MarshalYAML (line 67) | func (c Path) MarshalYAML() (any, error) { method Match (line 99) | func (c *Path) Match(v []string, message string) bool { method Includes (line 120) | func (c *Path) Includes(v []string) bool { method Excludes (line 132) | func (c *Path) Excludes(v []string) bool { FILE: pipeline/frontend/yaml/constraint/path_test.go function TestConstraintPath (line 24) | func TestConstraintPath(t *testing.T) { function parseConstraintPath (line 154) | func parseConstraintPath(t *testing.T, s string) *Path { FILE: pipeline/frontend/yaml/constraint/skip.go function IsSkipCommitMessage (line 25) | func IsSkipCommitMessage(event metadata.Event, commitMessage string) bool { FILE: pipeline/frontend/yaml/linter/error.go function newLinterError (line 21) | func newLinterError(message, file, field string, isWarning bool) *pipeli... FILE: pipeline/frontend/yaml/linter/linter.go constant networkModeNone (line 32) | networkModeNone = "none" type Linter (line 35) | type Linter struct method Lint (line 68) | func (l *Linter) Lint(configs []*WorkflowConfig) error { method lintFile (line 80) | func (l *Linter) lintFile(config *WorkflowConfig) error { method lintCloneSteps (line 114) | func (l *Linter) lintCloneSteps(config *WorkflowConfig) error { method lintContainers (line 137) | func (l *Linter) lintContainers(config *WorkflowConfig, area string) e... method lintDependsOn (line 175) | func (l *Linter) lintDependsOn(config *WorkflowConfig, c *types.Contai... method lintImage (line 198) | func (l *Linter) lintImage(config *WorkflowConfig, c *types.Container,... method lintPrivilegedPlugins (line 205) | func (l *Linter) lintPrivilegedPlugins(config *WorkflowConfig, c *type... method lintSettings (line 221) | func (l *Linter) lintSettings(config *WorkflowConfig, c *types.Contain... method lintContainerDeprecations (line 237) | func (l *Linter) lintContainerDeprecations(config *WorkflowConfig, c *... method lintTrusted (line 241) | func (l *Linter) lintTrusted(config *WorkflowConfig, c *types.Containe... method lintSchema (line 288) | func (l *Linter) lintSchema(config *WorkflowConfig) error { method lintDeprecations (line 304) | func (l *Linter) lintDeprecations(config *WorkflowConfig) error { method lintBadHabits (line 327) | func (l *Linter) lintBadHabits(config *WorkflowConfig) (err error) { type TrustedConfiguration (line 41) | type TrustedConfiguration struct function New (line 48) | func New(opts ...Option) *Linter { type WorkflowConfig (line 56) | type WorkflowConfig struct FILE: pipeline/frontend/yaml/linter/linter_test.go function TestLint (line 28) | func TestLint(t *testing.T) { function TestLintErrors (line 114) | func TestLintErrors(t *testing.T) { function TestBadHabits (line 213) | func TestBadHabits(t *testing.T) { FILE: pipeline/frontend/yaml/linter/option.go type Option (line 18) | type Option function WithTrusted (line 21) | func WithTrusted(trusted TrustedConfiguration) Option { function PrivilegedPlugins (line 28) | func PrivilegedPlugins(plugins []string) Option { function WithTrustedClonePlugins (line 35) | func WithTrustedClonePlugins(plugins []string) Option { FILE: pipeline/frontend/yaml/linter/schema/schema.go function Lint (line 33) | func Lint(r io.Reader) ([]gojsonschema.ResultError, error) { function LintString (line 67) | func LintString(s string) ([]gojsonschema.ResultError, error) { FILE: pipeline/frontend/yaml/linter/schema/schema_test.go function TestSchema (line 30) | func TestSchema(t *testing.T) { FILE: pipeline/frontend/yaml/matrix/matrix.go constant limitTags (line 26) | limitTags = 10 constant limitAxis (line 27) | limitAxis = 25 type Matrix (line 31) | type Matrix type Axis (line 34) | type Axis method String (line 38) | func (a Axis) String() string { function Parse (line 47) | func Parse(data []byte) ([]Axis, error) { function ParseString (line 66) | func ParseString(data string) ([]Axis, error) { function calc (line 70) | func calc(matrix Matrix) []Axis { function parse (line 114) | func parse(raw []byte) (Matrix, error) { function parseList (line 124) | func parseList(raw []byte) ([]Axis, error) { FILE: pipeline/frontend/yaml/matrix/matrix_test.go function TestMatrix (line 23) | func TestMatrix(t *testing.T) { function TestMatrixEmpty (line 34) | func TestMatrixEmpty(t *testing.T) { function TestMatrixIncluded (line 40) | func TestMatrixIncluded(t *testing.T) { FILE: pipeline/frontend/yaml/parse.go function ParseBytes (line 24) | func ParseBytes(b []byte) (*types.Workflow, error) { function ParseString (line 34) | func ParseString(s string) (*types.Workflow, error) { FILE: pipeline/frontend/yaml/parse_test.go function TestParse (line 28) | func TestParse(t *testing.T) { function TestMatch (line 82) | func TestMatch(t *testing.T) { function TestParseLegacy (line 129) | func TestParseLegacy(t *testing.T) { function TestReSerialize (line 248) | func TestReSerialize(t *testing.T) { function TestSlice (line 331) | func TestSlice(t *testing.T) { FILE: pipeline/frontend/yaml/types/base/int.go type StringOrInt (line 25) | type StringOrInt method UnmarshalYAML (line 28) | func (s *StringOrInt) UnmarshalYAML(unmarshal func(any) error) error { type MemStringOrInt (line 50) | type MemStringOrInt method UnmarshalYAML (line 53) | func (s *MemStringOrInt) UnmarshalYAML(unmarshal func(any) error) error { FILE: pipeline/frontend/yaml/types/base/int_test.go type StructStringOrInt (line 24) | type StructStringOrInt struct function TestStringOrIntYaml (line 28) | func TestStringOrIntYaml(t *testing.T) { FILE: pipeline/frontend/yaml/types/base/slice.go type StringOrSlice (line 24) | type StringOrSlice method UnmarshalYAML (line 27) | func (s *StringOrSlice) UnmarshalYAML(unmarshal func(any) error) error { method MarshalYAML (line 48) | func (s StringOrSlice) MarshalYAML() (any, error) { function toStrings (line 57) | func toStrings(s []any) ([]string, error) { FILE: pipeline/frontend/yaml/types/base/slice_test.go type StructStringOrSlice (line 24) | type StructStringOrSlice struct function TestStringOrSliceYaml (line 29) | func TestStringOrSliceYaml(t *testing.T) { FILE: pipeline/frontend/yaml/types/container.go type Container (line 24) | type Container struct method IsPlugin (line 60) | func (c *Container) IsPlugin() bool { method IsTrustedCloneImage (line 66) | func (c *Container) IsTrustedCloneImage(trustedClonePlugins []string) ... FILE: pipeline/frontend/yaml/types/container_list.go type ContainerList (line 24) | type ContainerList struct method UnmarshalYAML (line 29) | func (c *ContainerList) UnmarshalYAML(value *yaml.Node) error { method MarshalYAML (line 77) | func (c ContainerList) MarshalYAML() (any, error) { FILE: pipeline/frontend/yaml/types/container_test.go function TestUnmarshalContainer (line 72) | func TestUnmarshalContainer(t *testing.T) { function TestUnmarshalContainers (line 126) | func TestUnmarshalContainers(t *testing.T) { function TestUnmarshalContainersErr (line 251) | func TestUnmarshalContainersErr(t *testing.T) { function stringsToInterface (line 264) | func stringsToInterface(val ...string) []any { function TestIsPlugin (line 272) | func TestIsPlugin(t *testing.T) { FILE: pipeline/frontend/yaml/types/network.go type Networks (line 24) | type Networks struct method MarshalYAML (line 37) | func (n Networks) MarshalYAML() (any, error) { method UnmarshalYAML (line 46) | func (n *Networks) UnmarshalYAML(unmarshal func(any) error) error { type Network (line 29) | type Network struct function handleNetwork (line 82) | func handleNetwork(name string, value any) (*Network, error) { FILE: pipeline/frontend/yaml/types/network_test.go function TestMarshalNetworks (line 24) | func TestMarshalNetworks(t *testing.T) { function TestUnmarshalNetworks (line 98) | func TestUnmarshalNetworks(t *testing.T) { FILE: pipeline/frontend/yaml/types/volume.go type Volumes (line 25) | type Volumes struct method MarshalYAML (line 51) | func (v Volumes) MarshalYAML() (any, error) { method UnmarshalYAML (line 60) | func (v *Volumes) UnmarshalYAML(unmarshal func(any) error) error { type Volume (line 30) | type Volume struct method String (line 37) | func (v *Volume) String() string { FILE: pipeline/frontend/yaml/types/volume_test.go function TestMarshalVolumes (line 24) | func TestMarshalVolumes(t *testing.T) { function TestUnmarshalVolumes (line 95) | func TestUnmarshalVolumes(t *testing.T) { FILE: pipeline/frontend/yaml/types/workflow.go type Workflow (line 23) | type Workflow struct type Workspace (line 37) | type Workspace struct FILE: pipeline/frontend/yaml/utils/image.go function trimImage (line 24) | func trimImage(name string) string { function expandImage (line 38) | func expandImage(name string) string { function MatchImage (line 54) | func MatchImage(from string, to ...string) bool { function MatchImageDynamic (line 66) | func MatchImageDynamic(from string, to ...string) bool { function imageHasTag (line 83) | func imageHasTag(name string) bool { function ParseNamed (line 88) | func ParseNamed(image string) (reference.Named, error) { function MatchHostname (line 98) | func MatchHostname(image, hostname string) bool { FILE: pipeline/frontend/yaml/utils/image_test.go function Test_trimImage (line 23) | func Test_trimImage(t *testing.T) { function Test_expandImage (line 75) | func Test_expandImage(t *testing.T) { function Test_imageHasTag (line 131) | func Test_imageHasTag(t *testing.T) { function Test_matchImage (line 182) | func Test_matchImage(t *testing.T) { function Test_matchImageDynamic (line 268) | func Test_matchImageDynamic(t *testing.T) { function Test_matchHostname (line 318) | func Test_matchHostname(t *testing.T) { FILE: pipeline/logging/logger.go type Logger (line 24) | type Logger FILE: pipeline/runtime/helpers_test.go function newTestTracer (line 33) | func newTestTracer(t *testing.T) *tracer_mocks.MockTracer { function newTestLogger (line 41) | func newTestLogger(t *testing.T) logging.Logger { function getTracerStates (line 51) | func getTracerStates(tracer *tracer_mocks.MockTracer) []state.State { function indexOfTrace (line 66) | func indexOfTrace(traces []state.State, match func(s state.State) bool) ... FILE: pipeline/runtime/option.go type Option (line 25) | type Option function WithLogger (line 28) | func WithLogger(logger logging.Logger) Option { function WithTracer (line 35) | func WithTracer(tracer tracing.Tracer) Option { function WithContext (line 42) | func WithContext(ctx context.Context) Option { function WithDescription (line 49) | func WithDescription(desc map[string]string) Option { function WithTaskUUID (line 56) | func WithTaskUUID(uuid string) Option { FILE: pipeline/runtime/runtime.go type Runtime (line 33) | type Runtime struct method makeLogger (line 72) | func (r *Runtime) makeLogger() zerolog.Logger { function New (line 56) | func New(spec *backend_types.Config, backend backend_types.Backend, opts... FILE: pipeline/runtime/runtime_test.go function cmdStep (line 42) | func cmdStep(name string, opts ...func(*backend_types.Step)) *backend_ty... function withExitCode (line 58) | func withExitCode(code int) func(*backend_types.Step) { function withIgnoreFailure (line 64) | func withIgnoreFailure() func(*backend_types.Step) { function withOnFailure (line 68) | func withOnFailure() func(*backend_types.Step) { function withDetached (line 72) | func withDetached() func(*backend_types.Step) { function withUnboundedDetached (line 80) | func withUnboundedDetached() func(*backend_types.Step) { function withService (line 88) | func withService() func(*backend_types.Step) { function withUnboundedService (line 97) | func withUnboundedService() func(*backend_types.Step) { function withPlugin (line 105) | func withPlugin() func(*backend_types.Step) { function withOOM (line 112) | func withOOM() func(*backend_types.Step) { function withStartFail (line 119) | func withStartFail() func(*backend_types.Step) { function withSleep (line 125) | func withSleep(d string) func(*backend_types.Step) { function findFirstTraceByName (line 135) | func findFirstTraceByName(traces []state.State, name string) *state.State { function findLastTraceByName (line 144) | func findLastTraceByName(traces []state.State, name string) *state.State { function findStartedTrace (line 153) | func findStartedTrace(traces []state.State, name string) *state.State { function TestWorkflowCloneBuildDeploy (line 166) | func TestWorkflowCloneBuildDeploy(t *testing.T) { function TestWorkflowWithServiceStep (line 201) | func TestWorkflowWithServiceStep(t *testing.T) { function TestWorkflowDetachedStepDoesNotBlockWorkflow (line 298) | func TestWorkflowDetachedStepDoesNotBlockWorkflow(t *testing.T) { function TestWorkflowBuildFailSkipsSubsequentStages (line 318) | func TestWorkflowBuildFailSkipsSubsequentStages(t *testing.T) { function TestWorkflowOnFailureStepRuns (line 357) | func TestWorkflowOnFailureStepRuns(t *testing.T) { function TestWorkflowOnFailureStepSkippedOnSuccess (line 384) | func TestWorkflowOnFailureStepSkippedOnSuccess(t *testing.T) { function TestWorkflowFailureIgnore (line 409) | func TestWorkflowFailureIgnore(t *testing.T) { function TestWorkflowFailureIgnoreDoesNotSetWorkflowError (line 436) | func TestWorkflowFailureIgnoreDoesNotSetWorkflowError(t *testing.T) { function TestWorkflowPluginStep (line 462) | func TestWorkflowPluginStep(t *testing.T) { function TestWorkflowOOMKilledStep (line 496) | func TestWorkflowOOMKilledStep(t *testing.T) { function TestWorkflowParallelStepsInStage (line 522) | func TestWorkflowParallelStepsInStage(t *testing.T) { function TestWorkflowParallelStepOneFailsOthersComplete (line 547) | func TestWorkflowParallelStepOneFailsOthersComplete(t *testing.T) { function TestWorkflowStepStartFailure (line 579) | func TestWorkflowStepStartFailure(t *testing.T) { function TestWorkflowContextCancelDuringExecution (line 601) | func TestWorkflowContextCancelDuringExecution(t *testing.T) { function TestWorkflowSetupFailure (line 635) | func TestWorkflowSetupFailure(t *testing.T) { function TestWorkflowServiceWithParallelBuildAndOnFailure (line 655) | func TestWorkflowServiceWithParallelBuildAndOnFailure(t *testing.T) { function TestWorkflowIgnoredFailureFollowedByOnFailureStep (line 698) | func TestWorkflowIgnoredFailureFollowedByOnFailureStep(t *testing.T) { function TestWorkflowEmptyStages (line 728) | func TestWorkflowEmptyStages(t *testing.T) { function TestPluginStepFailure (line 748) | func TestPluginStepFailure(t *testing.T) { function TestDetachedStepFailure (line 775) | func TestDetachedStepFailure(t *testing.T) { function TestServiceStepFailure (line 797) | func TestServiceStepFailure(t *testing.T) { function TestPluginStepStartFailure (line 823) | func TestPluginStepStartFailure(t *testing.T) { function TestDetachedStepStartFailure (line 842) | func TestDetachedStepStartFailure(t *testing.T) { function TestServiceStepStartFailure (line 865) | func TestServiceStepStartFailure(t *testing.T) { function TestPluginOnFailureStepRuns (line 890) | func TestPluginOnFailureStepRuns(t *testing.T) { function TestPluginOnFailureStepSkippedOnSuccess (line 917) | func TestPluginOnFailureStepSkippedOnSuccess(t *testing.T) { function TestDetachedOnFailureStepRuns (line 941) | func TestDetachedOnFailureStepRuns(t *testing.T) { function TestDetachedOnFailureStepSkippedOnSuccess (line 963) | func TestDetachedOnFailureStepSkippedOnSuccess(t *testing.T) { function withAlwaysRun (line 991) | func withAlwaysRun() func(*backend_types.Step) { function TestAlwaysRunStepRunsOnSuccess (line 995) | func TestAlwaysRunStepRunsOnSuccess(t *testing.T) { function TestAlwaysRunStepRunsOnFailure (line 1019) | func TestAlwaysRunStepRunsOnFailure(t *testing.T) { function TestAlwaysRunPluginRunsOnFailure (line 1046) | func TestAlwaysRunPluginRunsOnFailure(t *testing.T) { function TestPluginFailureIgnore (line 1072) | func TestPluginFailureIgnore(t *testing.T) { function TestDetachedFailureIgnore (line 1096) | func TestDetachedFailureIgnore(t *testing.T) { function TestWorkflowContextCancelWithPluginStep (line 1122) | func TestWorkflowContextCancelWithPluginStep(t *testing.T) { function TestWorkflowContextCancelWithDetachedStep (line 1156) | func TestWorkflowContextCancelWithDetachedStep(t *testing.T) { function TestWorkflowContextCancelWithServiceStep (line 1193) | func TestWorkflowContextCancelWithServiceStep(t *testing.T) { function TestWorkflowCancelDuringStepSleep (line 1244) | func TestWorkflowCancelDuringStepSleep(t *testing.T) { function TestWorkflowFailingServiceDoesNotFailWorkflow (line 1307) | func TestWorkflowFailingServiceDoesNotFailWorkflow(t *testing.T) { function TestWorkflowFailingDetachedStepDoesNotFailWorkflow (line 1359) | func TestWorkflowFailingDetachedStepDoesNotFailWorkflow(t *testing.T) { function TestWorkflowUnboundedServiceDoesNotHang (line 1408) | func TestWorkflowUnboundedServiceDoesNotHang(t *testing.T) { function TestWorkflowUnboundedDetachedDoesNotHang (line 1442) | func TestWorkflowUnboundedDetachedDoesNotHang(t *testing.T) { FILE: pipeline/runtime/shutdown.go constant shutdownTimeout (line 23) | shutdownTimeout = time.Second * 5 function GetShutdownCtx (line 33) | func GetShutdownCtx() context.Context { FILE: pipeline/runtime/step.go method executeStep (line 34) | func (r *Runtime) executeStep(runnerCtx context.Context, step *backend_t... method shouldSkipStep (line 65) | func (r *Runtime) shouldSkipStep(step *backend_types.Step) bool { method setStepEnv (line 89) | func (r *Runtime) setStepEnv(step *backend_types.Step) error { method startStep (line 122) | func (r *Runtime) startStep(step *backend_types.Step) (func(), int64, er... method completeStep (line 151) | func (r *Runtime) completeStep(runnerCtx context.Context, step *backend_... method runBlockingStep (line 199) | func (r *Runtime) runBlockingStep(runnerCtx context.Context, step *backe... method runDetachedStep (line 227) | func (r *Runtime) runDetachedStep(runnerCtx context.Context, step *backe... method traceStep (line 267) | func (r *Runtime) traceStep(processState *backend_types.State, err error... FILE: pipeline/runtime/step_test.go constant testWorkflowID (line 41) | testWorkflowID = "WID_test" function newDummyRuntime (line 45) | func newDummyRuntime(t *testing.T, tracer *tracer_mocks.MockTracer) *Run... function dummyStep (line 57) | func dummyStep(name string) *backend_types.Step { function TestShouldSkipStep (line 69) | func TestShouldSkipStep(t *testing.T) { function TestTraceStep (line 107) | func TestTraceStep(t *testing.T) { function TestStartStep (line 196) | func TestStartStep(t *testing.T) { function TestCompleteStep (line 285) | func TestCompleteStep(t *testing.T) { function TestExecuteStep (line 435) | func TestExecuteStep(t *testing.T) { function TestRunBlockingStep (line 511) | func TestRunBlockingStep(t *testing.T) { function TestRunDetachedStep (line 569) | func TestRunDetachedStep(t *testing.T) { FILE: pipeline/runtime/workflow.go method Run (line 35) | func (r *Runtime) Run(runnerCtx context.Context) error { method validateConfig (line 90) | func (r *Runtime) validateConfig() error { method logStages (line 104) | func (r *Runtime) logStages() { method traceWorkflowSetupError (line 120) | func (r *Runtime) traceWorkflowSetupError(err error) { method runStage (line 143) | func (r *Runtime) runStage(runnerCtx context.Context, steps []*backend_t... FILE: pipeline/runtime/workflow_test.go function TestRunNilTracer (line 36) | func TestRunNilTracer(t *testing.T) { function TestRunSuccess (line 46) | func TestRunSuccess(t *testing.T) { function TestRunMultipleStages (line 71) | func TestRunMultipleStages(t *testing.T) { function TestRunStepError (line 101) | func TestRunStepError(t *testing.T) { function TestRunContextCanceled (line 128) | func TestRunContextCanceled(t *testing.T) { function TestRunSetupWorkflowError (line 154) | func TestRunSetupWorkflowError(t *testing.T) { function TestRunSetupWorkflowInvalidSetupError (line 169) | func TestRunSetupWorkflowInvalidSetupError(t *testing.T) { function TestRunDestroyWorkflowAlwaysCalled (line 193) | func TestRunDestroyWorkflowAlwaysCalled(t *testing.T) { function TestRunDestroyWorkflowCalledOnSetupError (line 208) | func TestRunDestroyWorkflowCalledOnSetupError(t *testing.T) { function TestTraceWorkflowSetupError (line 224) | func TestTraceWorkflowSetupError(t *testing.T) { function TestRunStage (line 266) | func TestRunStage(t *testing.T) { function TestNewDefaults (line 302) | func TestNewDefaults(t *testing.T) { function TestWithOptions (line 316) | func TestWithOptions(t *testing.T) { function TestGetShutdownCtx (line 339) | func TestGetShutdownCtx(t *testing.T) { function TestRunNilLogger (line 348) | func TestRunNilLogger(t *testing.T) { function TestRunDestroyWorkflowFallsBackToShutdownCtx (line 363) | func TestRunDestroyWorkflowFallsBackToShutdownCtx(t *testing.T) { FILE: pipeline/shared/replace_secrets.go function NewSecretsReplacer (line 24) | func NewSecretsReplacer(secrets []string) *strings.Replacer { FILE: pipeline/shared/replace_secrets_test.go function TestNewSecretsReplacer (line 23) | func TestNewSecretsReplacer(t *testing.T) { FILE: pipeline/state/state.go type State (line 24) | type State struct type Workflow (line 33) | type Workflow struct FILE: pipeline/tracing/mocks/mock_Tracer.go function NewMockTracer (line 14) | func NewMockTracer(t interface { type MockTracer (line 27) | type MockTracer struct method EXPECT (line 35) | func (_m *MockTracer) EXPECT() *MockTracer_Expecter { method Trace (line 40) | func (_mock *MockTracer) Trace(state1 *state.State) error { type MockTracer_Expecter (line 31) | type MockTracer_Expecter struct method Trace (line 63) | func (_e *MockTracer_Expecter) Trace(state1 interface{}) *MockTracer_T... type MockTracer_Trace_Call (line 57) | type MockTracer_Trace_Call struct method Run (line 67) | func (_c *MockTracer_Trace_Call) Run(run func(state1 *state.State)) *M... method Return (line 80) | func (_c *MockTracer_Trace_Call) Return(err error) *MockTracer_Trace_C... method RunAndReturn (line 85) | func (_c *MockTracer_Trace_Call) RunAndReturn(run func(state1 *state.S... FILE: pipeline/tracing/tracer.go type Tracer (line 22) | type Tracer interface type TraceFunc (line 28) | type TraceFunc method Trace (line 31) | func (f TraceFunc) Trace(state *state.State) error { FILE: pipeline/utils/copy_line_by_line.go function writeChunks (line 24) | func writeChunks(dst io.Writer, data []byte, size int) error { function CopyLineByLine (line 45) | func CopyLineByLine(dst io.Writer, src io.Reader, maxSize int) error { FILE: pipeline/utils/copy_line_by_line_test.go type testWriter (line 29) | type testWriter struct method Write (line 34) | func (b *testWriter) Write(p []byte) (n int, err error) { method Close (line 41) | func (b *testWriter) Close() error { method GetWrites (line 45) | func (b *testWriter) GetWrites() []string { function TestCopyLineByLine (line 53) | func TestCopyLineByLine(t *testing.T) { function TestCopyLineByLineSizeLimit (line 108) | func TestCopyLineByLineSizeLimit(t *testing.T) { function TestStringReader (line 156) | func TestStringReader(t *testing.T) { function TestCopyLineByLineNewlineCharacter (line 171) | func TestCopyLineByLineNewlineCharacter(t *testing.T) { function TestCopyLineByLineLongLine (line 232) | func TestCopyLineByLineLongLine(t *testing.T) { function TestCopyLineByLineWriteChunks (line 285) | func TestCopyLineByLineWriteChunks(t *testing.T) { FILE: rpc/log_entry.go constant LogEntryStdout (line 24) | LogEntryStdout int = iota constant LogEntryStderr (line 25) | LogEntryStderr constant LogEntryExitCode (line 26) | LogEntryExitCode constant LogEntryMetadata (line 27) | LogEntryMetadata constant LogEntryProgress (line 28) | LogEntryProgress type LogEntry (line 32) | type LogEntry struct method String (line 40) | func (l *LogEntry) String() string { FILE: rpc/log_entry_test.go function TestLogEntry (line 23) | func TestLogEntry(t *testing.T) { FILE: rpc/mocks/mock_Peer.go function NewMockPeer (line 16) | func NewMockPeer(t interface { type MockPeer (line 29) | type MockPeer struct method EXPECT (line 37) | func (_m *MockPeer) EXPECT() *MockPeer_Expecter { method Done (line 42) | func (_mock *MockPeer) Done(c context.Context, workflowID string, stat... method EnqueueLog (line 105) | func (_mock *MockPeer) EnqueueLog(logEntry *rpc.LogEntry) { method Extend (line 145) | func (_mock *MockPeer) Extend(c context.Context, workflowID string) er... method Init (line 202) | func (_mock *MockPeer) Init(c context.Context, workflowID string, stat... method IsConnected (line 265) | func (_mock *MockPeer) IsConnected() bool { method Next (line 309) | func (_mock *MockPeer) Next(c context.Context, f rpc.Filter) (*rpc.Wor... method RegisterAgent (line 377) | func (_mock *MockPeer) RegisterAgent(ctx context.Context, info rpc.Age... method ReportHealth (line 443) | func (_mock *MockPeer) ReportHealth(c context.Context) error { method UnregisterAgent (line 494) | func (_mock *MockPeer) UnregisterAgent(ctx context.Context) error { method Update (line 545) | func (_mock *MockPeer) Update(c context.Context, workflowID string, st... method Version (line 608) | func (_mock *MockPeer) Version(c context.Context) (*rpc.Version, error) { method Wait (line 670) | func (_mock *MockPeer) Wait(c context.Context, workflowID string) (boo... type MockPeer_Expecter (line 33) | type MockPeer_Expecter struct method Done (line 67) | func (_e *MockPeer_Expecter) Done(c interface{}, workflowID interface{... method EnqueueLog (line 117) | func (_e *MockPeer_Expecter) EnqueueLog(logEntry interface{}) *MockPee... method Extend (line 169) | func (_e *MockPeer_Expecter) Extend(c interface{}, workflowID interfac... method Init (line 227) | func (_e *MockPeer_Expecter) Init(c interface{}, workflowID interface{... method IsConnected (line 287) | func (_e *MockPeer_Expecter) IsConnected() *MockPeer_IsConnected_Call { method Next (line 344) | func (_e *MockPeer_Expecter) Next(c interface{}, f interface{}) *MockP... method RegisterAgent (line 410) | func (_e *MockPeer_Expecter) RegisterAgent(ctx interface{}, info inter... method ReportHealth (line 466) | func (_e *MockPeer_Expecter) ReportHealth(c interface{}) *MockPeer_Rep... method UnregisterAgent (line 517) | func (_e *MockPeer_Expecter) UnregisterAgent(ctx interface{}) *MockPee... method Update (line 570) | func (_e *MockPeer_Expecter) Update(c interface{}, workflowID interfac... method Version (line 642) | func (_e *MockPeer_Expecter) Version(c interface{}) *MockPeer_Version_... method Wait (line 703) | func (_e *MockPeer_Expecter) Wait(c interface{}, workflowID interface{... type MockPeer_Done_Call (line 59) | type MockPeer_Done_Call struct method Run (line 71) | func (_c *MockPeer_Done_Call) Run(run func(c context.Context, workflow... method Return (line 94) | func (_c *MockPeer_Done_Call) Return(err error) *MockPeer_Done_Call { method RunAndReturn (line 99) | func (_c *MockPeer_Done_Call) RunAndReturn(run func(c context.Context,... type MockPeer_EnqueueLog_Call (line 111) | type MockPeer_EnqueueLog_Call struct method Run (line 121) | func (_c *MockPeer_EnqueueLog_Call) Run(run func(logEntry *rpc.LogEntr... method Return (line 134) | func (_c *MockPeer_EnqueueLog_Call) Return() *MockPeer_EnqueueLog_Call { method RunAndReturn (line 139) | func (_c *MockPeer_EnqueueLog_Call) RunAndReturn(run func(logEntry *rp... type MockPeer_Extend_Call (line 162) | type MockPeer_Extend_Call struct method Run (line 173) | func (_c *MockPeer_Extend_Call) Run(run func(c context.Context, workfl... method Return (line 191) | func (_c *MockPeer_Extend_Call) Return(err error) *MockPeer_Extend_Call { method RunAndReturn (line 196) | func (_c *MockPeer_Extend_Call) RunAndReturn(run func(c context.Contex... type MockPeer_Init_Call (line 219) | type MockPeer_Init_Call struct method Run (line 231) | func (_c *MockPeer_Init_Call) Run(run func(c context.Context, workflow... method Return (line 254) | func (_c *MockPeer_Init_Call) Return(err error) *MockPeer_Init_Call { method RunAndReturn (line 259) | func (_c *MockPeer_Init_Call) RunAndReturn(run func(c context.Context,... type MockPeer_IsConnected_Call (line 282) | type MockPeer_IsConnected_Call struct method Run (line 291) | func (_c *MockPeer_IsConnected_Call) Run(run func()) *MockPeer_IsConne... method Return (line 298) | func (_c *MockPeer_IsConnected_Call) Return(b bool) *MockPeer_IsConnec... method RunAndReturn (line 303) | func (_c *MockPeer_IsConnected_Call) RunAndReturn(run func() bool) *Mo... type MockPeer_Next_Call (line 337) | type MockPeer_Next_Call struct method Run (line 348) | func (_c *MockPeer_Next_Call) Run(run func(c context.Context, f rpc.Fi... method Return (line 366) | func (_c *MockPeer_Next_Call) Return(workflow *rpc.Workflow, err error... method RunAndReturn (line 371) | func (_c *MockPeer_Next_Call) RunAndReturn(run func(c context.Context,... type MockPeer_RegisterAgent_Call (line 403) | type MockPeer_RegisterAgent_Call struct method Run (line 414) | func (_c *MockPeer_RegisterAgent_Call) Run(run func(ctx context.Contex... method Return (line 432) | func (_c *MockPeer_RegisterAgent_Call) Return(n int64, err error) *Moc... method RunAndReturn (line 437) | func (_c *MockPeer_RegisterAgent_Call) RunAndReturn(run func(ctx conte... type MockPeer_ReportHealth_Call (line 460) | type MockPeer_ReportHealth_Call struct method Run (line 470) | func (_c *MockPeer_ReportHealth_Call) Run(run func(c context.Context))... method Return (line 483) | func (_c *MockPeer_ReportHealth_Call) Return(err error) *MockPeer_Repo... method RunAndReturn (line 488) | func (_c *MockPeer_ReportHealth_Call) RunAndReturn(run func(c context.... type MockPeer_UnregisterAgent_Call (line 511) | type MockPeer_UnregisterAgent_Call struct method Run (line 521) | func (_c *MockPeer_UnregisterAgent_Call) Run(run func(ctx context.Cont... method Return (line 534) | func (_c *MockPeer_UnregisterAgent_Call) Return(err error) *MockPeer_U... method RunAndReturn (line 539) | func (_c *MockPeer_UnregisterAgent_Call) RunAndReturn(run func(ctx con... type MockPeer_Update_Call (line 562) | type MockPeer_Update_Call struct method Run (line 574) | func (_c *MockPeer_Update_Call) Run(run func(c context.Context, workfl... method Return (line 597) | func (_c *MockPeer_Update_Call) Return(err error) *MockPeer_Update_Call { method RunAndReturn (line 602) | func (_c *MockPeer_Update_Call) RunAndReturn(run func(c context.Contex... type MockPeer_Version_Call (line 636) | type MockPeer_Version_Call struct method Run (line 646) | func (_c *MockPeer_Version_Call) Run(run func(c context.Context)) *Moc... method Return (line 659) | func (_c *MockPeer_Version_Call) Return(version *rpc.Version, err erro... method RunAndReturn (line 664) | func (_c *MockPeer_Version_Call) RunAndReturn(run func(c context.Conte... type MockPeer_Wait_Call (line 696) | type MockPeer_Wait_Call struct method Run (line 707) | func (_c *MockPeer_Wait_Call) Run(run func(c context.Context, workflow... method Return (line 725) | func (_c *MockPeer_Wait_Call) Return(canceled bool, err error) *MockPe... method RunAndReturn (line 730) | func (_c *MockPeer_Wait_Call) RunAndReturn(run func(c context.Context,... FILE: rpc/peer.go type Peer (line 70) | type Peer interface FILE: rpc/proto/version.go constant Version (line 19) | Version int32 = 16 FILE: rpc/proto/woodpecker.pb.go constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type StepState (line 39) | type StepState struct method Reset (line 53) | func (x *StepState) Reset() { method String (line 60) | func (x *StepState) String() string { method ProtoMessage (line 64) | func (*StepState) ProtoMessage() {} method ProtoReflect (line 66) | func (x *StepState) ProtoReflect() protoreflect.Message { method Descriptor (line 79) | func (*StepState) Descriptor() ([]byte, []int) { method GetStepUuid (line 83) | func (x *StepState) GetStepUuid() string { method GetStarted (line 90) | func (x *StepState) GetStarted() int64 { method GetFinished (line 97) | func (x *StepState) GetFinished() int64 { method GetExited (line 104) | func (x *StepState) GetExited() bool { method GetExitCode (line 111) | func (x *StepState) GetExitCode() int32 { method GetError (line 118) | func (x *StepState) GetError() string { method GetCanceled (line 125) | func (x *StepState) GetCanceled() bool { method GetSkipped (line 132) | func (x *StepState) GetSkipped() bool { type WorkflowState (line 139) | type WorkflowState struct method Reset (line 149) | func (x *WorkflowState) Reset() { method String (line 156) | func (x *WorkflowState) String() string { method ProtoMessage (line 160) | func (*WorkflowState) ProtoMessage() {} method ProtoReflect (line 162) | func (x *WorkflowState) ProtoReflect() protoreflect.Message { method Descriptor (line 175) | func (*WorkflowState) Descriptor() ([]byte, []int) { method GetStarted (line 179) | func (x *WorkflowState) GetStarted() int64 { method GetFinished (line 186) | func (x *WorkflowState) GetFinished() int64 { method GetError (line 193) | func (x *WorkflowState) GetError() string { method GetCanceled (line 200) | func (x *WorkflowState) GetCanceled() bool { type LogEntry (line 207) | type LogEntry struct method Reset (line 218) | func (x *LogEntry) Reset() { method String (line 225) | func (x *LogEntry) String() string { method ProtoMessage (line 229) | func (*LogEntry) ProtoMessage() {} method ProtoReflect (line 231) | func (x *LogEntry) ProtoReflect() protoreflect.Message { method Descriptor (line 244) | func (*LogEntry) Descriptor() ([]byte, []int) { method GetStepUuid (line 248) | func (x *LogEntry) GetStepUuid() string { method GetTime (line 255) | func (x *LogEntry) GetTime() int64 { method GetLine (line 262) | func (x *LogEntry) GetLine() int32 { method GetType (line 269) | func (x *LogEntry) GetType() int32 { method GetData (line 276) | func (x *LogEntry) GetData() []byte { type Filter (line 283) | type Filter struct method Reset (line 290) | func (x *Filter) Reset() { method String (line 297) | func (x *Filter) String() string { method ProtoMessage (line 301) | func (*Filter) ProtoMessage() {} method ProtoReflect (line 303) | func (x *Filter) ProtoReflect() protoreflect.Message { method Descriptor (line 316) | func (*Filter) Descriptor() ([]byte, []int) { method GetLabels (line 320) | func (x *Filter) GetLabels() map[string]string { type Workflow (line 327) | type Workflow struct method Reset (line 336) | func (x *Workflow) Reset() { method String (line 343) | func (x *Workflow) String() string { method ProtoMessage (line 347) | func (*Workflow) ProtoMessage() {} method ProtoReflect (line 349) | func (x *Workflow) ProtoReflect() protoreflect.Message { method Descriptor (line 362) | func (*Workflow) Descriptor() ([]byte, []int) { method GetId (line 366) | func (x *Workflow) GetId() string { method GetTimeout (line 373) | func (x *Workflow) GetTimeout() int64 { method GetPayload (line 380) | func (x *Workflow) GetPayload() []byte { type NextRequest (line 387) | type NextRequest struct method Reset (line 394) | func (x *NextRequest) Reset() { method String (line 401) | func (x *NextRequest) String() string { method ProtoMessage (line 405) | func (*NextRequest) ProtoMessage() {} method ProtoReflect (line 407) | func (x *NextRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 420) | func (*NextRequest) Descriptor() ([]byte, []int) { method GetFilter (line 424) | func (x *NextRequest) GetFilter() *Filter { type InitRequest (line 431) | type InitRequest struct method Reset (line 439) | func (x *InitRequest) Reset() { method String (line 446) | func (x *InitRequest) String() string { method ProtoMessage (line 450) | func (*InitRequest) ProtoMessage() {} method ProtoReflect (line 452) | func (x *InitRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 465) | func (*InitRequest) Descriptor() ([]byte, []int) { method GetId (line 469) | func (x *InitRequest) GetId() string { method GetState (line 476) | func (x *InitRequest) GetState() *WorkflowState { type WaitRequest (line 483) | type WaitRequest struct method Reset (line 490) | func (x *WaitRequest) Reset() { method String (line 497) | func (x *WaitRequest) String() string { method ProtoMessage (line 501) | func (*WaitRequest) ProtoMessage() {} method ProtoReflect (line 503) | func (x *WaitRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 516) | func (*WaitRequest) Descriptor() ([]byte, []int) { method GetId (line 520) | func (x *WaitRequest) GetId() string { type DoneRequest (line 527) | type DoneRequest struct method Reset (line 535) | func (x *DoneRequest) Reset() { method String (line 542) | func (x *DoneRequest) String() string { method ProtoMessage (line 546) | func (*DoneRequest) ProtoMessage() {} method ProtoReflect (line 548) | func (x *DoneRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 561) | func (*DoneRequest) Descriptor() ([]byte, []int) { method GetId (line 565) | func (x *DoneRequest) GetId() string { method GetState (line 572) | func (x *DoneRequest) GetState() *WorkflowState { type ExtendRequest (line 579) | type ExtendRequest struct method Reset (line 586) | func (x *ExtendRequest) Reset() { method String (line 593) | func (x *ExtendRequest) String() string { method ProtoMessage (line 597) | func (*ExtendRequest) ProtoMessage() {} method ProtoReflect (line 599) | func (x *ExtendRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 612) | func (*ExtendRequest) Descriptor() ([]byte, []int) { method GetId (line 616) | func (x *ExtendRequest) GetId() string { type UpdateRequest (line 623) | type UpdateRequest struct method Reset (line 631) | func (x *UpdateRequest) Reset() { method String (line 638) | func (x *UpdateRequest) String() string { method ProtoMessage (line 642) | func (*UpdateRequest) ProtoMessage() {} method ProtoReflect (line 644) | func (x *UpdateRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 657) | func (*UpdateRequest) Descriptor() ([]byte, []int) { method GetId (line 661) | func (x *UpdateRequest) GetId() string { method GetState (line 668) | func (x *UpdateRequest) GetState() *StepState { type LogRequest (line 675) | type LogRequest struct method Reset (line 682) | func (x *LogRequest) Reset() { method String (line 689) | func (x *LogRequest) String() string { method ProtoMessage (line 693) | func (*LogRequest) ProtoMessage() {} method ProtoReflect (line 695) | func (x *LogRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 708) | func (*LogRequest) Descriptor() ([]byte, []int) { method GetLogEntries (line 712) | func (x *LogRequest) GetLogEntries() []*LogEntry { type Empty (line 719) | type Empty struct method Reset (line 725) | func (x *Empty) Reset() { method String (line 732) | func (x *Empty) String() string { method ProtoMessage (line 736) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 738) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 751) | func (*Empty) Descriptor() ([]byte, []int) { type ReportHealthRequest (line 755) | type ReportHealthRequest struct method Reset (line 762) | func (x *ReportHealthRequest) Reset() { method String (line 769) | func (x *ReportHealthRequest) String() string { method ProtoMessage (line 773) | func (*ReportHealthRequest) ProtoMessage() {} method ProtoReflect (line 775) | func (x *ReportHealthRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 788) | func (*ReportHealthRequest) Descriptor() ([]byte, []int) { method GetStatus (line 792) | func (x *ReportHealthRequest) GetStatus() string { type AgentInfo (line 799) | type AgentInfo struct method Reset (line 810) | func (x *AgentInfo) Reset() { method String (line 817) | func (x *AgentInfo) String() string { method ProtoMessage (line 821) | func (*AgentInfo) ProtoMessage() {} method ProtoReflect (line 823) | func (x *AgentInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 836) | func (*AgentInfo) Descriptor() ([]byte, []int) { method GetPlatform (line 840) | func (x *AgentInfo) GetPlatform() string { method GetCapacity (line 847) | func (x *AgentInfo) GetCapacity() int32 { method GetBackend (line 854) | func (x *AgentInfo) GetBackend() string { method GetVersion (line 861) | func (x *AgentInfo) GetVersion() string { method GetCustomLabels (line 868) | func (x *AgentInfo) GetCustomLabels() map[string]string { type RegisterAgentRequest (line 875) | type RegisterAgentRequest struct method Reset (line 882) | func (x *RegisterAgentRequest) Reset() { method String (line 889) | func (x *RegisterAgentRequest) String() string { method ProtoMessage (line 893) | func (*RegisterAgentRequest) ProtoMessage() {} method ProtoReflect (line 895) | func (x *RegisterAgentRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 908) | func (*RegisterAgentRequest) Descriptor() ([]byte, []int) { method GetInfo (line 912) | func (x *RegisterAgentRequest) GetInfo() *AgentInfo { type VersionResponse (line 919) | type VersionResponse struct method Reset (line 927) | func (x *VersionResponse) Reset() { method String (line 934) | func (x *VersionResponse) String() string { method ProtoMessage (line 938) | func (*VersionResponse) ProtoMessage() {} method ProtoReflect (line 940) | func (x *VersionResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 953) | func (*VersionResponse) Descriptor() ([]byte, []int) { method GetGrpcVersion (line 957) | func (x *VersionResponse) GetGrpcVersion() int32 { method GetServerVersion (line 964) | func (x *VersionResponse) GetServerVersion() string { type NextResponse (line 971) | type NextResponse struct method Reset (line 978) | func (x *NextResponse) Reset() { method String (line 985) | func (x *NextResponse) String() string { method ProtoMessage (line 989) | func (*NextResponse) ProtoMessage() {} method ProtoReflect (line 991) | func (x *NextResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1004) | func (*NextResponse) Descriptor() ([]byte, []int) { method GetWorkflow (line 1008) | func (x *NextResponse) GetWorkflow() *Workflow { type RegisterAgentResponse (line 1015) | type RegisterAgentResponse struct method Reset (line 1022) | func (x *RegisterAgentResponse) Reset() { method String (line 1029) | func (x *RegisterAgentResponse) String() string { method ProtoMessage (line 1033) | func (*RegisterAgentResponse) ProtoMessage() {} method ProtoReflect (line 1035) | func (x *RegisterAgentResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1048) | func (*RegisterAgentResponse) Descriptor() ([]byte, []int) { method GetAgentId (line 1052) | func (x *RegisterAgentResponse) GetAgentId() int64 { type WaitResponse (line 1059) | type WaitResponse struct method Reset (line 1066) | func (x *WaitResponse) Reset() { method String (line 1073) | func (x *WaitResponse) String() string { method ProtoMessage (line 1077) | func (*WaitResponse) ProtoMessage() {} method ProtoReflect (line 1079) | func (x *WaitResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1092) | func (*WaitResponse) Descriptor() ([]byte, []int) { method GetCanceled (line 1096) | func (x *WaitResponse) GetCanceled() bool { type AuthRequest (line 1103) | type AuthRequest struct method Reset (line 1111) | func (x *AuthRequest) Reset() { method String (line 1118) | func (x *AuthRequest) String() string { method ProtoMessage (line 1122) | func (*AuthRequest) ProtoMessage() {} method ProtoReflect (line 1124) | func (x *AuthRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1137) | func (*AuthRequest) Descriptor() ([]byte, []int) { method GetAgentToken (line 1141) | func (x *AuthRequest) GetAgentToken() string { method GetAgentId (line 1148) | func (x *AuthRequest) GetAgentId() int64 { type AuthResponse (line 1155) | type AuthResponse struct method Reset (line 1164) | func (x *AuthResponse) Reset() { method String (line 1171) | func (x *AuthResponse) String() string { method ProtoMessage (line 1175) | func (*AuthResponse) ProtoMessage() {} method ProtoReflect (line 1177) | func (x *AuthResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1190) | func (*AuthResponse) Descriptor() ([]byte, []int) { method GetStatus (line 1194) | func (x *AuthResponse) GetStatus() string { method GetAgentId (line 1201) | func (x *AuthResponse) GetAgentId() int64 { method GetAccessToken (line 1208) | func (x *AuthResponse) GetAccessToken() string { constant file_woodpecker_proto_rawDesc (line 1217) | file_woodpecker_proto_rawDesc = "" + function file_woodpecker_proto_rawDescGZIP (line 1321) | func file_woodpecker_proto_rawDescGZIP() []byte { function init (line 1396) | func init() { file_woodpecker_proto_init() } function file_woodpecker_proto_init (line 1397) | func file_woodpecker_proto_init() { FILE: rpc/proto/woodpecker_grpc.pb.go constant _ (line 34) | _ = grpc.SupportPackageIsVersion9 constant Woodpecker_Version_FullMethodName (line 37) | Woodpecker_Version_FullMethodName = "/proto.Woodpecker/Version" constant Woodpecker_Next_FullMethodName (line 38) | Woodpecker_Next_FullMethodName = "/proto.Woodpecker/Next" constant Woodpecker_Init_FullMethodName (line 39) | Woodpecker_Init_FullMethodName = "/proto.Woodpecker/Init" constant Woodpecker_Wait_FullMethodName (line 40) | Woodpecker_Wait_FullMethodName = "/proto.Woodpecker/Wait" constant Woodpecker_Done_FullMethodName (line 41) | Woodpecker_Done_FullMethodName = "/proto.Woodpecker/Done" constant Woodpecker_Extend_FullMethodName (line 42) | Woodpecker_Extend_FullMethodName = "/proto.Woodpecker/Extend" constant Woodpecker_Update_FullMethodName (line 43) | Woodpecker_Update_FullMethodName = "/proto.Woodpecker/Update" constant Woodpecker_Log_FullMethodName (line 44) | Woodpecker_Log_FullMethodName = "/proto.Woodpecker/Log" constant Woodpecker_RegisterAgent_FullMethodName (line 45) | Woodpecker_RegisterAgent_FullMethodName = "/proto.Woodpecker/RegisterA... constant Woodpecker_UnregisterAgent_FullMethodName (line 46) | Woodpecker_UnregisterAgent_FullMethodName = "/proto.Woodpecker/Unregiste... constant Woodpecker_ReportHealth_FullMethodName (line 47) | Woodpecker_ReportHealth_FullMethodName = "/proto.Woodpecker/ReportHea... type WoodpeckerClient (line 55) | type WoodpeckerClient interface type woodpeckerClient (line 69) | type woodpeckerClient struct method Version (line 77) | func (c *woodpeckerClient) Version(ctx context.Context, in *Empty, opt... method Next (line 87) | func (c *woodpeckerClient) Next(ctx context.Context, in *NextRequest, ... method Init (line 97) | func (c *woodpeckerClient) Init(ctx context.Context, in *InitRequest, ... method Wait (line 107) | func (c *woodpeckerClient) Wait(ctx context.Context, in *WaitRequest, ... method Done (line 117) | func (c *woodpeckerClient) Done(ctx context.Context, in *DoneRequest, ... method Extend (line 127) | func (c *woodpeckerClient) Extend(ctx context.Context, in *ExtendReque... method Update (line 137) | func (c *woodpeckerClient) Update(ctx context.Context, in *UpdateReque... method Log (line 147) | func (c *woodpeckerClient) Log(ctx context.Context, in *LogRequest, op... method RegisterAgent (line 157) | func (c *woodpeckerClient) RegisterAgent(ctx context.Context, in *Regi... method UnregisterAgent (line 167) | func (c *woodpeckerClient) UnregisterAgent(ctx context.Context, in *Em... method ReportHealth (line 177) | func (c *woodpeckerClient) ReportHealth(ctx context.Context, in *Repor... function NewWoodpeckerClient (line 73) | func NewWoodpeckerClient(cc grpc.ClientConnInterface) WoodpeckerClient { type WoodpeckerServer (line 192) | type WoodpeckerServer interface type UnimplementedWoodpeckerServer (line 212) | type UnimplementedWoodpeckerServer struct method Version (line 214) | func (UnimplementedWoodpeckerServer) Version(context.Context, *Empty) ... method Next (line 217) | func (UnimplementedWoodpeckerServer) Next(context.Context, *NextReques... method Init (line 220) | func (UnimplementedWoodpeckerServer) Init(context.Context, *InitReques... method Wait (line 223) | func (UnimplementedWoodpeckerServer) Wait(context.Context, *WaitReques... method Done (line 226) | func (UnimplementedWoodpeckerServer) Done(context.Context, *DoneReques... method Extend (line 229) | func (UnimplementedWoodpeckerServer) Extend(context.Context, *ExtendRe... method Update (line 232) | func (UnimplementedWoodpeckerServer) Update(context.Context, *UpdateRe... method Log (line 235) | func (UnimplementedWoodpeckerServer) Log(context.Context, *LogRequest)... method RegisterAgent (line 238) | func (UnimplementedWoodpeckerServer) RegisterAgent(context.Context, *R... method UnregisterAgent (line 241) | func (UnimplementedWoodpeckerServer) UnregisterAgent(context.Context, ... method ReportHealth (line 244) | func (UnimplementedWoodpeckerServer) ReportHealth(context.Context, *Re... method mustEmbedUnimplementedWoodpeckerServer (line 247) | func (UnimplementedWoodpeckerServer) mustEmbedUnimplementedWoodpeckerS... method testEmbeddedByValue (line 248) | func (UnimplementedWoodpeckerServer) testEmbeddedByValue() ... type UnsafeWoodpeckerServer (line 253) | type UnsafeWoodpeckerServer interface function RegisterWoodpeckerServer (line 257) | func RegisterWoodpeckerServer(s grpc.ServiceRegistrar, srv WoodpeckerSer... function _Woodpecker_Version_Handler (line 268) | func _Woodpecker_Version_Handler(srv interface{}, ctx context.Context, d... function _Woodpecker_Next_Handler (line 286) | func _Woodpecker_Next_Handler(srv interface{}, ctx context.Context, dec ... function _Woodpecker_Init_Handler (line 304) | func _Woodpecker_Init_Handler(srv interface{}, ctx context.Context, dec ... function _Woodpecker_Wait_Handler (line 322) | func _Woodpecker_Wait_Handler(srv interface{}, ctx context.Context, dec ... function _Woodpecker_Done_Handler (line 340) | func _Woodpecker_Done_Handler(srv interface{}, ctx context.Context, dec ... function _Woodpecker_Extend_Handler (line 358) | func _Woodpecker_Extend_Handler(srv interface{}, ctx context.Context, de... function _Woodpecker_Update_Handler (line 376) | func _Woodpecker_Update_Handler(srv interface{}, ctx context.Context, de... function _Woodpecker_Log_Handler (line 394) | func _Woodpecker_Log_Handler(srv interface{}, ctx context.Context, dec f... function _Woodpecker_RegisterAgent_Handler (line 412) | func _Woodpecker_RegisterAgent_Handler(srv interface{}, ctx context.Cont... function _Woodpecker_UnregisterAgent_Handler (line 430) | func _Woodpecker_UnregisterAgent_Handler(srv interface{}, ctx context.Co... function _Woodpecker_ReportHealth_Handler (line 448) | func _Woodpecker_ReportHealth_Handler(srv interface{}, ctx context.Conte... constant WoodpeckerAuth_Auth_FullMethodName (line 523) | WoodpeckerAuth_Auth_FullMethodName = "/proto.WoodpeckerAuth/Auth" type WoodpeckerAuthClient (line 529) | type WoodpeckerAuthClient interface type woodpeckerAuthClient (line 533) | type woodpeckerAuthClient struct method Auth (line 541) | func (c *woodpeckerAuthClient) Auth(ctx context.Context, in *AuthReque... function NewWoodpeckerAuthClient (line 537) | func NewWoodpeckerAuthClient(cc grpc.ClientConnInterface) WoodpeckerAuth... type WoodpeckerAuthServer (line 554) | type WoodpeckerAuthServer interface type UnimplementedWoodpeckerAuthServer (line 564) | type UnimplementedWoodpeckerAuthServer struct method Auth (line 566) | func (UnimplementedWoodpeckerAuthServer) Auth(context.Context, *AuthRe... method mustEmbedUnimplementedWoodpeckerAuthServer (line 569) | func (UnimplementedWoodpeckerAuthServer) mustEmbedUnimplementedWoodpec... method testEmbeddedByValue (line 570) | func (UnimplementedWoodpeckerAuthServer) testEmbeddedByValue() ... type UnsafeWoodpeckerAuthServer (line 575) | type UnsafeWoodpeckerAuthServer interface function RegisterWoodpeckerAuthServer (line 579) | func RegisterWoodpeckerAuthServer(s grpc.ServiceRegistrar, srv Woodpecke... function _WoodpeckerAuth_Auth_Handler (line 590) | func _WoodpeckerAuth_Auth_Handler(srv interface{}, ctx context.Context, ... FILE: rpc/types.go type Filter (line 23) | type Filter struct type StepState (line 28) | type StepState struct type WorkflowState (line 40) | type WorkflowState struct type Workflow (line 48) | type Workflow struct type Version (line 54) | type Version struct type AgentInfo (line 60) | type AgentInfo struct FILE: server/api/agent.go function GetAgents (line 43) | func GetAgents(c *gin.Context) { function GetAgent (line 61) | func GetAgent(c *gin.Context) { function GetAgentTasks (line 85) | func GetAgentTasks(c *gin.Context) { function PatchAgent (line 119) | func PatchAgent(c *gin.Context) { function PostAgent (line 167) | func PostAgent(c *gin.Context) { function DeleteAgent (line 200) | func DeleteAgent(c *gin.Context) { function PostOrgAgent (line 249) | func PostOrgAgent(c *gin.Context) { function GetOrgAgents (line 293) | func GetOrgAgents(c *gin.Context) { function PatchOrgAgent (line 317) | func PatchOrgAgent(c *gin.Context) { function DeleteOrgAgent (line 369) | func DeleteOrgAgent(c *gin.Context) { FILE: server/api/agent_test.go function TestGetAgents (line 46) | func TestGetAgents(t *testing.T) { function TestGetAgent (line 72) | func TestGetAgent(t *testing.T) { function TestPatchAgent (line 123) | func TestPatchAgent(t *testing.T) { function TestPostAgent (line 155) | func TestPostAgent(t *testing.T) { function TestDeleteAgent (line 187) | func TestDeleteAgent(t *testing.T) { function TestPostOrgAgent (line 244) | func TestPostOrgAgent(t *testing.T) { FILE: server/api/badge.go function GetBadge (line 46) | func GetBadge(c *gin.Context) { function GetCC (line 168) | func GetCC(c *gin.Context) { FILE: server/api/cron.go function GetCron (line 45) | func GetCron(c *gin.Context) { function RunCron (line 71) | func RunCron(c *gin.Context) { function PostCron (line 111) | func PostCron(c *gin.Context) { function PatchCron (line 179) | func PatchCron(c *gin.Context) { function GetCronList (line 268) | func GetCronList(c *gin.Context) { function DeleteCron (line 288) | func DeleteCron(c *gin.Context) { FILE: server/api/debug/debug.go function IndexHandler (line 32) | func IndexHandler() gin.HandlerFunc { function HeapHandler (line 48) | func HeapHandler() gin.HandlerFunc { function GoroutineHandler (line 64) | func GoroutineHandler() gin.HandlerFunc { function BlockHandler (line 79) | func BlockHandler() gin.HandlerFunc { function ThreadCreateHandler (line 94) | func ThreadCreateHandler() gin.HandlerFunc { function CmdlineHandler (line 109) | func CmdlineHandler() gin.HandlerFunc { function ProfileHandler (line 126) | func ProfileHandler() gin.HandlerFunc { function SymbolHandler (line 146) | func SymbolHandler() gin.HandlerFunc { function TraceHandler (line 163) | func TraceHandler() gin.HandlerFunc { FILE: server/api/forge.go function GetForges (line 38) | func GetForges(c *gin.Context) { function GetForge (line 68) | func GetForge(c *gin.Context) { function PatchForge (line 99) | func PatchForge(c *gin.Context) { function PostForge (line 149) | func PostForge(c *gin.Context) { function DeleteForge (line 182) | func DeleteForge(c *gin.Context) { FILE: server/api/global_registry.go function GetGlobalRegistryList (line 37) | func GetGlobalRegistryList(c *gin.Context) { function GetGlobalRegistry (line 61) | func GetGlobalRegistry(c *gin.Context) { function PostGlobalRegistry (line 81) | func PostGlobalRegistry(c *gin.Context) { function PatchGlobalRegistry (line 115) | func PatchGlobalRegistry(c *gin.Context) { function DeleteGlobalRegistry (line 162) | func DeleteGlobalRegistry(c *gin.Context) { FILE: server/api/global_secret.go function GetGlobalSecretList (line 37) | func GetGlobalSecretList(c *gin.Context) { function GetGlobalSecret (line 61) | func GetGlobalSecret(c *gin.Context) { function PostGlobalSecret (line 81) | func PostGlobalSecret(c *gin.Context) { function PatchGlobalSecret (line 117) | func PatchGlobalSecret(c *gin.Context) { function DeleteGlobalSecret (line 167) | func DeleteGlobalSecret(c *gin.Context) { FILE: server/api/helper.go function handlePipelineErr (line 32) | func handlePipelineErr(c *gin.Context, err error) { function handleDBError (line 47) | func handleDBError(c *gin.Context, err error) { function refreshUserToken (line 57) | func refreshUserToken(c *gin.Context, user *model.User) { function pipelineDeleteAllowed (line 70) | func pipelineDeleteAllowed(pl *model.Pipeline) bool { FILE: server/api/helper_test.go function TestHandlePipelineError (line 28) | func TestHandlePipelineError(t *testing.T) { FILE: server/api/hook.go function getAgentName (line 38) | func getAgentName(store store.Store, agentNameMap map[int64]string, agen... function PostHook (line 69) | func PostHook(c *gin.Context) { function getRepoFromToken (line 215) | func getRepoFromToken(store store.Store, t *token.Token) (*model.Repo, e... FILE: server/api/hook_test.go function TestHook (line 41) | func TestHook(t *testing.T) { FILE: server/api/login.go constant stateTokenDuration (line 42) | stateTokenDuration = time.Minute * 5 constant perPage (line 43) | perPage = 50 constant maxPage (line 44) | maxPage = 10000 function HandleAuth (line 47) | func HandleAuth(c *gin.Context) { function updateRepoPermissions (line 308) | func updateRepoPermissions(c *gin.Context, user *model.User, _store stor... function GetLogout (line 356) | func GetLogout(c *gin.Context) { FILE: server/api/login_test.go function TestHandleAuth (line 42) | func TestHandleAuth(t *testing.T) { FILE: server/api/metrics/prometheus.go function PromHandler (line 32) | func PromHandler() gin.HandlerFunc { FILE: server/api/org.go function GetOrgs (line 41) | func GetOrgs(c *gin.Context) { function GetOrg (line 59) | func GetOrg(c *gin.Context) { function GetOrgPermissions (line 73) | func GetOrgPermissions(c *gin.Context) { function LookupOrg (line 118) | func LookupOrg(c *gin.Context) { function DeleteOrg (line 175) | func DeleteOrg(c *gin.Context) { FILE: server/api/org_registry.go function GetOrgRegistry (line 37) | func GetOrgRegistry(c *gin.Context) { function GetOrgRegistryList (line 61) | func GetOrgRegistryList(c *gin.Context) { function PostOrgRegistry (line 88) | func PostOrgRegistry(c *gin.Context) { function PatchOrgRegistry (line 126) | func PatchOrgRegistry(c *gin.Context) { function DeleteOrgRegistry (line 174) | func DeleteOrgRegistry(c *gin.Context) { FILE: server/api/org_secret.go function GetOrgSecret (line 37) | func GetOrgSecret(c *gin.Context) { function GetOrgSecretList (line 61) | func GetOrgSecretList(c *gin.Context) { function PostOrgSecret (line 88) | func PostOrgSecret(c *gin.Context) { function PatchOrgSecret (line 128) | func PatchOrgSecret(c *gin.Context) { function DeleteOrgSecret (line 179) | func DeleteOrgSecret(c *gin.Context) { FILE: server/api/pipeline.go function CreatePipeline (line 50) | func CreatePipeline(c *gin.Context) { function createTmpPipeline (line 91) | func createTmpPipeline(event model.WebhookEvent, commit *model.Commit, u... function GetPipelines (line 129) | func GetPipelines(c *gin.Context) { function DeletePipeline (line 201) | func DeletePipeline(c *gin.Context) { function GetPipeline (line 241) | func GetPipeline(c *gin.Context) { function GetPipelineLastByBranch (line 268) | func GetPipelineLastByBranch(c *gin.Context) { function GetStepLogs (line 297) | func GetStepLogs(c *gin.Context) { function DeleteStepLogs (line 347) | func DeleteStepLogs(c *gin.Context) { function GetPipelineConfig (line 400) | func GetPipelineConfig(c *gin.Context) { function GetPipelineMetadata (line 434) | func GetPipelineMetadata(c *gin.Context) { function CancelPipeline (line 475) | func CancelPipeline(c *gin.Context) { function PostApproval (line 513) | func PostApproval(c *gin.Context) { function PostDecline (line 545) | func PostDecline(c *gin.Context) { function GetPipelineQueue (line 575) | func GetPipelineQueue(c *gin.Context) { function PostPipeline (line 597) | func PostPipeline(c *gin.Context) { function DeletePipelineLogs (line 677) | func DeletePipelineLogs(c *gin.Context) { FILE: server/api/pipeline_test.go function TestGetPipelines (line 51) | func TestGetPipelines(t *testing.T) { function TestDeletePipeline (line 128) | func TestDeletePipeline(t *testing.T) { function TestGetPipelineMetadata (line 174) | func TestGetPipelineMetadata(t *testing.T) { function TestCancelPipeline (line 246) | func TestCancelPipeline(t *testing.T) { function TestCreatePipeline (line 283) | func TestCreatePipeline(t *testing.T) { FILE: server/api/queue.go function GetQueueInfo (line 37) | func GetQueueInfo(c *gin.Context) { function PauseQueue (line 93) | func PauseQueue(c *gin.Context) { function ResumeQueue (line 106) | func ResumeQueue(c *gin.Context) { function BlockTilQueueHasRunningItem (line 119) | func BlockTilQueueHasRunningItem(c *gin.Context) { function processQueueTasks (line 130) | func processQueueTasks(store store.Store, tasks []*model.Task, agentName... FILE: server/api/registry.go function GetRegistry (line 37) | func GetRegistry(c *gin.Context) { function PostRegistry (line 60) | func PostRegistry(c *gin.Context) { function PatchRegistry (line 98) | func PatchRegistry(c *gin.Context) { function GetRegistryList (line 144) | func GetRegistryList(c *gin.Context) { function DeleteRegistry (line 170) | func DeleteRegistry(c *gin.Context) { FILE: server/api/repo.go function PostRepo (line 49) | func PostRepo(c *gin.Context) { function PatchRepo (line 220) | func PatchRepo(c *gin.Context) { function ChownRepo (line 339) | func ChownRepo(c *gin.Context) { function LookupRepo (line 362) | func LookupRepo(c *gin.Context) { function GetRepo (line 375) | func GetRepo(c *gin.Context) { function GetRepoPermissions (line 389) | func GetRepoPermissions(c *gin.Context) { function GetRepoBranches (line 405) | func GetRepoBranches(c *gin.Context) { function GetRepoPullRequests (line 446) | func GetRepoPullRequests(c *gin.Context) { function DeleteRepo (line 484) | func DeleteRepo(c *gin.Context) { function RepairRepo (line 538) | func RepairRepo(c *gin.Context) { function MoveRepo (line 560) | func MoveRepo(c *gin.Context) { function GetAllRepos (line 659) | func GetAllRepos(c *gin.Context) { function RepairAllRepos (line 682) | func RepairAllRepos(c *gin.Context) { function repairRepo (line 713) | func repairRepo(c *gin.Context, repo *model.Repo, updatePermissions bool... function repairRepoUser (line 798) | func repairRepoUser(c *gin.Context, repo *model.Repo, _store store.Store... FILE: server/api/repo_secret.go function GetSecret (line 37) | func GetSecret(c *gin.Context) { function PostSecret (line 60) | func PostSecret(c *gin.Context) { function PatchSecret (line 100) | func PatchSecret(c *gin.Context) { function GetSecretList (line 154) | func GetSecretList(c *gin.Context) { function DeleteSecret (line 180) | func DeleteSecret(c *gin.Context) { FILE: server/api/repo_test.go function TestPostRepoReturnsConflictOnDuplicateRepository (line 35) | func TestPostRepoReturnsConflictOnDuplicateRepository(t *testing.T) { FILE: server/api/signature_public_key.go function GetSignaturePublicKey (line 36) | func GetSignaturePublicKey(c *gin.Context) { FILE: server/api/stream.go constant maxQueuedBatchesPerClient (line 42) | maxQueuedBatchesPerClient int = 30 constant idlePingTime (line 45) | idlePingTime = time.Second * 30 function EventStreamSSE (line 56) | func EventStreamSSE(c *gin.Context) { function LogStreamSSE (line 140) | func LogStreamSSE(c *gin.Context) { function logWriteStringErr (line 283) | func logWriteStringErr(_ int, err error) { FILE: server/api/stream_test.go function TestEventStreamSSEConcurrentDisconnect (line 38) | func TestEventStreamSSEConcurrentDisconnect(t *testing.T) { function setupLogStreamContext (line 85) | func setupLogStreamContext(t *testing.T) (*httptest.ResponseRecorder, *g... function TestLogStreamSSEConcurrentDisconnect (line 118) | func TestLogStreamSSEConcurrentDisconnect(t *testing.T) { FILE: server/api/user.go function GetSelf (line 43) | func GetSelf(c *gin.Context) { function GetFeed (line 56) | func GetFeed(c *gin.Context) { function GetRepos (line 91) | func GetRepos(c *gin.Context) { function PostToken (line 224) | func PostToken(c *gin.Context) { function DeleteToken (line 245) | func DeleteToken(c *gin.Context) { FILE: server/api/users.go constant defaultForgeID (line 33) | defaultForgeID = 1 function GetUsers (line 46) | func GetUsers(c *gin.Context) { function GetUser (line 67) | func GetUser(c *gin.Context) { function PatchUser (line 101) | func PatchUser(c *gin.Context) { function PostUser (line 154) | func PostUser(c *gin.Context) { function DeleteUser (line 194) | func DeleteUser(c *gin.Context) { FILE: server/api/z.go function Health (line 37) | func Health(c *gin.Context) { function Version (line 53) | func Version(c *gin.Context) { function LogLevel (line 68) | func LogLevel(c *gin.Context) { function SetLogLevel (line 84) | func SetLogLevel(c *gin.Context) { FILE: server/badges/badges.go function getBadgeStatusLabelAndColor (line 32) | func getBadgeStatusLabelAndColor(status *model.StatusValue) (string, Col... function Generate (line 52) | func Generate(name string, status *model.StatusValue) (string, error) { FILE: server/badges/badges_test.go function TestGenerate (line 38) | func TestGenerate(t *testing.T) { function TestBadgeDrawerRender (line 69) | func TestBadgeDrawerRender(t *testing.T) { function TestBadgeDrawerRenderBytes (line 92) | func TestBadgeDrawerRenderBytes(t *testing.T) { FILE: server/badges/color.go type Color (line 7) | type Color constant ColorGreen (line 11) | ColorGreen = "#44cc11" constant ColorYellow (line 12) | ColorYellow = "#dfb317" constant ColorRed (line 13) | ColorRed = "#e05d44" constant ColorGray (line 14) | ColorGray = "#9f9f9f" FILE: server/badges/drawer.go type badge (line 21) | type badge struct type bounds (line 28) | type bounds struct method Dx (line 37) | func (b bounds) Dx() float64 { type badgeDrawer (line 41) | type badgeDrawer struct method Render (line 47) | func (d *badgeDrawer) Render(subject, status string, color Color, w io... method RenderBytes (line 67) | func (d *badgeDrawer) RenderBytes(subject, status string, color Color)... method measureString (line 77) | func (d *badgeDrawer) measureString(s string) float64 { constant extraDx (line 75) | extraDx = 5 function RenderBytes (line 83) | func RenderBytes(subject, status string, color Color) ([]byte, error) { constant dpi (line 92) | dpi = 72 constant fontSize (line 93) | fontSize = 11 function initDrawer (line 102) | func initDrawer() (*badgeDrawer, error) { function mustNewFontDrawer (line 119) | func mustNewFontDrawer(size, dpi float64) (*font.Drawer, error) { FILE: server/cache/membership.go type MembershipService (line 33) | type MembershipService interface type membershipCache (line 38) | type membershipCache struct method Get (line 54) | func (c *membershipCache) Get(ctx context.Context, _forge forge.Forge,... function NewMembershipService (line 45) | func NewMembershipService(_store store.Store) MembershipService { FILE: server/ccmenu/cc.go type CCProjects (line 31) | type CCProjects struct type CCProject (line 36) | type CCProject struct function New (line 46) | func New(r *model.Repo, b *model.Pipeline, url string) *CCProjects { FILE: server/ccmenu/cc_test.go function TestCC (line 27) | func TestCC(t *testing.T) { FILE: server/cron/cron.go constant checkTime (line 34) | checkTime = time.Minute constant checkItems (line 37) | checkItems = 10 function Run (line 41) | func Run(ctx context.Context, store store.Store) error { function CalcNewNext (line 68) | func CalcNewNext(schedule string, now time.Time) (time.Time, error) { function runCron (line 86) | func runCron(ctx context.Context, store store.Store, cron *model.Cron, n... function CreatePipeline (line 113) | func CreatePipeline(ctx context.Context, store store.Store, cron *model.... FILE: server/cron/cron_test.go function TestCreatePipeline (line 31) | func TestCreatePipeline(t *testing.T) { function TestCalcNewNext (line 74) | func TestCalcNewNext(t *testing.T) { FILE: server/forge/addon/args.go type argumentsRepo (line 21) | type argumentsRepo struct type argumentsFileDir (line 28) | type argumentsFileDir struct type argumentsStatus (line 35) | type argumentsStatus struct type argumentsNetrc (line 42) | type argumentsNetrc struct type argumentsActivateDeactivate (line 47) | type argumentsActivateDeactivate struct type argumentsBranchesPullRequests (line 53) | type argumentsBranchesPullRequests struct type argumentsBranchHead (line 59) | type argumentsBranchHead struct type argumentsOrgMembershipOrg (line 65) | type argumentsOrgMembershipOrg struct type argumentsTeams (line 70) | type argumentsTeams struct type argumentsRepos (line 75) | type argumentsRepos struct type responseHook (line 80) | type responseHook struct type responseLogin (line 85) | type responseLogin struct type httpRequest (line 90) | type httpRequest struct type modelUser (line 99) | type modelUser struct method asModel (line 117) | func (m *modelUser) asModel() *model.User { function modelUserFromModel (line 129) | func modelUserFromModel(u *model.User) *modelUser { type modelRepo (line 144) | type modelRepo struct method asModel (line 151) | func (m *modelRepo) asModel() *model.Repo { function modelRepoFromModel (line 161) | func modelRepoFromModel(r *model.Repo) *modelRepo { FILE: server/forge/addon/client.go function Load (line 37) | func Load(file string) (forge.Forge, error) { type RPC (line 64) | type RPC struct method Name (line 68) | func (g *RPC) Name() string { method URL (line 77) | func (g *RPC) URL() string { method Login (line 86) | func (g *RPC) Login(_ context.Context, r *types.OAuthRequest) (*model.... method Teams (line 106) | func (g *RPC) Teams(_ context.Context, u *model.User, p *model.ListOpt... method Repo (line 124) | func (g *RPC) Repo(_ context.Context, u *model.User, remoteID model.Fo... method Repos (line 148) | func (g *RPC) Repos(_ context.Context, u *model.User, p *model.ListOpt... method File (line 174) | func (g *RPC) File(_ context.Context, u *model.User, r *model.Repo, b ... method Dir (line 188) | func (g *RPC) Dir(_ context.Context, u *model.User, r *model.Repo, b *... method Status (line 207) | func (g *RPC) Status(_ context.Context, u *model.User, r *model.Repo, ... method Netrc (line 221) | func (g *RPC) Netrc(u *model.User, r *model.Repo) (*model.Netrc, error) { method Activate (line 238) | func (g *RPC) Activate(_ context.Context, u *model.User, r *model.Repo... method Deactivate (line 251) | func (g *RPC) Deactivate(_ context.Context, u *model.User, r *model.Re... method Branches (line 264) | func (g *RPC) Branches(_ context.Context, u *model.User, r *model.Repo... method BranchHead (line 282) | func (g *RPC) BranchHead(_ context.Context, u *model.User, r *model.Re... method PullRequests (line 300) | func (g *RPC) PullRequests(_ context.Context, u *model.User, r *model.... method Hook (line 318) | func (g *RPC) Hook(_ context.Context, r *http.Request) (*model.Repo, *... method OrgMembership (line 346) | func (g *RPC) OrgMembership(_ context.Context, u *model.User, org stri... method Org (line 363) | func (g *RPC) Org(_ context.Context, u *model.User, org string) (*mode... FILE: server/forge/addon/plugin.go constant pluginKey (line 25) | pluginKey = "forge" type Plugin (line 33) | type Plugin struct method Server (line 37) | func (p *Plugin) Server(*plugin.MuxBroker) (any, error) { method Client (line 41) | func (*Plugin) Client(_ *plugin.MuxBroker, c *rpc.Client) (any, error) { FILE: server/forge/addon/server.go function Serve (line 29) | func Serve(impl forge.Forge) { function mkCtx (line 38) | func mkCtx() context.Context { type RPCServer (line 42) | type RPCServer struct method Name (line 46) | func (s *RPCServer) Name(_ []byte, resp *string) error { method URL (line 51) | func (s *RPCServer) URL(_ []byte, resp *string) error { method Teams (line 56) | func (s *RPCServer) Teams(args []byte, resp *[]byte) error { method Repo (line 70) | func (s *RPCServer) Repo(args []byte, resp *[]byte) error { method Repos (line 84) | func (s *RPCServer) Repos(args []byte, resp *[]byte) error { method File (line 102) | func (s *RPCServer) File(args []byte, resp *[]byte) error { method Dir (line 112) | func (s *RPCServer) Dir(args []byte, resp *[]byte) error { method Status (line 126) | func (s *RPCServer) Status(args []byte, resp *[]byte) error { method Netrc (line 136) | func (s *RPCServer) Netrc(args []byte, resp *[]byte) error { method Activate (line 150) | func (s *RPCServer) Activate(args []byte, resp *[]byte) error { method Deactivate (line 160) | func (s *RPCServer) Deactivate(args []byte, resp *[]byte) error { method Branches (line 170) | func (s *RPCServer) Branches(args []byte, resp *[]byte) error { method BranchHead (line 184) | func (s *RPCServer) BranchHead(args []byte, resp *[]byte) error { method PullRequests (line 198) | func (s *RPCServer) PullRequests(args []byte, resp *[]byte) error { method OrgMembership (line 212) | func (s *RPCServer) OrgMembership(args []byte, resp *[]byte) error { method Org (line 226) | func (s *RPCServer) Org(args []byte, resp *[]byte) error { method Hook (line 240) | func (s *RPCServer) Hook(args []byte, resp *[]byte) error { method Login (line 263) | func (s *RPCServer) Login(args []byte, resp *[]byte) error { FILE: server/forge/bitbucket/bitbucket.go constant DefaultAPI (line 42) | DefaultAPI = "https://api.bitbucket.org" constant DefaultURL (line 43) | DefaultURL = "https://bitbucket.org" constant pageSize (line 44) | pageSize = 100 type Opts (line 48) | type Opts struct type config (line 53) | type config struct method Name (line 75) | func (c *config) Name() string { method URL (line 80) | func (c *config) URL() string { method Login (line 86) | func (c *config) Login(ctx context.Context, req *forge_types.OAuthRequ... method Refresh (line 124) | func (c *config) Refresh(ctx context.Context, user *model.User) (bool,... method Teams (line 141) | func (c *config) Teams(ctx context.Context, u *model.User, p *model.Li... method Repo (line 162) | func (c *config) Repo(ctx context.Context, u *model.User, remoteID mod... method Repos (line 192) | func (c *config) Repos(ctx context.Context, u *model.User, p *model.Li... method File (line 243) | func (c *config) File(ctx context.Context, u *model.User, r *model.Rep... method Dir (line 258) | func (c *config) Dir(ctx context.Context, u *model.User, r *model.Repo... method Status (line 312) | func (c *config) Status(ctx context.Context, user *model.User, repo *m... method Activate (line 330) | func (c *config) Activate(ctx context.Context, u *model.User, r *model... method Deactivate (line 347) | func (c *config) Deactivate(ctx context.Context, u *model.User, r *mod... method Netrc (line 376) | func (c *config) Netrc(u *model.User, _ *model.Repo) (*model.Netrc, er... method Branches (line 386) | func (c *config) Branches(ctx context.Context, u *model.User, r *model... method BranchHead (line 402) | func (c *config) BranchHead(ctx context.Context, u *model.User, r *mod... method PullRequests (line 414) | func (c *config) PullRequests(ctx context.Context, u *model.User, r *m... method Hook (line 434) | func (c *config) Hook(ctx context.Context, req *http.Request) (*model.... method OrgMembership (line 484) | func (c *config) OrgMembership(ctx context.Context, u *model.User, own... method Org (line 492) | func (c *config) Org(ctx context.Context, u *model.User, owner string)... method newClient (line 505) | func (c *config) newClient(ctx context.Context, u *model.User) *intern... method newClientToken (line 513) | func (c *config) newClientToken(ctx context.Context, accessToken, refr... method newOAuth2Config (line 529) | func (c *config) newOAuth2Config() *oauth2.Config { function New (line 63) | func New(id int64, opts *Opts) (forge.Forge, error) { function matchingHooks (line 542) | func matchingHooks(hooks []*internal.Hook, rawURL string) *internal.Hook { function setListOptions (line 556) | func setListOptions(p *model.ListOptions) { FILE: server/forge/bitbucket/bitbucket_test.go function TestNew (line 36) | func TestNew(t *testing.T) { function TestBitbucket (line 46) | func TestBitbucket(t *testing.T) { FILE: server/forge/bitbucket/convert.go constant statusPending (line 31) | statusPending = "INPROGRESS" constant statusSuccess (line 32) | statusSuccess = "SUCCESSFUL" constant statusFailure (line 33) | statusFailure = "FAILED" function convertStatus (line 38) | func convertStatus(status model.StatusValue) string { function convertRepo (line 51) | func convertRepo(from *internal.Repo, perm *internal.RepoPerm) *model.Re... function convertPerm (line 69) | func convertPerm(from *internal.RepoPerm) *model.Perm { function cloneLink (line 86) | func cloneLink(repo *internal.Repo) string { function sshCloneLink (line 117) | func sshCloneLink(repo *internal.Repo) string { function convertUser (line 129) | func convertUser(from *internal.Account, token *oauth2.Token, email stri... function convertWorkspaceList (line 143) | func convertWorkspaceList(from []*internal.Workspace) []*model.Team { function convertWorkspace (line 153) | func convertWorkspace(from *internal.Workspace) *model.Team { function convertPullHook (line 162) | func convertPullHook(from *internal.PullRequestHook) *model.Pipeline { function convertPushHook (line 197) | func convertPushHook(hook *internal.PushHook, change *internal.Change) *... function extractEmail (line 226) | func extractEmail(gitAuthor string) (author string) { FILE: server/forge/bitbucket/convert_test.go function Test_convertStatus (line 29) | func Test_convertStatus(t *testing.T) { function Test_convertRepo (line 38) | func Test_convertRepo(t *testing.T) { function Test_convertWorkspace (line 64) | func Test_convertWorkspace(t *testing.T) { function Test_convertWorkspaceList (line 72) | func Test_convertWorkspaceList(t *testing.T) { function Test_convertUser (line 80) | func Test_convertUser(t *testing.T) { function Test_cloneLink (line 98) | func Test_cloneLink(t *testing.T) { function Test_convertPullHook (line 113) | func Test_convertPullHook(t *testing.T) { function Test_convertPushHook (line 141) | func Test_convertPushHook(t *testing.T) { function Test_convertPushHookTag (line 167) | func Test_convertPushHookTag(t *testing.T) { FILE: server/forge/bitbucket/fixtures/handler.go function Handler (line 26) | func Handler() http.Handler { function getCommitDiffstat (line 48) | func getCommitDiffstat(c *gin.Context) { function getOauth (line 52) | func getOauth(c *gin.Context) { function getWorkspaces (line 77) | func getWorkspaces(c *gin.Context) { function getRepo (line 90) | func getRepo(c *gin.Context) { function getRepoHooks (line 103) | func getRepoHooks(c *gin.Context) { function getRepoFile (line 118) | func getRepoFile(c *gin.Context) { function getBranchHead (line 131) | func getBranchHead(c *gin.Context) { function getPullRequests (line 140) | func getPullRequests(c *gin.Context) { function createRepoStatus (line 149) | func createRepoStatus(c *gin.Context) { function createRepoHook (line 158) | func createRepoHook(c *gin.Context) { function deleteRepoHook (line 162) | func deleteRepoHook(c *gin.Context) { function getUser (line 171) | func getUser(c *gin.Context) { function getEmails (line 180) | func getEmails(c *gin.Context) { function getUserRepos (line 189) | func getUserRepos(c *gin.Context) { function getPermissions (line 202) | func getPermissions(c *gin.Context) { constant tokenPayload (line 231) | tokenPayload = ` constant tokenNotFoundPayload (line 240) | tokenNotFoundPayload = ` constant repoPayload (line 249) | repoPayload = ` constant permissionRepoPayload (line 257) | permissionRepoPayload = ` constant repoPayloadFromHook (line 265) | repoPayloadFromHook = ` constant repoHookPayload (line 396) | repoHookPayload = ` constant repoFilePayload (line 410) | repoFilePayload = "dummy payload" constant repoDirPayload (line 412) | repoDirPayload = ` constant branchCommitsPayload (line 433) | branchCommitsPayload = ` constant pullRequestsPayload (line 454) | pullRequestsPayload = ` constant diffStatPayload (line 472) | diffStatPayload = ` constant userPayload (line 487) | userPayload = ` constant userRepoPayload (line 500) | userRepoPayload = ` constant emailsPayload (line 520) | emailsPayload = ` constant workspacesPayload (line 535) | workspacesPayload = ` constant permissionsPayLoad (line 562) | permissionsPayLoad = ` constant permissionPayLoad (line 595) | permissionPayLoad = ` constant permissionHookPayLoad (line 610) | permissionHookPayLoad = ` FILE: server/forge/bitbucket/fixtures/hooks.go constant HookPushEmptyHash (line 23) | HookPushEmptyHash = ` FILE: server/forge/bitbucket/internal/client.go constant pathUser (line 33) | pathUser = "%s/2.0/user/" constant pathEmails (line 34) | pathEmails = "%s/2.0/user/emails" constant pathPermissions (line 35) | pathPermissions = "%s/2.0/user/workspaces/%s/permissions/repositories?%s" constant pathWorkspaces (line 36) | pathWorkspaces = "%s/2.0/user/workspaces/?%s" constant pathWorkspace (line 37) | pathWorkspace = "%s/2.0/workspaces/%s" constant pathRepo (line 38) | pathRepo = "%s/2.0/repositories/%s/%s" constant pathRepos (line 39) | pathRepos = "%s/2.0/repositories/%s?%s" constant pathHook (line 40) | pathHook = "%s/2.0/repositories/%s/%s/hooks/%s" constant pathHooks (line 41) | pathHooks = "%s/2.0/repositories/%s/%s/hooks?%s" constant pathSource (line 42) | pathSource = "%s/2.0/repositories/%s/%s/src/%s/%s" constant pathStatus (line 43) | pathStatus = "%s/2.0/repositories/%s/%s/commit/%s/statuses/build" constant pathBranches (line 44) | pathBranches = "%s/2.0/repositories/%s/%s/refs/branches?%s" constant pathOrgPerms (line 45) | pathOrgPerms = "%s/2.0/workspaces/%s/permissions?%s" constant pathPullRequests (line 46) | pathPullRequests = "%s/2.0/repositories/%s/%s/pullrequests?%s" constant pathBranchCommits (line 47) | pathBranchCommits = "%s/2.0/repositories/%s/%s/commits/%s" constant pathDir (line 48) | pathDir = "%s/2.0/repositories/%s/%s/src/%s/%s" constant pathDiffStat (line 49) | pathDiffStat = "%s/2.0/repositories/%s/%s/diffstat/%s?%s" constant pageSize (line 50) | pageSize = 100 type Client (line 53) | type Client struct method FindCurrent (line 76) | func (c *Client) FindCurrent() (*Account, error) { method ListEmail (line 83) | func (c *Client) ListEmail() (*EmailResp, error) { method ListWorkspaces (line 90) | func (c *Client) ListWorkspaces(opts *ListOpts) (*WorkspacesResp, erro... method FindRepo (line 97) | func (c *Client) FindRepo(owner, name string) (*Repo, error) { method ListRepos (line 104) | func (c *Client) ListRepos(workspace string, opts *ListOpts) (*RepoRes... method ListReposAll (line 111) | func (c *Client) ListReposAll(workspace string) ([]*Repo, error) { method FindHook (line 121) | func (c *Client) FindHook(owner, name, id string) (*Hook, error) { method ListHooks (line 128) | func (c *Client) ListHooks(owner, name string, opts *ListOpts) (*HookR... method CreateHook (line 135) | func (c *Client) CreateHook(owner, name string, hook *Hook) error { method DeleteHook (line 141) | func (c *Client) DeleteHook(owner, name, id string) error { method FindSource (line 147) | func (c *Client) FindSource(owner, name, revision, path string) (*stri... method CreateStatus (line 152) | func (c *Client) CreateStatus(owner, name, revision string, status *Pi... method GetPermission (line 158) | func (c *Client) GetPermission(owner, fullName string) (*RepoPerm, err... method ListPermissions (line 172) | func (c *Client) ListPermissions(workspace string, opts *ListOpts) (*R... method ListPermissionsAll (line 179) | func (c *Client) ListPermissionsAll(workspace string) ([]*RepoPerm, er... method ListBranches (line 189) | func (c *Client) ListBranches(owner, name string, opts *ListOpts) ([]*... method GetBranchHead (line 196) | func (c *Client) GetBranchHead(owner, name, branch string) (*Commit, e... method GetUserWorkspaceMembership (line 209) | func (c *Client) GetUserWorkspaceMembership(workspace, user string) (s... method ListPullRequests (line 231) | func (c *Client) ListPullRequests(owner, name string, opts *ListOpts) ... method ListChangedFiles (line 238) | func (c *Client) ListChangedFiles(owner, name, ref string) (result []s... method GetWorkspace (line 274) | func (c *Client) GetWorkspace(name string) (*Workspace, error) { method GetRepoFiles (line 281) | func (c *Client) GetRepoFiles(owner, name, revision, path string, page... method do (line 291) | func (c *Client) do(rawURL, method string, in, out any) (*string, erro... function NewClient (line 59) | func NewClient(ctx context.Context, url string, client *http.Client) *Cl... function NewClientToken (line 67) | func NewClientToken(ctx context.Context, url, client, secret string, tok... FILE: server/forge/bitbucket/internal/types.go type Account (line 25) | type Account struct type Workspace (line 33) | type Workspace struct type WorkspaceAccess (line 40) | type WorkspaceAccess struct type WorkspacesResp (line 46) | type WorkspacesResp struct type PipelineStatus (line 54) | type PipelineStatus struct type Email (line 63) | type Email struct type EmailResp (line 69) | type EmailResp struct type Hook (line 77) | type Hook struct type HookResp (line 85) | type HookResp struct type Links (line 93) | type Links struct type Link (line 100) | type Link struct type LinkClone (line 105) | type LinkClone struct type Repo (line 109) | type Repo struct type RepoResp (line 125) | type RepoResp struct type Change (line 133) | type Change struct type PushHook (line 151) | type PushHook struct type PullRequestHook (line 159) | type PullRequestHook struct type WorkspaceMembershipResp (line 201) | type WorkspaceMembershipResp struct type ListOpts (line 214) | type ListOpts struct method Encode (line 219) | func (o *ListOpts) Encode() string { type Error (line 230) | type Error struct method Error (line 237) | func (e Error) Error() string { type RepoPermResp (line 241) | type RepoPermResp struct type RepoPerm (line 247) | type RepoPerm struct type BranchResp (line 252) | type BranchResp struct type Branch (line 256) | type Branch struct type PullRequestResp (line 260) | type PullRequestResp struct type PullRequest (line 267) | type PullRequest struct type CommitsResp (line 272) | type CommitsResp struct type Commit (line 276) | type Commit struct type DirResp (line 285) | type DirResp struct type Dir (line 292) | type Dir struct type DiffStatResp (line 298) | type DiffStatResp struct type Diff (line 303) | type Diff struct type DiffFile (line 308) | type DiffFile struct FILE: server/forge/bitbucket/parse.go constant hookEvent (line 28) | hookEvent = "X-Event-Key" constant hookPush (line 29) | hookPush = "repo:push" constant hookPullCreated (line 30) | hookPullCreated = "pullrequest:created" constant hookPullUpdated (line 31) | hookPullUpdated = "pullrequest:updated" constant hookPullMerged (line 32) | hookPullMerged = "pullrequest:fulfilled" constant hookPullDeclined (line 33) | hookPullDeclined = "pullrequest:rejected" constant stateClosed (line 34) | stateClosed = "MERGED" constant stateDeclined (line 35) | stateDeclined = "DECLINED" function parseHook (line 40) | func parseHook(r *http.Request) (*internal.PullRequestHook, *model.Repo,... function parsePushHook (line 60) | func parsePushHook(payload []byte) (*model.Repo, *model.Pipeline, error) { function parsePullHook (line 79) | func parsePullHook(payload []byte) (*internal.PullRequestHook, *model.Re... FILE: server/forge/bitbucket/parse_test.go function Test_parseHook (line 29) | func Test_parseHook(t *testing.T) { FILE: server/forge/bitbucketdatacenter/bitbucketdatacenter.go constant listLimit (line 41) | listLimit = 250 constant millisecondsInSecond (line 42) | millisecondsInSecond = 1000 type Opts (line 46) | type Opts struct type client (line 56) | type client struct method Name (line 98) | func (c *client) Name() string { method URL (line 103) | func (c *client) URL() string { method Login (line 107) | func (c *client) Login(ctx context.Context, req *forge_types.OAuthRequ... method Refresh (line 145) | func (c *client) Refresh(ctx context.Context, u *model.User) (bool, er... method Repo (line 160) | func (c *client) Repo(ctx context.Context, u *model.User, rID model.Fo... method Repos (line 213) | func (c *client) Repos(ctx context.Context, u *model.User, p *model.Li... method File (line 269) | func (c *client) File(ctx context.Context, u *model.User, r *model.Rep... method Dir (line 288) | func (c *client) Dir(ctx context.Context, u *model.User, r *model.Repo... method Status (line 323) | func (c *client) Status(ctx context.Context, u *model.User, repo *mode... method Netrc (line 342) | func (c *client) Netrc(_ *model.User, r *model.Repo) (*model.Netrc, er... method Branches (line 357) | func (c *client) Branches(ctx context.Context, u *model.User, r *model... method BranchHead (line 382) | func (c *client) BranchHead(ctx context.Context, u *model.User, r *mod... method PullRequests (line 405) | func (c *client) PullRequests(ctx context.Context, u *model.User, r *m... method Activate (line 430) | func (c *client) Activate(ctx context.Context, u *model.User, r *model... method Deactivate (line 454) | func (c *client) Deactivate(ctx context.Context, u *model.User, r *mod... method Hook (line 499) | func (c *client) Hook(ctx context.Context, r *http.Request) (*model.Re... method getUserAndRepo (line 535) | func (c *client) getUserAndRepo(ctx context.Context, r *model.Repo) (*... method updatePipelineFromCommits (line 559) | func (c *client) updatePipelineFromCommits(ctx context.Context, u *mod... method updatePipelineFromPullRequest (line 607) | func (c *client) updatePipelineFromPullRequest(ctx context.Context, u ... method Teams (line 632) | func (c *client) Teams(ctx context.Context, u *model.User, p *model.Li... method TeamPerm (line 664) | func (*client) TeamPerm(_ *model.User, _ string) (*model.Perm, error) { method OrgMembership (line 670) | func (c *client) OrgMembership(ctx context.Context, u *model.User, org... method hasProjectAdminAccess (line 699) | func (c *client) hasProjectAdminAccess(ctx context.Context, client *bi... method hasRepositoryWriteAccess (line 708) | func (c *client) hasRepositoryWriteAccess(ctx context.Context, org str... method Org (line 736) | func (c *client) Org(_ context.Context, _ *model.User, owner string) (... method newOAuth2Config (line 749) | func (c *client) newOAuth2Config() *oauth2.Config { method newClient (line 778) | func (c *client) newClient(ctx context.Context, u *model.User) (*bitbu... function New (line 70) | func New(id int64, opts Opts) (forge.Forge, error) { FILE: server/forge/bitbucketdatacenter/bitbucketdatacenter_test.go function TestNew (line 29) | func TestNew(t *testing.T) { function TestBitbucketDC (line 52) | func TestBitbucketDC(t *testing.T) { FILE: server/forge/bitbucketdatacenter/convert.go function convertStatus (line 29) | func convertStatus(status model.StatusValue) bitbucket.BuildStatusState { function convertID (line 40) | func convertID(id uint64) model.ForgeRemoteID { function anonymizeLink (line 44) | func anonymizeLink(link string) (href string) { function convertRepo (line 53) | func convertRepo(from *bitbucket.Repository, perm *model.Perm, branch st... function convertRepositoryPushEvent (line 78) | func convertRepositoryPushEvent(ev *bitbucket.RepositoryPushEvent, baseU... function convertGetCommitRange (line 112) | func convertGetCommitRange(ev *bitbucket.RepositoryPushEvent) (currCommi... function convertPullRequestEvent (line 125) | func convertPullRequestEvent(ev *bitbucket.PullRequestEvent, baseURL str... function authorLabel (line 150) | func authorLabel(name string) string { function convertUser (line 163) | func convertUser(user *bitbucket.User, baseURL string) *model.User { function bitbucketAvatarURL (line 172) | func bitbucketAvatarURL(baseURL, slug string) string { function convertListOptions (line 176) | func convertListOptions(p *model.ListOptions) bitbucket.ListOptions { function updateUserCredentials (line 183) | func updateUserCredentials(u *model.User, t *oauth2.Token) { function convertProjectsToTeams (line 189) | func convertProjectsToTeams(projects []*bitbucket.Project, client *bitbu... FILE: server/forge/bitbucketdatacenter/convert_test.go function Test_convertStatus (line 28) | func Test_convertStatus(t *testing.T) { function Test_convertRepo (line 56) | func Test_convertRepo(t *testing.T) { function Test_convertRepositoryPushEvent (line 94) | func Test_convertRepositoryPushEvent(t *testing.T) { function Test_convertPullRequestEvent (line 174) | func Test_convertPullRequestEvent(t *testing.T) { function Test_convertPullRequestCloseEvent (line 230) | func Test_convertPullRequestCloseEvent(t *testing.T) { function Test_authorLabel (line 286) | func Test_authorLabel(t *testing.T) { function Test_convertUser (line 306) | func Test_convertUser(t *testing.T) { function Test_convertProjectsToTeams (line 321) | func Test_convertProjectsToTeams(t *testing.T) { FILE: server/forge/bitbucketdatacenter/fixtures/handler.go type ResponseContent (line 35) | type ResponseContent function Server (line 37) | func Server() *httptest.Server { function ExpectedContentHandler (line 95) | func ExpectedContentHandler(expectedFileName string, successCode int, su... function loadExpectedContent (line 118) | func loadExpectedContent(fileName string) (ResponseContent, error) { function writeResponse (line 130) | func writeResponse(w http.ResponseWriter, statusCode int, content Respon... FILE: server/forge/bitbucketdatacenter/internal/client.go constant currentUserID (line 28) | currentUserID = "%s/plugins/servlet/applinks/whoami" type Client (line 31) | type Client struct method FindCurrentUser (line 44) | func (c *Client) FindCurrentUser(ctx context.Context) (string, error) { function NewClientWithToken (line 36) | func NewClientWithToken(ctx context.Context, ts oauth2.TokenSource, url ... FILE: server/forge/bitbucketdatacenter/internal/client_test.go function TestCurrentUser (line 26) | func TestCurrentUser(t *testing.T) { type mockSource (line 42) | type mockSource method Token (line 44) | func (ds mockSource) Token() (*oauth2.Token, error) { FILE: server/forge/bitbucketdatacenter/parse.go type HookResult (line 27) | type HookResult struct function parseHook (line 34) | func parseHook(r *http.Request, baseURL string) (*HookResult, string, st... FILE: server/forge/bitbucketdatacenter/parse_test.go function Test_parseHook (line 29) | func Test_parseHook(t *testing.T) { FILE: server/forge/common/event_normalize.go function NormalizeEventReason (line 17) | func NormalizeEventReason(in string) string { FILE: server/forge/common/status.go function GetPipelineStatusContext (line 28) | func GetPipelineStatusContext(repo *model.Repo, pipeline *model.Pipeline... function GetPipelineStatusDescription (line 58) | func GetPipelineStatusDescription(status model.StatusValue) string { function GetPipelineStatusURL (line 79) | func GetPipelineStatusURL(repo *model.Repo, pipeline *model.Pipeline, wo... FILE: server/forge/common/status_test.go function TestGetPipelineStatusContext (line 26) | func TestGetPipelineStatusContext(t *testing.T) { FILE: server/forge/common/utils.go function ExtractHostFromCloneURL (line 30) | func ExtractHostFromCloneURL(cloneURL string) (string, error) { function UserToken (line 48) | func UserToken(ctx context.Context, r *model.Repo, u *model.User) string { function RepoUser (line 61) | func RepoUser(ctx context.Context, r *model.Repo) (*model.User, error) { function RepoUserForgeID (line 77) | func RepoUserForgeID(ctx context.Context, forgeID int64, remoteID model.... FILE: server/forge/common/utils_test.go function Test_Netrc (line 25) | func Test_Netrc(t *testing.T) { FILE: server/forge/forge.go type Forge (line 56) | type Forge interface FILE: server/forge/forgejo/fixtures/handler.go function Handler (line 25) | func Handler() http.Handler { function listRepoHooks (line 43) | func listRepoHooks(c *gin.Context) { function getRepo (line 52) | func getRepo(c *gin.Context) { function getRepoByID (line 61) | func getRepoByID(c *gin.Context) { function createRepoCommitStatus (line 70) | func createRepoCommitStatus(c *gin.Context) { function getRepoFile (line 77) | func getRepoFile(c *gin.Context) { function createRepoHook (line 90) | func createRepoHook(c *gin.Context) { function deleteRepoHook (line 109) | func deleteRepoHook(c *gin.Context) { function getUserRepos (line 113) | func getUserRepos(c *gin.Context) { function getVersion (line 127) | func getVersion(c *gin.Context) { function getPRFiles (line 131) | func getPRFiles(c *gin.Context) { constant listRepoHookPayloads (line 140) | listRepoHookPayloads = ` constant repoPayload (line 153) | repoPayload = ` constant repoFilePayload (line 173) | repoFilePayload = `{ platform: linux/amd64 }` constant userRepoPayload (line 175) | userRepoPayload = ` constant prFilesPayload (line 197) | prFilesPayload = ` FILE: server/forge/forgejo/forgejo.go constant authorizeTokenURL (line 42) | authorizeTokenURL = "%s/login/oauth/authorize" constant accessTokenURL (line 43) | accessTokenURL = "%s/login/oauth/access_token" constant defaultPageSize (line 44) | defaultPageSize = 50 constant forgejoDevVersion (line 45) | forgejoDevVersion = "v7.0.2" type Forgejo (line 48) | type Forgejo struct method Name (line 85) | func (c *Forgejo) Name() string { method URL (line 90) | func (c *Forgejo) URL() string { method oauth2Config (line 94) | func (c *Forgejo) oauth2Config(ctx context.Context) (*oauth2.Config, c... method Login (line 113) | func (c *Forgejo) Login(ctx context.Context, req *forge_types.OAuthReq... method Refresh (line 149) | func (c *Forgejo) Refresh(ctx context.Context, user *model.User) (bool... method Teams (line 171) | func (c *Forgejo) Teams(ctx context.Context, u *model.User, p *model.L... method TeamPerm (line 200) | func (c *Forgejo) TeamPerm(_ *model.User, _ string) (*model.Perm, erro... method Repo (line 205) | func (c *Forgejo) Repo(ctx context.Context, u *model.User, remoteID mo... method Repos (line 238) | func (c *Forgejo) Repos(ctx context.Context, u *model.User, p *model.L... method File (line 272) | func (c *Forgejo) File(ctx context.Context, u *model.User, r *model.Re... method Dir (line 285) | func (c *Forgejo) Dir(ctx context.Context, u *model.User, r *model.Rep... method Status (line 320) | func (c *Forgejo) Status(ctx context.Context, user *model.User, repo *... method Netrc (line 343) | func (c *Forgejo) Netrc(u *model.User, r *model.Repo) (*model.Netrc, e... method Activate (line 367) | func (c *Forgejo) Activate(ctx context.Context, u *model.User, r *mode... method Deactivate (line 401) | func (c *Forgejo) Deactivate(ctx context.Context, u *model.User, r *mo... method Branches (line 436) | func (c *Forgejo) Branches(ctx context.Context, u *model.User, r *mode... method BranchHead (line 456) | func (c *Forgejo) BranchHead(ctx context.Context, u *model.User, r *mo... method PullRequests (line 473) | func (c *Forgejo) PullRequests(ctx context.Context, u *model.User, r *... method Hook (line 500) | func (c *Forgejo) Hook(ctx context.Context, r *http.Request) (*model.R... method OrgMembership (line 531) | func (c *Forgejo) OrgMembership(ctx context.Context, u *model.User, ow... method Org (line 554) | func (c *Forgejo) Org(ctx context.Context, u *model.User, owner string... method newClientToken (line 583) | func (c *Forgejo) newClientToken(ctx context.Context, token string) (*... method getChangedFilesForPR (line 624) | func (c *Forgejo) getChangedFilesForPR(ctx context.Context, repo *mode... method getTagCommitSHA (line 663) | func (c *Forgejo) getTagCommitSHA(ctx context.Context, repo *model.Rep... method perPage (line 695) | func (c *Forgejo) perPage(ctx context.Context) int { type Opts (line 59) | type Opts struct function New (line 69) | func New(id int64, opts Opts) (forge.Forge, error) { function getStatus (line 603) | func getStatus(status model.StatusValue) forgejo.StatusState { FILE: server/forge/forgejo/forgejo_test.go function TestNew (line 33) | func TestNew(t *testing.T) { function Test_forgejo (line 44) | func Test_forgejo(t *testing.T) { FILE: server/forge/forgejo/helper.go function toRepo (line 32) | func toRepo(from *forgejo.Repository) *model.Repo { function toPerm (line 55) | func toPerm(from *forgejo.Permission) *model.Perm { function toTeam (line 64) | func toTeam(from *forgejo.Organization, link string) *model.Team { function pipelineFromPush (line 72) | func pipelineFromPush(hook *pushHook) *model.Pipeline { function getChangedFilesFromPushHook (line 106) | func getChangedFilesFromPushHook(hook *pushHook) []string { function pipelineFromTag (line 123) | func pipelineFromTag(hook *pushHook) *model.Pipeline { function pipelineFromPullRequest (line 145) | func pipelineFromPullRequest(hook *pullRequestHook) *model.Pipeline { function convertMilestone (line 193) | func convertMilestone(milestone *forgejo.Milestone) string { function pipelineFromRelease (line 200) | func pipelineFromRelease(hook *releaseHook) *model.Pipeline { function parsePush (line 221) | func parsePush(r io.Reader) (*pushHook, error) { function parsePullRequest (line 227) | func parsePullRequest(r io.Reader) (*pullRequestHook, error) { function parseRelease (line 233) | func parseRelease(r io.Reader) (*releaseHook, error) { function fixMalformedAvatar (line 241) | func fixMalformedAvatar(url string) string { function expandAvatar (line 255) | func expandAvatar(repo, rawURL string) string { function matchingHooks (line 276) | func matchingHooks(hooks []*forgejo.Hook, rawURL string) *forgejo.Hook { function convertLabels (line 292) | func convertLabels(from []*forgejo.Label) []string { FILE: server/forge/forgejo/helper_test.go function Test_parsePush (line 28) | func Test_parsePush(t *testing.T) { function Test_parsePullRequest (line 102) | func Test_parsePullRequest(t *testing.T) { function Test_toPerm (line 155) | func Test_toPerm(t *testing.T) { function Test_toTeam (line 181) | func Test_toTeam(t *testing.T) { function Test_toRepo (line 192) | func Test_toRepo(t *testing.T) { function Test_fixMalformedAvatar (line 217) | func Test_fixMalformedAvatar(t *testing.T) { function Test_expandAvatar (line 246) | func Test_expandAvatar(t *testing.T) { FILE: server/forge/forgejo/parse.go constant hookEvent (line 31) | hookEvent = "X-Forgejo-Event" constant hookPush (line 32) | hookPush = "push" constant hookCreated (line 33) | hookCreated = "create" constant hookPullRequest (line 34) | hookPullRequest = "pull_request" constant hookRelease (line 35) | hookRelease = "release" constant actionOpen (line 37) | actionOpen = "opened" constant actionSync (line 38) | actionSync = "synchronized" constant actionClose (line 39) | actionClose = "closed" constant actionEdited (line 40) | actionEdited = "edited" constant actionLabelUpdate (line 41) | actionLabelUpdate = "label_updated" constant actionLabelCleared (line 42) | actionLabelCleared = "label_cleared" constant actionMilestoned (line 43) | actionMilestoned = "milestoned" constant actionDeMilestoned (line 44) | actionDeMilestoned = "demilestoned" constant actionAssigned (line 45) | actionAssigned = "assigned" constant actionUnAssigned (line 46) | actionUnAssigned = "unassigned" constant actionReopen (line 47) | actionReopen = "reopened" constant refBranch (line 49) | refBranch = "branch" constant refTag (line 50) | refTag = "tag" function supportedAction (line 67) | func supportedAction(action string) bool { function parseHook (line 73) | func parseHook(r *http.Request) (*model.Repo, *model.Pipeline, error) { function parsePushHook (line 91) | func parsePushHook(payload io.Reader) (repo *model.Repo, pipeline *model... function parseCreatedHook (line 114) | func parseCreatedHook(payload io.Reader) (repo *model.Repo, pipeline *mo... function parsePullRequestHook (line 130) | func parsePullRequestHook(payload io.Reader) (*model.Repo, *model.Pipeli... function parseReleaseHook (line 166) | func parseReleaseHook(payload io.Reader) (*model.Repo, *model.Pipeline, ... FILE: server/forge/forgejo/parse_test.go function TestForgejoParser (line 29) | func TestForgejoParser(t *testing.T) { FILE: server/forge/forgejo/types.go type pushHook (line 19) | type pushHook struct type pullRequestHook (line 38) | type pullRequestHook struct type releaseHook (line 46) | type releaseHook struct FILE: server/forge/gitea/fixtures/handler.go function Handler (line 25) | func Handler() http.Handler { function listRepoHooks (line 43) | func listRepoHooks(c *gin.Context) { function getRepo (line 52) | func getRepo(c *gin.Context) { function getRepoByID (line 61) | func getRepoByID(c *gin.Context) { function createRepoCommitStatus (line 70) | func createRepoCommitStatus(c *gin.Context) { function getRepoFile (line 77) | func getRepoFile(c *gin.Context) { function createRepoHook (line 90) | func createRepoHook(c *gin.Context) { function deleteRepoHook (line 109) | func deleteRepoHook(c *gin.Context) { function getUserRepos (line 113) | func getUserRepos(c *gin.Context) { function getVersion (line 127) | func getVersion(c *gin.Context) { function getPRFiles (line 131) | func getPRFiles(c *gin.Context) { constant listRepoHookPayloads (line 140) | listRepoHookPayloads = ` constant repoPayload (line 153) | repoPayload = ` constant repoFilePayload (line 173) | repoFilePayload = `{ platform: linux/amd64 }` constant userRepoPayload (line 175) | userRepoPayload = ` constant prFilesPayload (line 197) | prFilesPayload = ` FILE: server/forge/gitea/gitea.go constant authorizeTokenURL (line 44) | authorizeTokenURL = "%s/login/oauth/authorize" constant accessTokenURL (line 45) | accessTokenURL = "%s/login/oauth/access_token" constant defaultPageSize (line 46) | defaultPageSize = 50 constant giteaDevVersion (line 47) | giteaDevVersion = "v1.21.0" type Gitea (line 50) | type Gitea struct method Name (line 83) | func (c *Gitea) Name() string { method URL (line 88) | func (c *Gitea) URL() string { method oauth2Config (line 92) | func (c *Gitea) oauth2Config(ctx context.Context) (*oauth2.Config, con... method Login (line 115) | func (c *Gitea) Login(ctx context.Context, req *forge_types.OAuthReque... method Refresh (line 151) | func (c *Gitea) Refresh(ctx context.Context, user *model.User) (bool, ... method Teams (line 173) | func (c *Gitea) Teams(ctx context.Context, u *model.User, p *model.Lis... method TeamPerm (line 202) | func (c *Gitea) TeamPerm(_ *model.User, _ string) (*model.Perm, error) { method Repo (line 207) | func (c *Gitea) Repo(ctx context.Context, u *model.User, remoteID mode... method Repos (line 240) | func (c *Gitea) Repos(ctx context.Context, u *model.User, p *model.Lis... method File (line 274) | func (c *Gitea) File(ctx context.Context, u *model.User, r *model.Repo... method Dir (line 287) | func (c *Gitea) Dir(ctx context.Context, u *model.User, r *model.Repo,... method Status (line 322) | func (c *Gitea) Status(ctx context.Context, user *model.User, repo *mo... method Netrc (line 345) | func (c *Gitea) Netrc(u *model.User, r *model.Repo) (*model.Netrc, err... method Activate (line 369) | func (c *Gitea) Activate(ctx context.Context, u *model.User, r *model.... method Deactivate (line 403) | func (c *Gitea) Deactivate(ctx context.Context, u *model.User, r *mode... method Branches (line 438) | func (c *Gitea) Branches(ctx context.Context, u *model.User, r *model.... method BranchHead (line 458) | func (c *Gitea) BranchHead(ctx context.Context, u *model.User, r *mode... method PullRequests (line 475) | func (c *Gitea) PullRequests(ctx context.Context, u *model.User, r *mo... method Hook (line 507) | func (c *Gitea) Hook(ctx context.Context, r *http.Request) (*model.Rep... method OrgMembership (line 538) | func (c *Gitea) OrgMembership(ctx context.Context, u *model.User, owne... method Org (line 561) | func (c *Gitea) Org(ctx context.Context, u *model.User, owner string) ... method newClientToken (line 590) | func (c *Gitea) newClientToken(ctx context.Context, token string) (*gi... method getChangedFilesForPR (line 631) | func (c *Gitea) getChangedFilesForPR(ctx context.Context, repo *model.... method getTagCommitSHA (line 670) | func (c *Gitea) getTagCommitSHA(ctx context.Context, repo *model.Repo,... method perPage (line 702) | func (c *Gitea) perPage(ctx context.Context) int { type Opts (line 61) | type Opts struct function New (line 71) | func New(id int64, opts Opts) (forge.Forge, error) { function getStatus (line 610) | func getStatus(status model.StatusValue) gitea.StatusState { FILE: server/forge/gitea/gitea_test.go function TestNew (line 34) | func TestNew(t *testing.T) { function Test_gitea (line 45) | func Test_gitea(t *testing.T) { FILE: server/forge/gitea/helper.go function toRepo (line 33) | func toRepo(from *gitea.Repository) *model.Repo { function toPerm (line 56) | func toPerm(from *gitea.Permission) *model.Perm { function toTeam (line 65) | func toTeam(from *gitea.Organization, link string) *model.Team { function pipelineFromPush (line 73) | func pipelineFromPush(hook *pushHook) *model.Pipeline { function getChangedFilesFromPushHook (line 107) | func getChangedFilesFromPushHook(hook *pushHook) []string { function pipelineFromTag (line 124) | func pipelineFromTag(hook *pushHook) *model.Pipeline { function pipelineFromPullRequest (line 146) | func pipelineFromPullRequest(hook *pullRequestHook) *model.Pipeline { function convertMilestone (line 194) | func convertMilestone(milestone *gitea.Milestone) string { function pipelineFromRelease (line 201) | func pipelineFromRelease(hook *releaseHook) *model.Pipeline { function parsePush (line 222) | func parsePush(r io.Reader) (*pushHook, error) { function parsePullRequest (line 228) | func parsePullRequest(r io.Reader) (*pullRequestHook, error) { function parseRelease (line 234) | func parseRelease(r io.Reader) (*releaseHook, error) { function fixMalformedAvatar (line 241) | func fixMalformedAvatar(url string) string { function expandAvatar (line 254) | func expandAvatar(repo, rawURL string) string { function matchingHooks (line 275) | func matchingHooks(hooks []*gitea.Hook, rawURL string) *gitea.Hook { function convertLabels (line 291) | func convertLabels(from []*gitea.Label) []string { FILE: server/forge/gitea/helper_test.go function Test_parsePush (line 29) | func Test_parsePush(t *testing.T) { function Test_parsePullRequest (line 103) | func Test_parsePullRequest(t *testing.T) { function Test_toPerm (line 156) | func Test_toPerm(t *testing.T) { function Test_toTeam (line 182) | func Test_toTeam(t *testing.T) { function Test_toRepo (line 193) | func Test_toRepo(t *testing.T) { function Test_fixMalformedAvatar (line 218) | func Test_fixMalformedAvatar(t *testing.T) { function Test_expandAvatar (line 247) | func Test_expandAvatar(t *testing.T) { FILE: server/forge/gitea/parse.go constant hookEvent (line 33) | hookEvent = "X-Gitea-Event" constant hookPush (line 34) | hookPush = "push" constant hookCreated (line 35) | hookCreated = "create" constant hookPullRequest (line 36) | hookPullRequest = "pull_request" constant hookRelease (line 37) | hookRelease = "release" constant actionOpen (line 39) | actionOpen = "opened" constant actionSync (line 40) | actionSync = "synchronized" constant actionClose (line 41) | actionClose = "closed" constant actionEdited (line 42) | actionEdited = "edited" constant actionLabelUpdate (line 43) | actionLabelUpdate = "label_updated" constant actionLabelCleared (line 44) | actionLabelCleared = "label_cleared" constant actionMilestoned (line 45) | actionMilestoned = "milestoned" constant actionDeMilestoned (line 46) | actionDeMilestoned = "demilestoned" constant actionAssigned (line 47) | actionAssigned = "assigned" constant actionUnAssigned (line 48) | actionUnAssigned = "unassigned" constant actionReopen (line 49) | actionReopen = "reopened" constant refBranch (line 51) | refBranch = "branch" constant refTag (line 52) | refTag = "tag" function supportedAction (line 69) | func supportedAction(action string) bool { function parseHook (line 75) | func parseHook(r *http.Request) (*model.Repo, *model.Pipeline, error) { function parsePushHook (line 93) | func parsePushHook(payload io.Reader) (repo *model.Repo, pipeline *model... function parseCreatedHook (line 116) | func parseCreatedHook(payload io.Reader) (repo *model.Repo, pipeline *mo... function parsePullRequestHook (line 132) | func parsePullRequestHook(payload io.Reader) (*model.Repo, *model.Pipeli... function parseReleaseHook (line 173) | func parseReleaseHook(payload io.Reader) (*model.Repo, *model.Pipeline, ... FILE: server/forge/gitea/parse_test.go function TestGiteaParser (line 30) | func TestGiteaParser(t *testing.T) { FILE: server/forge/gitea/types.go type pushHook (line 20) | type pushHook struct type pullRequestHook (line 39) | type pullRequestHook struct type releaseHook (line 47) | type releaseHook struct FILE: server/forge/github/convert.go constant statusPending (line 27) | statusPending = "pending" constant statusSuccess (line 28) | statusSuccess = "success" constant statusFailure (line 29) | statusFailure = "failure" constant statusError (line 30) | statusError = "error" constant descPending (line 34) | descPending = "this pipeline is pending" constant descSuccess (line 35) | descSuccess = "the pipeline was successful" constant descFailure (line 36) | descFailure = "the pipeline failed" constant descBlocked (line 37) | descBlocked = "the pipeline requires approval" constant descDeclined (line 38) | descDeclined = "the pipeline was rejected" constant descError (line 39) | descError = "oops, something went wrong" constant headRefs (line 43) | headRefs = "refs/pull/%d/head" constant mergeRefs (line 44) | mergeRefs = "refs/pull/%d/merge" constant refSpec (line 45) | refSpec = "%s:%s" function convertStatus (line 50) | func convertStatus(status model.StatusValue) string { function convertDesc (line 65) | func convertDesc(status model.StatusValue) string { function convertRepo (line 84) | func convertRepo(from *github.Repository) *model.Repo { function convertPerm (line 104) | func convertPerm(perm *github.RepositoryPermissions) *model.Perm { function convertRepoList (line 114) | func convertRepoList(from []*github.Repository) []*model.Repo { function convertTeamList (line 124) | func convertTeamList(from []*github.Organization) []*model.Team { function convertTeam (line 134) | func convertTeam(from *github.Organization) *model.Team { function convertRepoHook (line 143) | func convertRepoHook(eventRepo *github.PushEventRepository) *model.Repo { function convertLabels (line 164) | func convertLabels(from []*github.Label) []string { FILE: server/forge/github/convert_test.go function Test_convertStatus (line 27) | func Test_convertStatus(t *testing.T) { function Test_convertDesc (line 36) | func Test_convertDesc(t *testing.T) { function Test_convertRepoList (line 45) | func Test_convertRepoList(t *testing.T) { function Test_convertRepo (line 72) | func Test_convertRepo(t *testing.T) { function Test_convertPerm (line 102) | func Test_convertPerm(t *testing.T) { function Test_convertTeam (line 117) | func Test_convertTeam(t *testing.T) { function Test_convertTeamList (line 127) | func Test_convertTeamList(t *testing.T) { function Test_convertRepoHook (line 139) | func Test_convertRepoHook(t *testing.T) { FILE: server/forge/github/fixtures/handler.go function Handler (line 25) | func Handler() http.Handler { function getRepo (line 37) | func getRepo(c *gin.Context) { function getRepoByID (line 46) | func getRepoByID(c *gin.Context) { function getMembership (line 55) | func getMembership(c *gin.Context) { FILE: server/forge/github/fixtures/hooks.go constant HookPushDeleted (line 26) | HookPushDeleted = ` constant HookPullRequestInvalidAction (line 40) | HookPullRequestInvalidAction = ` constant HookPullRequestInvalidState (line 49) | HookPullRequestInvalidState = ` FILE: server/forge/github/github.go type contextKey (line 44) | type contextKey constant defaultURL (line 47) | defaultURL = "https://github.com" constant defaultAPI (line 48) | defaultAPI = "https://api.github.com/" constant defaultPageSize (line 49) | defaultPageSize = 100 constant githubClientKey (line 50) | githubClientKey contextKey = "github_client" type Opts (line 54) | type Opts struct function New (line 66) | func New(id int64, opts Opts) (forge.Forge, error) { type client (line 86) | type client struct method Name (line 99) | func (c *client) Name() string { method URL (line 104) | func (c *client) URL() string { method Login (line 109) | func (c *client) Login(ctx context.Context, req *forge_types.OAuthRequ... method Refresh (line 154) | func (c *client) Refresh(ctx context.Context, user *model.User) (bool,... method Teams (line 180) | func (c *client) Teams(ctx context.Context, u *model.User, p *model.Li... method Repo (line 194) | func (c *client) Repo(ctx context.Context, u *model.User, id model.For... method Repos (line 224) | func (c *client) Repos(ctx context.Context, u *model.User, p *model.Li... method File (line 254) | func (c *client) File(ctx context.Context, u *model.User, r *model.Rep... method Dir (line 273) | func (c *client) Dir(ctx context.Context, u *model.User, r *model.Repo... method PullRequests (line 323) | func (c *client) PullRequests(ctx context.Context, u *model.User, r *m... method Netrc (line 351) | func (c *client) Netrc(u *model.User, r *model.Repo) (*model.Netrc, er... method Deactivate (line 375) | func (c *client) Deactivate(ctx context.Context, u *model.User, r *mod... method OrgMembership (line 398) | func (c *client) OrgMembership(ctx context.Context, u *model.User, own... method Org (line 408) | func (c *client) Org(ctx context.Context, u *model.User, owner string)... method newContext (line 434) | func (c *client) newContext(ctx context.Context) context.Context { method newConfig (line 449) | func (c *client) newConfig() *oauth2.Config { method newClientToken (line 476) | func (c *client) newClientToken(ctx context.Context, token string) *gi... method Status (line 547) | func (c *client) Status(ctx context.Context, user *model.User, repo *m... method Activate (line 578) | func (c *client) Activate(ctx context.Context, u *model.User, r *model... method Branches (line 601) | func (c *client) Branches(ctx context.Context, u *model.User, r *model... method BranchHead (line 623) | func (c *client) BranchHead(ctx context.Context, u *model.User, r *mod... method Hook (line 637) | func (c *client) Hook(ctx context.Context, r *http.Request) (*model.Re... method loadChangedFilesFromPullRequest (line 668) | func (c *client) loadChangedFilesFromPullRequest(ctx context.Context, ... method getTagCommitSHA (line 711) | func (c *client) getTagCommitSHA(ctx context.Context, repo *model.Repo... method loadChangedFilesFromCommits (line 759) | func (c *client) loadChangedFilesFromCommits(ctx context.Context, tmpR... function matchingEmail (line 508) | func matchingEmail(emails []*github.UserEmail, rawURL string) *github.Us... function matchingHooks (line 526) | func matchingHooks(hooks []*github.Hook, rawURL string) *github.Hook { function perPage (line 826) | func perPage(custom int) int { FILE: server/forge/github/github_test.go function TestNew (line 36) | func TestNew(t *testing.T) { function Test_github (line 51) | func Test_github(t *testing.T) { function TestHook (line 121) | func TestHook(t *testing.T) { FILE: server/forge/github/parse.go constant hookField (line 33) | hookField = "payload" constant actionOpen (line 35) | actionOpen = "opened" constant actionReopen (line 36) | actionReopen = "reopened" constant actionClose (line 37) | actionClose = "closed" constant actionSync (line 38) | actionSync = "synchronize" constant actionReleased (line 39) | actionReleased = "released" constant actionAssigned (line 40) | actionAssigned = "assigned" constant actionConvertedToDraft (line 41) | actionConvertedToDraft = "converted_to_draft" constant actionDemilestoned (line 42) | actionDemilestoned = "demilestoned" constant actionEdited (line 43) | actionEdited = "edited" constant actionLabeled (line 44) | actionLabeled = "labeled" constant actionLocked (line 45) | actionLocked = "locked" constant actionMilestoned (line 46) | actionMilestoned = "milestoned" constant actionReadyForReview (line 47) | actionReadyForReview = "ready_for_review" constant actionUnassigned (line 48) | actionUnassigned = "unassigned" constant actionUnlabeled (line 49) | actionUnlabeled = "unlabeled" constant actionUnlocked (line 50) | actionUnlocked = "unlocked" constant labelCleared (line 52) | labelCleared = "label_cleared" constant labelUpdated (line 53) | labelUpdated = "label_updated" function parseHook (line 58) | func parseHook(r *http.Request, merge bool) (_ *github.PullRequest, _ *m... function parsePushHook (line 95) | func parsePushHook(hook *github.PushEvent) (_ *model.Repo, _ *model.Pipe... function parseDeployHook (line 134) | func parseDeployHook(hook *github.DeploymentEvent) (*model.Repo, *model.... function parsePullHook (line 163) | func parsePullHook(hook *github.PullRequestEvent, merge bool) (*github.P... function parseReleaseHook (line 233) | func parseReleaseHook(hook *github.ReleaseEvent) (*model.Repo, *model.Pi... FILE: server/forge/github/parse_test.go constant hookEvent (line 33) | hookEvent = "X-GitHub-Event" constant hookDeploy (line 34) | hookDeploy = "deployment" constant hookPush (line 35) | hookPush = "push" constant hookPull (line 36) | hookPull = "pull_request" constant hookRelease (line 37) | hookRelease = "release" function testHookRequest (line 40) | func testHookRequest(payload []byte, event string) *http.Request { function Test_parseHook (line 48) | func Test_parseHook(t *testing.T) { FILE: server/forge/gitlab/convert.go constant mergeRefs (line 33) | mergeRefs = "refs/merge-requests/%d/head" constant visibilityLevelPrivate (line 37) | visibilityLevelPrivate = 0 constant visibilityLevelInternal (line 38) | visibilityLevelInternal = 10 constant visibilityLevelPublic (line 39) | visibilityLevelPublic = 20 constant stateOpened (line 41) | stateOpened = "opened" constant actionOpen (line 43) | actionOpen = "open" constant actionClose (line 44) | actionClose = "close" constant actionReopen (line 45) | actionReopen = "reopen" constant actionMerge (line 46) | actionMerge = "merge" constant actionUpdate (line 47) | actionUpdate = "update" constant metadataReasonAssigned (line 49) | metadataReasonAssigned = "assigned" constant metadataReasonUnassigned (line 50) | metadataReasonUnassigned = "unassigned" constant metadataReasonMilestoned (line 51) | metadataReasonMilestoned = "milestoned" constant metadataReasonDemilestoned (line 52) | metadataReasonDemilestoned = "demilestoned" constant metadataReasonTitleEdited (line 53) | metadataReasonTitleEdited = "title_edited" constant metadataReasonDescriptionEdited (line 54) | metadataReasonDescriptionEdited = "description_edited" constant metadataReasonLabelsAdded (line 55) | metadataReasonLabelsAdded = "labels_added" constant metadataReasonLabelsCleared (line 56) | metadataReasonLabelsCleared = "labels_cleared" constant metadataReasonLabelsUpdated (line 57) | metadataReasonLabelsUpdated = "labels_updated" constant metadataReasonReviewRequested (line 58) | metadataReasonReviewRequested = "review_requested" method convertGitLabRepo (line 61) | func (g *GitLab) convertGitLabRepo(_repo *gitlab.Project, projectMember ... function convertMergeRequestHook (line 92) | func convertMergeRequestHook(hook *gitlab.MergeEvent, req *http.Request)... function convertPushHook (line 242) | func convertPushHook(hook *gitlab.PushEvent) (*model.Repo, *model.Pipeli... function convertTagHook (line 304) | func convertTagHook(hook *gitlab.TagEvent) (*model.Repo, *model.Pipeline... function convertReleaseHook (line 357) | func convertReleaseHook(hook *gitlab.ReleaseEvent) (*model.Repo, *model.... function getUserAvatar (line 411) | func getUserAvatar(email string) string { function extractFromPath (line 425) | func extractFromPath(str string) (string, string, error) { function convertLabels (line 437) | func convertLabels(from []*gitlab.EventLabel) []string { FILE: server/forge/gitlab/fixtures/testdata.go function NewServer (line 24) | func NewServer(t *testing.T) *httptest.Server { FILE: server/forge/gitlab/gitlab.go constant defaultScope (line 44) | defaultScope = "api" constant defaultPerPage (line 45) | defaultPerPage = 100 type Opts (line 49) | type Opts struct type GitLab (line 58) | type GitLab struct method Name (line 84) | func (g *GitLab) Name() string { method URL (line 89) | func (g *GitLab) URL() string { method oauth2Config (line 93) | func (g *GitLab) oauth2Config(ctx context.Context) (*oauth2.Config, co... method Login (line 118) | func (g *GitLab) Login(ctx context.Context, req *forge_types.OAuthRequ... method Refresh (line 160) | func (g *GitLab) Refresh(ctx context.Context, user *model.User) (bool,... method Teams (line 182) | func (g *GitLab) Teams(ctx context.Context, user *model.User, p *model... method getProject (line 215) | func (g *GitLab) getProject(ctx context.Context, client *gitlab.Client... method getInheritedProjectMember (line 240) | func (g *GitLab) getInheritedProjectMember(ctx context.Context, client... method Repo (line 255) | func (g *GitLab) Repo(ctx context.Context, user *model.User, remoteID ... method Repos (line 280) | func (g *GitLab) Repos(ctx context.Context, user *model.User, p *model... method PullRequests (line 327) | func (g *GitLab) PullRequests(ctx context.Context, u *model.User, r *m... method File (line 359) | func (g *GitLab) File(ctx context.Context, user *model.User, repo *mod... method Dir (line 376) | func (g *GitLab) Dir(ctx context.Context, user *model.User, repo *mode... method Status (line 428) | func (g *GitLab) Status(ctx context.Context, user *model.User, repo *m... method Netrc (line 452) | func (g *GitLab) Netrc(u *model.User, r *model.Repo) (*model.Netrc, er... method getTokenAndWebURL (line 474) | func (g *GitLab) getTokenAndWebURL(link string) (token, webURL string,... method Activate (line 486) | func (g *GitLab) Activate(ctx context.Context, user *model.User, repo ... method Deactivate (line 521) | func (g *GitLab) Deactivate(ctx context.Context, user *model.User, rep... method Branches (line 571) | func (g *GitLab) Branches(ctx context.Context, user *model.User, repo ... method BranchHead (line 598) | func (g *GitLab) BranchHead(ctx context.Context, u *model.User, r *mod... method Hook (line 623) | func (g *GitLab) Hook(ctx context.Context, req *http.Request) (*model.... method OrgMembership (line 671) | func (g *GitLab) OrgMembership(ctx context.Context, u *model.User, own... method Org (line 725) | func (g *GitLab) Org(ctx context.Context, u *model.User, owner string)... method loadMetadataFromMergeRequest (line 775) | func (g *GitLab) loadMetadataFromMergeRequest(ctx context.Context, tmp... method loadCommitFromSHA (line 826) | func (g *GitLab) loadCommitFromSHA(ctx context.Context, tmpRepo *model... function New (line 71) | func New(id int64, opts Opts) (forge.Forge, error) { FILE: server/forge/gitlab/gitlab_test.go function load (line 32) | func load(config string) *GitLab { function Test_GitLab (line 50) | func Test_GitLab(t *testing.T) { function TestExtractFromPath (line 546) | func TestExtractFromPath(t *testing.T) { FILE: server/forge/gitlab/helper.go constant gravatarBase (line 29) | gravatarBase = "https://www.gravatar.com/avatar" function newClient (line 34) | func newClient(url, accessToken string, skipVerify bool) (*gitlab.Client... function isRead (line 49) | func isRead(proj *gitlab.Project, projectMember *gitlab.ProjectMember) b... function isWrite (line 55) | func isWrite(projectMember *gitlab.ProjectMember) bool { function isAdmin (line 61) | func isAdmin(projectMember *gitlab.ProjectMember) bool { FILE: server/forge/gitlab/status.go function getStatus (line 24) | func getStatus(status model.StatusValue) gitlab.BuildStateValue { FILE: server/forge/mocks/mock_Forge.go function NewMockForge (line 18) | func NewMockForge(t interface { type MockForge (line 31) | type MockForge struct method EXPECT (line 39) | func (_m *MockForge) EXPECT() *MockForge_Expecter { method Activate (line 44) | func (_mock *MockForge) Activate(ctx context.Context, u *model.User, r... method BranchHead (line 113) | func (_mock *MockForge) BranchHead(ctx context.Context, u *model.User,... method Branches (line 193) | func (_mock *MockForge) Branches(ctx context.Context, u *model.User, r... method Deactivate (line 273) | func (_mock *MockForge) Deactivate(ctx context.Context, u *model.User,... method Dir (line 342) | func (_mock *MockForge) Dir(ctx context.Context, u *model.User, r *mod... method File (line 428) | func (_mock *MockForge) File(ctx context.Context, u *model.User, r *mo... method Hook (line 514) | func (_mock *MockForge) Hook(ctx context.Context, r *http.Request) (*m... method Login (line 590) | func (_mock *MockForge) Login(ctx context.Context, r *types.OAuthReque... method Name (line 664) | func (_mock *MockForge) Name() string { method Netrc (line 708) | func (_mock *MockForge) Netrc(u *model.User, r *model.Repo) (*model.Ne... method Org (line 776) | func (_mock *MockForge) Org(ctx context.Context, u *model.User, org st... method OrgMembership (line 850) | func (_mock *MockForge) OrgMembership(ctx context.Context, u *model.Us... method PullRequests (line 924) | func (_mock *MockForge) PullRequests(ctx context.Context, u *model.Use... method Repo (line 1004) | func (_mock *MockForge) Repo(ctx context.Context, u *model.User, remot... method Repos (line 1090) | func (_mock *MockForge) Repos(ctx context.Context, u *model.User, p *m... method Status (line 1164) | func (_mock *MockForge) Status(ctx context.Context, u *model.User, r *... method Teams (line 1239) | func (_mock *MockForge) Teams(ctx context.Context, u *model.User, p *m... method URL (line 1313) | func (_mock *MockForge) URL() string { type MockForge_Expecter (line 35) | type MockForge_Expecter struct method Activate (line 70) | func (_e *MockForge_Expecter) Activate(ctx interface{}, u interface{},... method BranchHead (line 150) | func (_e *MockForge_Expecter) BranchHead(ctx interface{}, u interface{... method Branches (line 230) | func (_e *MockForge_Expecter) Branches(ctx interface{}, u interface{},... method Deactivate (line 299) | func (_e *MockForge_Expecter) Deactivate(ctx interface{}, u interface{... method Dir (line 380) | func (_e *MockForge_Expecter) Dir(ctx interface{}, u interface{}, r in... method File (line 466) | func (_e *MockForge_Expecter) File(ctx interface{}, u interface{}, r i... method Hook (line 557) | func (_e *MockForge_Expecter) Hook(ctx interface{}, r interface{}) *Mo... method Login (line 631) | func (_e *MockForge_Expecter) Login(ctx interface{}, r interface{}) *M... method Name (line 686) | func (_e *MockForge_Expecter) Name() *MockForge_Name_Call { method Netrc (line 743) | func (_e *MockForge_Expecter) Netrc(u interface{}, r interface{}) *Moc... method Org (line 812) | func (_e *MockForge_Expecter) Org(ctx interface{}, u interface{}, org ... method OrgMembership (line 886) | func (_e *MockForge_Expecter) OrgMembership(ctx interface{}, u interfa... method PullRequests (line 961) | func (_e *MockForge_Expecter) PullRequests(ctx interface{}, u interfac... method Repo (line 1042) | func (_e *MockForge_Expecter) Repo(ctx interface{}, u interface{}, rem... method Repos (line 1126) | func (_e *MockForge_Expecter) Repos(ctx interface{}, u interface{}, p ... method Status (line 1191) | func (_e *MockForge_Expecter) Status(ctx interface{}, u interface{}, r... method Teams (line 1275) | func (_e *MockForge_Expecter) Teams(ctx interface{}, u interface{}, p ... method URL (line 1335) | func (_e *MockForge_Expecter) URL() *MockForge_URL_Call { type MockForge_Activate_Call (line 61) | type MockForge_Activate_Call struct method Run (line 74) | func (_c *MockForge_Activate_Call) Run(run func(ctx context.Context, u... method Return (line 102) | func (_c *MockForge_Activate_Call) Return(err error) *MockForge_Activa... method RunAndReturn (line 107) | func (_c *MockForge_Activate_Call) RunAndReturn(run func(ctx context.C... type MockForge_BranchHead_Call (line 141) | type MockForge_BranchHead_Call struct method Run (line 154) | func (_c *MockForge_BranchHead_Call) Run(run func(ctx context.Context,... method Return (line 182) | func (_c *MockForge_BranchHead_Call) Return(commit *model.Commit, err ... method RunAndReturn (line 187) | func (_c *MockForge_BranchHead_Call) RunAndReturn(run func(ctx context... type MockForge_Branches_Call (line 221) | type MockForge_Branches_Call struct method Run (line 234) | func (_c *MockForge_Branches_Call) Run(run func(ctx context.Context, u... method Return (line 262) | func (_c *MockForge_Branches_Call) Return(strings []string, err error)... method RunAndReturn (line 267) | func (_c *MockForge_Branches_Call) RunAndReturn(run func(ctx context.C... type MockForge_Deactivate_Call (line 290) | type MockForge_Deactivate_Call struct method Run (line 303) | func (_c *MockForge_Deactivate_Call) Run(run func(ctx context.Context,... method Return (line 331) | func (_c *MockForge_Deactivate_Call) Return(err error) *MockForge_Deac... method RunAndReturn (line 336) | func (_c *MockForge_Deactivate_Call) RunAndReturn(run func(ctx context... type MockForge_Dir_Call (line 370) | type MockForge_Dir_Call struct method Run (line 384) | func (_c *MockForge_Dir_Call) Run(run func(ctx context.Context, u *mod... method Return (line 417) | func (_c *MockForge_Dir_Call) Return(fileMetas []*types.FileMeta, err ... method RunAndReturn (line 422) | func (_c *MockForge_Dir_Call) RunAndReturn(run func(ctx context.Contex... type MockForge_File_Call (line 456) | type MockForge_File_Call struct method Run (line 470) | func (_c *MockForge_File_Call) Run(run func(ctx context.Context, u *mo... method Return (line 503) | func (_c *MockForge_File_Call) Return(bytes []byte, err error) *MockFo... method RunAndReturn (line 508) | func (_c *MockForge_File_Call) RunAndReturn(run func(ctx context.Conte... type MockForge_Hook_Call (line 550) | type MockForge_Hook_Call struct method Run (line 561) | func (_c *MockForge_Hook_Call) Run(run func(ctx context.Context, r *ht... method Return (line 579) | func (_c *MockForge_Hook_Call) Return(repo *model.Repo, pipeline *mode... method RunAndReturn (line 584) | func (_c *MockForge_Hook_Call) RunAndReturn(run func(ctx context.Conte... type MockForge_Login_Call (line 624) | type MockForge_Login_Call struct method Run (line 635) | func (_c *MockForge_Login_Call) Run(run func(ctx context.Context, r *t... method Return (line 653) | func (_c *MockForge_Login_Call) Return(user *model.User, s string, err... method RunAndReturn (line 658) | func (_c *MockForge_Login_Call) RunAndReturn(run func(ctx context.Cont... type MockForge_Name_Call (line 681) | type MockForge_Name_Call struct method Run (line 690) | func (_c *MockForge_Name_Call) Run(run func()) *MockForge_Name_Call { method Return (line 697) | func (_c *MockForge_Name_Call) Return(s string) *MockForge_Name_Call { method RunAndReturn (line 702) | func (_c *MockForge_Name_Call) RunAndReturn(run func() string) *MockFo... type MockForge_Netrc_Call (line 736) | type MockForge_Netrc_Call struct method Run (line 747) | func (_c *MockForge_Netrc_Call) Run(run func(u *model.User, r *model.R... method Return (line 765) | func (_c *MockForge_Netrc_Call) Return(netrc *model.Netrc, err error) ... method RunAndReturn (line 770) | func (_c *MockForge_Netrc_Call) RunAndReturn(run func(u *model.User, r... type MockForge_Org_Call (line 804) | type MockForge_Org_Call struct method Run (line 816) | func (_c *MockForge_Org_Call) Run(run func(ctx context.Context, u *mod... method Return (line 839) | func (_c *MockForge_Org_Call) Return(org1 *model.Org, err error) *Mock... method RunAndReturn (line 844) | func (_c *MockForge_Org_Call) RunAndReturn(run func(ctx context.Contex... type MockForge_OrgMembership_Call (line 878) | type MockForge_OrgMembership_Call struct method Run (line 890) | func (_c *MockForge_OrgMembership_Call) Run(run func(ctx context.Conte... method Return (line 913) | func (_c *MockForge_OrgMembership_Call) Return(orgPerm *model.OrgPerm,... method RunAndReturn (line 918) | func (_c *MockForge_OrgMembership_Call) RunAndReturn(run func(ctx cont... type MockForge_PullRequests_Call (line 952) | type MockForge_PullRequests_Call struct method Run (line 965) | func (_c *MockForge_PullRequests_Call) Run(run func(ctx context.Contex... method Return (line 993) | func (_c *MockForge_PullRequests_Call) Return(pullRequests []*model.Pu... method RunAndReturn (line 998) | func (_c *MockForge_PullRequests_Call) RunAndReturn(run func(ctx conte... type MockForge_Repo_Call (line 1032) | type MockForge_Repo_Call struct method Run (line 1046) | func (_c *MockForge_Repo_Call) Run(run func(ctx context.Context, u *mo... method Return (line 1079) | func (_c *MockForge_Repo_Call) Return(repo *model.Repo, err error) *Mo... method RunAndReturn (line 1084) | func (_c *MockForge_Repo_Call) RunAndReturn(run func(ctx context.Conte... type MockForge_Repos_Call (line 1118) | type MockForge_Repos_Call struct method Run (line 1130) | func (_c *MockForge_Repos_Call) Run(run func(ctx context.Context, u *m... method Return (line 1153) | func (_c *MockForge_Repos_Call) Return(repos []*model.Repo, err error)... method RunAndReturn (line 1158) | func (_c *MockForge_Repos_Call) RunAndReturn(run func(ctx context.Cont... type MockForge_Status_Call (line 1181) | type MockForge_Status_Call struct method Run (line 1195) | func (_c *MockForge_Status_Call) Run(run func(ctx context.Context, u *... method Return (line 1228) | func (_c *MockForge_Status_Call) Return(err error) *MockForge_Status_C... method RunAndReturn (line 1233) | func (_c *MockForge_Status_Call) RunAndReturn(run func(ctx context.Con... type MockForge_Teams_Call (line 1267) | type MockForge_Teams_Call struct method Run (line 1279) | func (_c *MockForge_Teams_Call) Run(run func(ctx context.Context, u *m... method Return (line 1302) | func (_c *MockForge_Teams_Call) Return(teams []*model.Team, err error)... method RunAndReturn (line 1307) | func (_c *MockForge_Teams_Call) RunAndReturn(run func(ctx context.Cont... type MockForge_URL_Call (line 1330) | type MockForge_URL_Call struct method Run (line 1339) | func (_c *MockForge_URL_Call) Run(run func()) *MockForge_URL_Call { method Return (line 1346) | func (_c *MockForge_URL_Call) Return(s string) *MockForge_URL_Call { method RunAndReturn (line 1351) | func (_c *MockForge_URL_Call) RunAndReturn(run func() string) *MockFor... FILE: server/forge/mocks/mock_Refresher.go function NewMockRefresher (line 16) | func NewMockRefresher(t interface { type MockRefresher (line 29) | type MockRefresher struct method EXPECT (line 37) | func (_m *MockRefresher) EXPECT() *MockRefresher_Expecter { method Refresh (line 42) | func (_mock *MockRefresher) Refresh(ctx context.Context, u *model.User... type MockRefresher_Expecter (line 33) | type MockRefresher_Expecter struct method Refresh (line 75) | func (_e *MockRefresher_Expecter) Refresh(ctx interface{}, u interface... type MockRefresher_Refresh_Call (line 68) | type MockRefresher_Refresh_Call struct method Run (line 79) | func (_c *MockRefresher_Refresh_Call) Run(run func(ctx context.Context... method Return (line 97) | func (_c *MockRefresher_Refresh_Call) Return(b bool, err error) *MockR... method RunAndReturn (line 102) | func (_c *MockRefresher_Refresh_Call) RunAndReturn(run func(ctx contex... FILE: server/forge/refresh.go type Refresher (line 35) | type Refresher interface type refreshResult (line 52) | type refreshResult struct function Refresh (line 58) | func Refresh(ctx context.Context, forge Forge, _store store.Store, user ... FILE: server/forge/refresh_test.go type refresherForge (line 36) | type refresherForge struct function expiredUser (line 41) | func expiredUser(id int64) *model.User { function freshUser (line 51) | func freshUser(id int64) *model.User { function TestRefresh_NonExpiredToken (line 61) | func TestRefresh_NonExpiredToken(t *testing.T) { function TestRefresh_ExpiredToken (line 75) | func TestRefresh_ExpiredToken(t *testing.T) { function TestRefresh_ExpiredTokenNoUpdate (line 102) | func TestRefresh_ExpiredTokenNoUpdate(t *testing.T) { function TestRefresh_ConcurrentRefreshSerialized (line 120) | func TestRefresh_ConcurrentRefreshSerialized(t *testing.T) { function TestRefresh_ConcurrentRefreshError (line 170) | func TestRefresh_ConcurrentRefreshError(t *testing.T) { function TestRefresh_NonRefresherForge (line 207) | func TestRefresh_NonRefresherForge(t *testing.T) { FILE: server/forge/setup/setup.go function Forge (line 35) | func Forge(forge *model.Forge) (forge.Forge, error) { function setupBitbucket (line 56) | func setupBitbucket(forge *model.Forge) (forge.Forge, error) { function setupGitea (line 70) | func setupGitea(forge *model.Forge) (forge.Forge, error) { function setupForgejo (line 97) | func setupForgejo(forge *model.Forge) (forge.Forge, error) { function setupGitLab (line 124) | func setupGitLab(forge *model.Forge) (forge.Forge, error) { function setupGitHub (line 143) | func setupGitHub(forge *model.Forge) (forge.Forge, error) { function setupBitbucketDatacenter (line 170) | func setupBitbucketDatacenter(forge *model.Forge) (forge.Forge, error) { function setupAddon (line 205) | func setupAddon(forge *model.Forge) (forge.Forge, error) { FILE: server/forge/types/errors.go type ErrIgnoreEvent (line 29) | type ErrIgnoreEvent struct method Error (line 34) | func (err *ErrIgnoreEvent) Error() string { method Is (line 41) | func (*ErrIgnoreEvent) Is(target error) bool { type ErrConfigNotFound (line 46) | type ErrConfigNotFound struct method Error (line 50) | func (m *ErrConfigNotFound) Error() string { method Is (line 54) | func (*ErrConfigNotFound) Is(target error) bool { FILE: server/forge/types/meta.go type FileMeta (line 20) | type FileMeta struct type fileMetaList (line 25) | type fileMetaList method Len (line 27) | func (a fileMetaList) Len() int { return len(a) } method Less (line 28) | func (a fileMetaList) Less(i, j int) bool { return a[i].Name < a[j].Na... method Swap (line 29) | func (a fileMetaList) Swap(i, j int) { a[i], a[j] = a[j], a[i] } function SortByName (line 31) | func SortByName(fm []*FileMeta) []*FileMeta { FILE: server/forge/types/meta_test.go function TestSortByName (line 23) | func TestSortByName(t *testing.T) { FILE: server/forge/types/oauth.go type OAuthRequest (line 17) | type OAuthRequest struct FILE: server/logging/log.go type subscriber (line 42) | type subscriber struct type stream (line 46) | type stream struct type logger (line 55) | type logger struct method Open (line 68) | func (l *logger) Open(_ context.Context, stepID int64) error { method open (line 75) | func (l *logger) open(stepID int64) { method Write (line 86) | func (l *logger) Write(ctx context.Context, stepID int64, entries []*m... method Tail (line 111) | func (l *logger) Tail(c context.Context, stepID int64, receiver LogCha... method Close (line 140) | func (l *logger) Close(_ context.Context, stepID int64) error { function New (line 62) | func New() Log { FILE: server/logging/log_test.go function TestLogging (line 28) | func TestLogging(t *testing.T) { FILE: server/logging/logging.go type LogChan (line 28) | type LogChan type Log (line 31) | type Log interface FILE: server/model/agent.go type Agent (line 26) | type Agent struct method TableName (line 50) | func (Agent) TableName() string { method IsSystemAgent (line 54) | func (a *Agent) IsSystemAgent() bool { method GetServerLabels (line 63) | func (a *Agent) GetServerLabels() (map[string]string, error) { method CanAccessRepo (line 76) | func (a *Agent) CanAccessRepo(repo *Repo) bool { constant IDNotSet (line 46) | IDNotSet = -1 function GenerateNewAgentToken (line 59) | func GenerateNewAgentToken() string { FILE: server/model/agent_test.go function TestGenerateNewAgentToken (line 25) | func TestGenerateNewAgentToken(t *testing.T) { function TestAgent_GetServerLabels (line 35) | func TestAgent_GetServerLabels(t *testing.T) { function TestAgent_CanAccessRepo (line 68) | func TestAgent_CanAccessRepo(t *testing.T) { FILE: server/model/commit.go type Commit (line 17) | type Commit struct FILE: server/model/config.go type Config (line 19) | type Config struct method TableName (line 27) | func (Config) TableName() string { type PipelineConfig (line 32) | type PipelineConfig struct method TableName (line 37) | func (PipelineConfig) TableName() string { FILE: server/model/const.go type WebhookEvent (line 23) | type WebhookEvent method Validate (line 45) | func (s WebhookEvent) Validate() error { constant EventPush (line 26) | EventPush WebhookEvent = "push" constant EventPull (line 27) | EventPull WebhookEvent = "pull_request" constant EventPullClosed (line 28) | EventPullClosed WebhookEvent = "pull_request_closed" constant EventPullMetadata (line 29) | EventPullMetadata WebhookEvent = "pull_request_metadata" constant EventTag (line 30) | EventTag WebhookEvent = "tag" constant EventRelease (line 31) | EventRelease WebhookEvent = "release" constant EventDeploy (line 32) | EventDeploy WebhookEvent = "deployment" constant EventCron (line 33) | EventCron WebhookEvent = "cron" constant EventManual (line 34) | EventManual WebhookEvent = "manual" type WebhookEventList (line 37) | type WebhookEventList method Len (line 39) | func (wel WebhookEventList) Len() int { return len(wel) } method Swap (line 40) | func (wel WebhookEventList) Swap(i, j int) { wel[i], wel[j] = wel... method Less (line 41) | func (wel WebhookEventList) Less(i, j int) bool { return wel[i] < wel[... type StatusValue (line 55) | type StatusValue method Validate (line 73) | func (s StatusValue) Validate() error { constant StatusSkipped (line 58) | StatusSkipped StatusValue = "skipped" constant StatusPending (line 59) | StatusPending StatusValue = "pending" constant StatusRunning (line 60) | StatusRunning StatusValue = "running" constant StatusSuccess (line 61) | StatusSuccess StatusValue = "success" constant StatusFailure (line 62) | StatusFailure StatusValue = "failure" constant StatusKilled (line 63) | StatusKilled StatusValue = "killed" constant StatusCanceled (line 64) | StatusCanceled StatusValue = "canceled" constant StatusError (line 65) | StatusError StatusValue = "error" constant StatusBlocked (line 66) | StatusBlocked StatusValue = "blocked" constant StatusDeclined (line 67) | StatusDeclined StatusValue = "declined" constant StatusCreated (line 68) | StatusCreated StatusValue = "created" type RepoVisibility (line 83) | type RepoVisibility constant VisibilityPublic (line 86) | VisibilityPublic RepoVisibility = "public" constant VisibilityPrivate (line 87) | VisibilityPrivate RepoVisibility = "private" constant VisibilityInternal (line 88) | VisibilityInternal RepoVisibility = "internal" FILE: server/model/cron.go type Cron (line 23) | type Cron struct method TableName (line 37) | func (Cron) TableName() string { method Validate (line 42) | func (c *Cron) Validate() error { type CronPatch (line 64) | type CronPatch struct FILE: server/model/environ.go type Environ (line 28) | type Environ struct method Validate (line 34) | func (e *Environ) Validate() error { method Copy (line 46) | func (e *Environ) Copy() *Environ { FILE: server/model/event.go type EventType (line 19) | type EventType type Event (line 22) | type Event struct FILE: server/model/feed.go type Feed (line 19) | type Feed struct FILE: server/model/forge.go type ForgeType (line 17) | type ForgeType constant ForgeTypeGithub (line 20) | ForgeTypeGithub ForgeType = "github" constant ForgeTypeGitlab (line 21) | ForgeTypeGitlab ForgeType = "gitlab" constant ForgeTypeGitea (line 22) | ForgeTypeGitea ForgeType = "gitea" constant ForgeTypeForgejo (line 23) | ForgeTypeForgejo ForgeType = "forgejo" constant ForgeTypeBitbucket (line 24) | ForgeTypeBitbucket ForgeType = "bitbucket" constant ForgeTypeBitbucketDatacenter (line 25) | ForgeTypeBitbucketDatacenter ForgeType = "bitbucket-dc" constant ForgeTypeAddon (line 26) | ForgeTypeAddon ForgeType = "addon" type Forge (line 29) | type Forge struct method TableName (line 41) | func (Forge) TableName() string { method PublicCopy (line 46) | func (f *Forge) PublicCopy() *Forge { type ForgeWithOAuthClientSecret (line 57) | type ForgeWithOAuthClientSecret struct FILE: server/model/log.go type LogEntryType (line 18) | type LogEntryType constant LogEntryStdout (line 21) | LogEntryStdout LogEntryType = iota constant LogEntryStderr (line 22) | LogEntryStderr constant LogEntryExitCode (line 23) | LogEntryExitCode constant LogEntryMetadata (line 24) | LogEntryMetadata constant LogEntryProgress (line 25) | LogEntryProgress type LogEntry (line 28) | type LogEntry struct method TableName (line 40) | func (LogEntry) TableName() string { FILE: server/model/netrc.go type Netrc (line 17) | type Netrc struct FILE: server/model/org.go type Org (line 18) | type Org struct method TableName (line 28) | func (Org) TableName() string { FILE: server/model/pagination.go type ListOptions (line 22) | type ListOptions struct method Encode (line 41) | func (d *ListOptions) Encode() string { function ApplyPagination (line 28) | func ApplyPagination[T any](d *ListOptions, slice []T) []T { FILE: server/model/pagination_test.go function TestApplyPagination (line 23) | func TestApplyPagination(t *testing.T) { FILE: server/model/perm.go type Perm (line 19) | type Perm struct method TableName (line 31) | func (Perm) TableName() string { type OrgPerm (line 36) | type OrgPerm struct FILE: server/model/pipeline.go type Pipeline (line 23) | type Pipeline struct method TableName (line 70) | func (Pipeline) TableName() string { method ToAPIModel (line 74) | func (p *Pipeline) ToAPIModel() *APIPipeline { method IsMultiPipeline (line 98) | func (p Pipeline) IsMultiPipeline() bool { method IsPullRequest (line 103) | func (p Pipeline) IsPullRequest() bool { type APIPipeline (line 65) | type APIPipeline struct type PipelineFilter (line 88) | type PipelineFilter struct type PipelineOptions (line 107) | type PipelineOptions struct type CancelInfo (line 112) | type CancelInfo struct FILE: server/model/pull_request.go type PullRequest (line 17) | type PullRequest struct FILE: server/model/queue.go type QueueTask (line 18) | type QueueTask struct type QueueInfo (line 25) | type QueueInfo struct FILE: server/model/redirection.go type Redirection (line 17) | type Redirection struct method TableName (line 23) | func (r Redirection) TableName() string { FILE: server/model/registry.go type Registry (line 30) | type Registry struct method TableName (line 40) | func (r Registry) TableName() string { method IsGlobal (line 45) | func (r Registry) IsGlobal() bool { method IsOrganization (line 50) | func (r Registry) IsOrganization() bool { method IsRepository (line 55) | func (r Registry) IsRepository() bool { method Validate (line 60) | func (r *Registry) Validate() error { method Copy (line 75) | func (r *Registry) Copy() *Registry { FILE: server/model/repo.go type ApprovalMode (line 23) | type ApprovalMode method Valid (line 32) | func (mode ApprovalMode) Valid() bool { constant RequireApprovalNone (line 26) | RequireApprovalNone ApprovalMode = "none" constant RequireApprovalForks (line 27) | RequireApprovalForks ApprovalMode = "forks" constant RequireApprovalPullRequests (line 28) | RequireApprovalPullRequests ApprovalMode = "pull_requests" constant RequireApprovalAllEvents (line 29) | RequireApprovalAllEvents ApprovalMode = "all_events" type Repo (line 45) | type Repo struct method TableName (line 96) | func (Repo) TableName() string { method ResetVisibility (line 104) | func (r *Repo) ResetVisibility() { method Update (line 124) | func (r *Repo) Update(from *Repo) { type RepoFilter (line 100) | type RepoFilter struct function ParseRepo (line 112) | func ParseRepo(str string) (user, repo string, err error) { type RepoPatch (line 154) | type RepoPatch struct type ForgeRemoteID (line 174) | type ForgeRemoteID method IsValid (line 176) | func (r ForgeRemoteID) IsValid() bool { type TrustedConfiguration (line 180) | type TrustedConfiguration struct type TrustedConfigurationPatch (line 186) | type TrustedConfigurationPatch struct type RepoLastPipeline (line 193) | type RepoLastPipeline struct FILE: server/model/repo_test.go function TestRepoUpdate_Visibility (line 23) | func TestRepoUpdate_Visibility(t *testing.T) { FILE: server/model/secret.go type SecretStore (line 33) | type SecretStore interface type Secret (line 47) | type Secret struct method TableName (line 59) | func (Secret) TableName() string { method BeforeInsert (line 64) | func (s *Secret) BeforeInsert() { method IsGlobal (line 69) | func (s Secret) IsGlobal() bool { method IsOrganization (line 74) | func (s Secret) IsOrganization() bool { method IsRepository (line 79) | func (s Secret) IsRepository() bool { method Validate (line 95) | func (s *Secret) Validate() error { method Copy (line 125) | func (s *Secret) Copy() *Secret { function sortEvents (line 137) | func sortEvents(wel WebhookEventList) WebhookEventList { type SecretPatch (line 142) | type SecretPatch struct FILE: server/model/secret_test.go function TestSecretValidate (line 23) | func TestSecretValidate(t *testing.T) { FILE: server/model/server_config.go type ServerConfig (line 18) | type ServerConfig struct method TableName (line 24) | func (ServerConfig) TableName() string { FILE: server/model/step.go constant FailureIgnore (line 20) | FailureIgnore = "ignore" constant FailureFail (line 21) | FailureFail = "fail" constant FailureCancel (line 22) | FailureCancel = "cancel" type Step (line 26) | type Step struct method TableName (line 43) | func (Step) TableName() string { method Running (line 48) | func (p *Step) Running() bool { method Failing (line 53) | func (p *Step) Failing() bool { type StepType (line 58) | type StepType constant StepTypeClone (line 61) | StepTypeClone StepType = "clone" constant StepTypeService (line 62) | StepTypeService StepType = "service" constant StepTypePlugin (line 63) | StepTypePlugin StepType = "plugin" constant StepTypeCommands (line 64) | StepTypeCommands StepType = "commands" constant StepTypeCache (line 65) | StepTypeCache StepType = "cache" FILE: server/model/step_test.go function TestStepStatus (line 23) | func TestStepStatus(t *testing.T) { FILE: server/model/task.go type Task (line 25) | type Task struct method TableName (line 40) | func (Task) TableName() string { method String (line 44) | func (t *Task) String() string { method ApplyLabelsFromRepo (line 48) | func (t *Task) ApplyLabelsFromRepo(r *Repo) error { method ShouldRun (line 61) | func (t *Task) ShouldRun() bool { method runsOnFailure (line 87) | func (t *Task) runsOnFailure() bool { method runsOnSuccess (line 91) | func (t *Task) runsOnSuccess() bool { FILE: server/model/task_test.go function TestTask_GetLabels (line 25) | func TestTask_GetLabels(t *testing.T) { FILE: server/model/team.go type Team (line 18) | type Team struct FILE: server/model/user.go constant maxLoginLen (line 28) | maxLoginLen = 250 type User (line 31) | type User struct method TableName (line 77) | func (User) TableName() string { method Validate (line 82) | func (u *User) Validate() error { FILE: server/model/user_test.go function TestUserValidate (line 23) | func TestUserValidate(t *testing.T) { FILE: server/model/workflow.go type Workflow (line 19) | type Workflow struct method TableName (line 36) | func (Workflow) TableName() string { method Running (line 41) | func (p *Workflow) Running() bool { method Failing (line 46) | func (p *Workflow) Failing() bool { function IsThereRunningStage (line 52) | func IsThereRunningStage(workflows []*Workflow) bool { FILE: server/pipeline/approve.go function Approve (line 31) | func Approve(ctx context.Context, store store.Store, currentPipeline *mo... FILE: server/pipeline/cancel.go function Cancel (line 32) | func Cancel(ctx context.Context, _forge forge.Forge, store store.Store, ... function cancelPreviousPipelines (line 100) | func cancelPreviousPipelines( FILE: server/pipeline/config.go function findOrPersistPipelineConfig (line 24) | func findOrPersistPipelineConfig(store store.Store, currentPipeline *mod... FILE: server/pipeline/create.go function Create (line 36) | func Create(ctx context.Context, _store store.Store, repo *model.Repo, p... function updatePipelineWithErr (line 157) | func updatePipelineWithErr(ctx context.Context, _forge forge.Forge, _sto... function updatePipelinePending (line 170) | func updatePipelinePending(ctx context.Context, _forge forge.Forge, _sto... FILE: server/pipeline/decline.go function Decline (line 30) | func Decline(ctx context.Context, store store.Store, pipeline *model.Pip... FILE: server/pipeline/errors.go type ErrNotFound (line 19) | type ErrNotFound struct method Error (line 23) | func (e ErrNotFound) Error() string { method Is (line 27) | func (e ErrNotFound) Is(target error) bool { type ErrBadRequest (line 35) | type ErrBadRequest struct method Error (line 39) | func (e ErrBadRequest) Error() string { method Is (line 43) | func (e ErrBadRequest) Is(target error) bool { FILE: server/pipeline/gated.go function setApprovalState (line 23) | func setApprovalState(repo *model.Repo, pipeline *model.Pipeline) { function needsApproval (line 32) | func needsApproval(repo *model.Repo, pipeline *model.Pipeline) bool { FILE: server/pipeline/gated_test.go function TestSetGatedState (line 25) | func TestSetGatedState(t *testing.T) { FILE: server/pipeline/helper.go function updatePipelineStatus (line 26) | func updatePipelineStatus(ctx context.Context, forge forge.Forge, pipeli... FILE: server/pipeline/items.go function parsePipeline (line 36) | func parsePipeline(ctx context.Context, forge forge.Forge, store store.S... function createPipelineItems (line 146) | func createPipelineItems(c context.Context, forge forge.Forge, store sto... function setPipelineStepsOnPipeline (line 173) | func setPipelineStepsOnPipeline(pipeline *model.Pipeline, pipelineItems ... FILE: server/pipeline/items_test.go function TestSetPipelineStepsOnPipeline (line 35) | func TestSetPipelineStepsOnPipeline(t *testing.T) { function TestParsePipeline (line 78) | func TestParsePipeline(t *testing.T) { FILE: server/pipeline/pipeline_status.go function PipelineStatus (line 27) | func PipelineStatus(workflows []*model.Workflow) model.StatusValue { function UpdateToStatusRunning (line 37) | func UpdateToStatusRunning(store store.Store, pipeline model.Pipeline, s... function UpdateToStatusPending (line 43) | func UpdateToStatusPending(store store.Store, pipeline model.Pipeline, r... function UpdateToStatusDeclined (line 52) | func UpdateToStatusDeclined(store store.Store, pipeline model.Pipeline, ... function UpdateStatusToDone (line 59) | func UpdateStatusToDone(store store.Store, pipeline model.Pipeline, stat... function UpdateToStatusError (line 65) | func UpdateToStatusError(store store.Store, pipeline model.Pipeline, err... function UpdateToStatusKilled (line 73) | func UpdateToStatusKilled(store store.Store, pipeline model.Pipeline, ca... FILE: server/pipeline/pipeline_status_test.go function mockStorePipeline (line 31) | func mockStorePipeline(t *testing.T) store.Store { function TestUpdateToStatusRunning (line 37) | func TestUpdateToStatusRunning(t *testing.T) { function TestUpdateToStatusPending (line 45) | func TestUpdateToStatusPending(t *testing.T) { function TestUpdateToStatusDeclined (line 57) | func TestUpdateToStatusDeclined(t *testing.T) { function TestUpdateToStatusToDone (line 69) | func TestUpdateToStatusToDone(t *testing.T) { function TestUpdateToStatusError (line 78) | func TestUpdateToStatusError(t *testing.T) { function TestUpdateToStatusKilled (line 93) | func TestUpdateToStatusKilled(t *testing.T) { FILE: server/pipeline/queue.go function queuePipeline (line 29) | func queuePipeline(ctx context.Context, repo *model.Repo, pipelineItems ... function getTaskDependencies (line 66) | func getTaskDependencies(dependsOn []string, items []*step_builder.Item)... FILE: server/pipeline/restart.go function Restart (line 32) | func Restart(ctx context.Context, store store.Store, lastPipeline *model... function linkPipelineConfigs (line 114) | func linkPipelineConfigs(store store.Store, configs []*model.Config, pip... function createNewOutOfOld (line 128) | func createNewOutOfOld(old *model.Pipeline) *model.Pipeline { FILE: server/pipeline/start.go function start (line 29) | func start(ctx context.Context, forge forge.Forge, store store.Store, ac... function prepareStart (line 46) | func prepareStart(ctx context.Context, forge forge.Forge, store store.St... function publishPipeline (line 56) | func publishPipeline(ctx context.Context, forge forge.Forge, pipeline *m... FILE: server/pipeline/status.go function buildPriorityMap (line 48) | func buildPriorityMap() map[model.StatusValue]int { function MergeStatusValues (line 56) | func MergeStatusValues(s, t model.StatusValue) model.StatusValue { FILE: server/pipeline/status_test.go function TestStatusValueMerge (line 25) | func TestStatusValueMerge(t *testing.T) { FILE: server/pipeline/step_builder/metadata.go function MetadataFromStruct (line 28) | func MetadataFromStruct(forge metadata.ServerForge, repo *model.Repo, pi... function metadataPipelineFromModelPipeline (line 98) | func metadataPipelineFromModelPipeline(pipeline *model.Pipeline, include... FILE: server/pipeline/step_builder/metadata_test.go function TestMetadataFromStruct (line 27) | func TestMetadataFromStruct(t *testing.T) { FILE: server/pipeline/step_builder/step_builder.go type StepBuilder (line 44) | type StepBuilder struct method Build (line 67) | func (b *StepBuilder) Build() (items []*Item, errorsAndWarnings error) { method genItemForWorkflow (line 115) | func (b *StepBuilder) genItemForWorkflow(workflow *model.Workflow, axi... method environmentVariables (line 261) | func (b *StepBuilder) environmentVariables(metadata metadata.Metadata,... method toInternalRepresentation (line 267) | func (b *StepBuilder) toInternalRepresentation(parsed *yaml_types.Work... type Item (line 59) | type Item struct function filterItemsWithMissingDependencies (line 227) | func filterItemsWithMissingDependencies(items []*Item) []*Item { function containsItemWithName (line 252) | func containsItemWithName(name string, items []*Item) bool { function SanitizePath (line 292) | func SanitizePath(path string) string { FILE: server/pipeline/step_builder/step_builder_test.go function TestGlobalEnvsubst (line 32) | func TestGlobalEnvsubst(t *testing.T) { function TestMissingGlobalEnvsubst (line 66) | func TestMissingGlobalEnvsubst(t *testing.T) { function TestMultilineEnvsubst (line 100) | func TestMultilineEnvsubst(t *testing.T) { function TestMultiPipeline (line 139) | func TestMultiPipeline(t *testing.T) { function TestDependsOn (line 174) | func TestDependsOn(t *testing.T) { function TestRunsOn (line 232) | func TestRunsOn(t *testing.T) { function TestPipelineName (line 263) | func TestPipelineName(t *testing.T) { function TestBranchFilter (line 300) | func TestBranchFilter(t *testing.T) { function TestRootWhenFilter (line 338) | func TestRootWhenFilter(t *testing.T) { function TestZeroSteps (line 378) | func TestZeroSteps(t *testing.T) { function TestZeroStepsAsMultiPipelineTransitiveDeps (line 412) | func TestZeroStepsAsMultiPipelineTransitiveDeps(t *testing.T) { function TestSanitizePath (line 470) | func TestSanitizePath(t *testing.T) { function TestMatrix (line 508) | func TestMatrix(t *testing.T) { function TestMissingWorkflowDeps (line 549) | func TestMissingWorkflowDeps(t *testing.T) { function TestInvalidYAML (line 580) | func TestInvalidYAML(t *testing.T) { function TestEnvVarPrecedence (line 605) | func TestEnvVarPrecedence(t *testing.T) { function TestLabelMerging (line 645) | func TestLabelMerging(t *testing.T) { function TestCompilerOptions (line 691) | func TestCompilerOptions(t *testing.T) { function getMockForge (line 725) | func getMockForge(t *testing.T) forge.Forge { FILE: server/pipeline/step_status.go function CalcStepStatus (line 31) | func CalcStepStatus(step model.Step, state rpc.StepState) (_ *model.Step... function UpdateStepStatus (line 112) | func UpdateStepStatus(ctx context.Context, store store.Store, step *mode... function cancelPipelineFromStep (line 129) | func cancelPipelineFromStep(ctx context.Context, store store.Store, step... function UpdateStepToStatusSkipped (line 154) | func UpdateStepToStatusSkipped(store store.Store, step model.Step, finis... FILE: server/pipeline/step_status_test.go function mockStoreStep (line 30) | func mockStoreStep(t *testing.T) store.Store { function TestUpdateStepStatus (line 36) | func TestUpdateStepStatus(t *testing.T) { function TestUpdateStepToStatusSkipped (line 287) | func TestUpdateStepToStatusSkipped(t *testing.T) { FILE: server/pipeline/topic.go function publishToTopic (line 30) | func publishToTopic(c context.Context, pipeline *model.Pipeline, repo *m... FILE: server/pipeline/workflow_status.go function WorkflowStatus (line 24) | func WorkflowStatus(steps []*model.Step) model.StatusValue { function UpdateWorkflowStatusToRunning (line 36) | func UpdateWorkflowStatusToRunning(store store.Store, workflow model.Wor... function UpdateWorkflowToStatusSkipped (line 42) | func UpdateWorkflowToStatusSkipped(store store.Store, workflow model.Wor... function UpdateWorkflowStatusToDone (line 47) | func UpdateWorkflowStatusToDone(store store.Store, workflow model.Workfl... FILE: server/pipeline/workflow_status_test.go function TestWorkflowStatus (line 28) | func TestWorkflowStatus(t *testing.T) { function TestUpdateWorkflowStatusToRunning (line 182) | func TestUpdateWorkflowStatusToRunning(t *testing.T) { function TestUpdateWorkflowToStatusSkipped (line 206) | func TestUpdateWorkflowToStatusSkipped(t *testing.T) { function TestUpdateWorkflowStatusToDone (line 226) | func TestUpdateWorkflowStatusToDone(t *testing.T) { FILE: server/pubsub/memory/pub.go type publisher (line 28) | type publisher struct method Publish (line 41) | func (p *publisher) Publish(_ context.Context, topics pubsub.Topics, m... method Subscribe (line 67) | func (p *publisher) Subscribe(c context.Context, topics pubsub.Topics,... function New (line 35) | func New() pubsub.PubSub { FILE: server/pubsub/memory/pub_test.go function TestPubsub (line 28) | func TestPubsub(t *testing.T) { function TestPubsubConcurrentCancel (line 63) | func TestPubsubConcurrentCancel(t *testing.T) { FILE: server/pubsub/pubsub.go type PubSub (line 26) | type PubSub interface type Message (line 37) | type Message struct type Receiver (line 46) | type Receiver type Topics (line 50) | type Topics function GetRepoTopic (line 52) | func GetRepoTopic(r *model.Repo) string { constant PublicTopic (line 56) | PublicTopic = "public" FILE: server/pubsub/pubsub_test.go function TestPubSub (line 29) | func TestPubSub(t *testing.T) { function testPubSub (line 36) | func testPubSub(t *testing.T, adapter pubsub.PubSub) { function genTestSub (line 72) | func genTestSub(t *testing.T, adapter pubsub.PubSub, topics pubsub.Topic... function messagesToIDs (line 95) | func messagesToIDs(msgs []pubsub.Message) (ids []string) { FILE: server/queue/fifo.go type entry (line 31) | type entry struct type worker (line 38) | type worker struct type fifo (line 45) | type fifo struct method PushAtOnce (line 77) | func (q *fifo) PushAtOnce(_ context.Context, tasks []*model.Task) error { method Poll (line 87) | func (q *fifo) Poll(c context.Context, agentID int64, filter FilterFn)... method Done (line 114) | func (q *fifo) Done(_ context.Context, id string, exitStatus model.Sta... method Error (line 119) | func (q *fifo) Error(_ context.Context, id string, err error) error { method ErrorAtOnce (line 125) | func (q *fifo) ErrorAtOnce(_ context.Context, ids []string, err error)... method finished (line 133) | func (q *fifo) finished(ids []string, exitStatus model.StatusValue, er... method Wait (line 164) | func (q *fifo) Wait(ctx context.Context, taskID string) error { method Extend (line 186) | func (q *fifo) Extend(_ context.Context, agentID int64, taskID string)... method Info (line 203) | func (q *fifo) Info(_ context.Context) InfoT { method Pause (line 229) | func (q *fifo) Pause() { method Resume (line 236) | func (q *fifo) Resume() { method KickAgentWorkers (line 243) | func (q *fifo) KickAgentWorkers(agentID int64) { method process (line 257) | func (q *fifo) process() { method filterWaiting (line 289) | func (q *fifo) filterWaiting() { method assignToWorker (line 314) | func (q *fifo) assignToWorker() (*list.Element, *worker) { method resubmitExpiredPipelines (line 338) | func (q *fifo) resubmitExpiredPipelines() { method depsInQueue (line 350) | func (q *fifo) depsInQueue(task *model.Task) bool { method updateDepStatusInQueue (line 370) | func (q *fifo) updateDepStatusInQueue(taskID string, status model.Stat... method removeFromPendingAndWaiting (line 399) | func (q *fifo) removeFromPendingAndWaiting(taskID string) error { constant processTimeInterval (line 59) | processTimeInterval = 100 * time.Millisecond function NewMemoryQueue (line 62) | func NewMemoryQueue(ctx context.Context) Queue { FILE: server/queue/fifo_test.go function setupTestQueue (line 41) | func setupTestQueue(t *testing.T) (context.Context, context.CancelCauseF... function TestFifoBasicOperations (line 53) | func TestFifoBasicOperations(t *testing.T) { function TestFifoDependencies (line 362) | func TestFifoDependencies(t *testing.T) { function TestFifoLeaseManagement (line 674) | func TestFifoLeaseManagement(t *testing.T) { function TestFifoWorkerManagement (line 828) | func TestFifoWorkerManagement(t *testing.T) { function TestFifoLabelBasedScoring (line 958) | func TestFifoLabelBasedScoring(t *testing.T) { function TestShouldRunLogic (line 1031) | func TestShouldRunLogic(t *testing.T) { function findTaskByAgent (line 1084) | func findTaskByAgent(tasks map[string]int64, agentID int64) string { FILE: server/queue/mocks/mock_Queue.go function NewMockQueue (line 17) | func NewMockQueue(t interface { type MockQueue (line 30) | type MockQueue struct method EXPECT (line 38) | func (_m *MockQueue) EXPECT() *MockQueue_Expecter { method Done (line 43) | func (_mock *MockQueue) Done(c context.Context, id string, exitStatus ... method Error (line 106) | func (_mock *MockQueue) Error(c context.Context, id string, err error)... method ErrorAtOnce (line 169) | func (_mock *MockQueue) ErrorAtOnce(c context.Context, ids []string, e... method Extend (line 232) | func (_mock *MockQueue) Extend(c context.Context, agentID int64, workf... method Info (line 295) | func (_mock *MockQueue) Info(c context.Context) queue.InfoT { method KickAgentWorkers (line 346) | func (_mock *MockQueue) KickAgentWorkers(agentID int64) { method Pause (line 386) | func (_mock *MockQueue) Pause() { method Poll (line 419) | func (_mock *MockQueue) Poll(c context.Context, agentID int64, f queue... method PushAtOnce (line 493) | func (_mock *MockQueue) PushAtOnce(c context.Context, tasks []*model.T... method Resume (line 550) | func (_mock *MockQueue) Resume() { method Wait (line 583) | func (_mock *MockQueue) Wait(c context.Context, id string) error { type MockQueue_Expecter (line 34) | type MockQueue_Expecter struct method Done (line 68) | func (_e *MockQueue_Expecter) Done(c interface{}, id interface{}, exit... method Error (line 131) | func (_e *MockQueue_Expecter) Error(c interface{}, id interface{}, err... method ErrorAtOnce (line 194) | func (_e *MockQueue_Expecter) ErrorAtOnce(c interface{}, ids interface... method Extend (line 257) | func (_e *MockQueue_Expecter) Extend(c interface{}, agentID interface{... method Info (line 318) | func (_e *MockQueue_Expecter) Info(c interface{}) *MockQueue_Info_Call { method KickAgentWorkers (line 358) | func (_e *MockQueue_Expecter) KickAgentWorkers(agentID interface{}) *M... method Pause (line 397) | func (_e *MockQueue_Expecter) Pause() *MockQueue_Pause_Call { method Poll (line 455) | func (_e *MockQueue_Expecter) Poll(c interface{}, agentID interface{},... method PushAtOnce (line 517) | func (_e *MockQueue_Expecter) PushAtOnce(c interface{}, tasks interfac... method Resume (line 561) | func (_e *MockQueue_Expecter) Resume() *MockQueue_Resume_Call { method Wait (line 607) | func (_e *MockQueue_Expecter) Wait(c interface{}, id interface{}) *Moc... type MockQueue_Done_Call (line 60) | type MockQueue_Done_Call struct method Run (line 72) | func (_c *MockQueue_Done_Call) Run(run func(c context.Context, id stri... method Return (line 95) | func (_c *MockQueue_Done_Call) Return(err error) *MockQueue_Done_Call { method RunAndReturn (line 100) | func (_c *MockQueue_Done_Call) RunAndReturn(run func(c context.Context... type MockQueue_Error_Call (line 123) | type MockQueue_Error_Call struct method Run (line 135) | func (_c *MockQueue_Error_Call) Run(run func(c context.Context, id str... method Return (line 158) | func (_c *MockQueue_Error_Call) Return(err1 error) *MockQueue_Error_Ca... method RunAndReturn (line 163) | func (_c *MockQueue_Error_Call) RunAndReturn(run func(c context.Contex... type MockQueue_ErrorAtOnce_Call (line 186) | type MockQueue_ErrorAtOnce_Call struct method Run (line 198) | func (_c *MockQueue_ErrorAtOnce_Call) Run(run func(c context.Context, ... method Return (line 221) | func (_c *MockQueue_ErrorAtOnce_Call) Return(err1 error) *MockQueue_Er... method RunAndReturn (line 226) | func (_c *MockQueue_ErrorAtOnce_Call) RunAndReturn(run func(c context.... type MockQueue_Extend_Call (line 249) | type MockQueue_Extend_Call struct method Run (line 261) | func (_c *MockQueue_Extend_Call) Run(run func(c context.Context, agent... method Return (line 284) | func (_c *MockQueue_Extend_Call) Return(err error) *MockQueue_Extend_C... method RunAndReturn (line 289) | func (_c *MockQueue_Extend_Call) RunAndReturn(run func(c context.Conte... type MockQueue_Info_Call (line 312) | type MockQueue_Info_Call struct method Run (line 322) | func (_c *MockQueue_Info_Call) Run(run func(c context.Context)) *MockQ... method Return (line 335) | func (_c *MockQueue_Info_Call) Return(infoT queue.InfoT) *MockQueue_In... method RunAndReturn (line 340) | func (_c *MockQueue_Info_Call) RunAndReturn(run func(c context.Context... type MockQueue_KickAgentWorkers_Call (line 352) | type MockQueue_KickAgentWorkers_Call struct method Run (line 362) | func (_c *MockQueue_KickAgentWorkers_Call) Run(run func(agentID int64)... method Return (line 375) | func (_c *MockQueue_KickAgentWorkers_Call) Return() *MockQueue_KickAge... method RunAndReturn (line 380) | func (_c *MockQueue_KickAgentWorkers_Call) RunAndReturn(run func(agent... type MockQueue_Pause_Call (line 392) | type MockQueue_Pause_Call struct method Run (line 401) | func (_c *MockQueue_Pause_Call) Run(run func()) *MockQueue_Pause_Call { method Return (line 408) | func (_c *MockQueue_Pause_Call) Return() *MockQueue_Pause_Call { method RunAndReturn (line 413) | func (_c *MockQueue_Pause_Call) RunAndReturn(run func()) *MockQueue_Pa... type MockQueue_Poll_Call (line 447) | type MockQueue_Poll_Call struct method Run (line 459) | func (_c *MockQueue_Poll_Call) Run(run func(c context.Context, agentID... method Return (line 482) | func (_c *MockQueue_Poll_Call) Return(task *model.Task, err error) *Mo... method RunAndReturn (line 487) | func (_c *MockQueue_Poll_Call) RunAndReturn(run func(c context.Context... type MockQueue_PushAtOnce_Call (line 510) | type MockQueue_PushAtOnce_Call struct method Run (line 521) | func (_c *MockQueue_PushAtOnce_Call) Run(run func(c context.Context, t... method Return (line 539) | func (_c *MockQueue_PushAtOnce_Call) Return(err error) *MockQueue_Push... method RunAndReturn (line 544) | func (_c *MockQueue_PushAtOnce_Call) RunAndReturn(run func(c context.C... type MockQueue_Resume_Call (line 556) | type MockQueue_Resume_Call struct method Run (line 565) | func (_c *MockQueue_Resume_Call) Run(run func()) *MockQueue_Resume_Call { method Return (line 572) | func (_c *MockQueue_Resume_Call) Return() *MockQueue_Resume_Call { method RunAndReturn (line 577) | func (_c *MockQueue_Resume_Call) RunAndReturn(run func()) *MockQueue_R... type MockQueue_Wait_Call (line 600) | type MockQueue_Wait_Call struct method Run (line 611) | func (_c *MockQueue_Wait_Call) Run(run func(c context.Context, id stri... method Return (line 629) | func (_c *MockQueue_Wait_Call) Return(err error) *MockQueue_Wait_Call { method RunAndReturn (line 634) | func (_c *MockQueue_Wait_Call) RunAndReturn(run func(c context.Context... FILE: server/queue/persistent.go function WithTaskStore (line 32) | func WithTaskStore(ctx context.Context, q Queue, s store.Store) Queue { type persistentQueue (line 40) | type persistentQueue struct method PushAtOnce (line 46) | func (q *persistentQueue) PushAtOnce(c context.Context, tasks []*model... method Poll (line 65) | func (q *persistentQueue) Poll(c context.Context, agentID int64, f Fil... method Error (line 79) | func (q *persistentQueue) Error(c context.Context, id string, err erro... method ErrorAtOnce (line 95) | func (q *persistentQueue) ErrorAtOnce(c context.Context, ids []string,... FILE: server/queue/queue.go type ErrExternal (line 45) | type ErrExternal struct method Error (line 49) | func (e *ErrExternal) Error() string { method Unwrap (line 54) | func (e *ErrExternal) Unwrap() error { method Is (line 59) | func (e *ErrExternal) Is(target error) bool { function NewErrExternal (line 65) | func NewErrExternal(err error) error { type InfoT (line 73) | type InfoT struct method String (line 86) | func (t *InfoT) String() string { type FilterFn (line 107) | type FilterFn type Queue (line 111) | type Queue interface type Config (line 149) | type Config struct type Type (line 155) | type Type constant TypeMemory (line 158) | TypeMemory Type = "memory" function New (line 162) | func New(ctx context.Context, config Config) (Queue, error) { FILE: server/router/api.go function apiRoutes (line 27) | func apiRoutes(e *gin.RouterGroup) { FILE: server/router/middleware/header/header.go function NoCache (line 26) | func NoCache(c *gin.Context) { function Options (line 36) | func Options(c *gin.Context) { function Secure (line 51) | func Secure(c *gin.Context) { FILE: server/router/middleware/logger.go function Logger (line 32) | func Logger(timeFormat string, utc bool) gin.HandlerFunc { FILE: server/router/middleware/session/agent.go function AuthorizeAgent (line 27) | func AuthorizeAgent(c *gin.Context) { FILE: server/router/middleware/session/org.go function Org (line 29) | func Org(c *gin.Context) *model.Org { function SetOrg (line 41) | func SetOrg() gin.HandlerFunc { function MustOrg (line 75) | func MustOrg() gin.HandlerFunc { FILE: server/router/middleware/session/pagination.go constant maxPageSize (line 25) | maxPageSize = 50 function Pagination (line 27) | func Pagination(c *gin.Context) *model.ListOptions { FILE: server/router/middleware/session/repo.go function Repo (line 33) | func Repo(c *gin.Context) *model.Repo { function SetRepo (line 46) | func SetRepo() gin.HandlerFunc { function Perm (line 92) | func Perm(c *gin.Context) *model.Perm { function SetPerm (line 104) | func SetPerm() gin.HandlerFunc { function MustPull (line 168) | func MustPull(c *gin.Context) { function MustPush (line 191) | func MustPush(c *gin.Context) { FILE: server/router/middleware/session/user.go function User (line 30) | func User(c *gin.Context) *model.User { function SetUser (line 42) | func SetUser() gin.HandlerFunc { function MustAdmin (line 77) | func MustAdmin() gin.HandlerFunc { function MustRepoAdmin (line 93) | func MustRepoAdmin() gin.HandlerFunc { function MustUser (line 110) | func MustUser() gin.HandlerFunc { function MustOrgMember (line 123) | func MustOrgMember(admin bool) gin.HandlerFunc { FILE: server/router/middleware/store.go function Store (line 25) | func Store(v store.Store) gin.HandlerFunc { FILE: server/router/middleware/token/token.go function Refresh (line 28) | func Refresh(c *gin.Context) { FILE: server/router/middleware/version.go function Version (line 25) | func Version(c *gin.Context) { FILE: server/router/router.go function Load (line 37) | func Load(noRouteHandler http.HandlerFunc, middleware ...gin.HandlerFunc... function setupSwaggerConfigAndRoutes (line 80) | func setupSwaggerConfigAndRoutes(e *gin.Engine) { function getHost (line 86) | func getHost(s string) string { FILE: server/rpc/auth_server.go type WoodpeckerAuthServer (line 30) | type WoodpeckerAuthServer struct method Auth (line 41) | func (s *WoodpeckerAuthServer) Auth(_ context.Context, req *proto.Auth... method getAgent (line 59) | func (s *WoodpeckerAuthServer) getAgent(agentID int64, agentToken stri... function NewWoodpeckerAuthServer (line 37) | func NewWoodpeckerAuthServer(jwtManager *JWTManager, agentMasterToken st... FILE: server/rpc/auth_server_test.go function newAuthServer (line 33) | func newAuthServer(t *testing.T, masterToken string, store *store_mocks.... function TestAuth (line 39) | func TestAuth(t *testing.T) { function TestGetAgent (line 130) | func TestGetAgent(t *testing.T) { FILE: server/rpc/authorizer.go type StreamContextWrapper (line 59) | type StreamContextWrapper interface type wrapper (line 64) | type wrapper struct method Context (line 69) | func (w *wrapper) Context() context.Context { method SetContext (line 73) | func (w *wrapper) SetContext(ctx context.Context) { function newStreamContextWrapper (line 77) | func newStreamContextWrapper(inner grpc.ServerStream) StreamContextWrapp... type Authorizer (line 86) | type Authorizer struct method StreamInterceptor (line 96) | func (a *Authorizer) StreamInterceptor(srv any, stream grpc.ServerStre... method UnaryInterceptor (line 110) | func (a *Authorizer) UnaryInterceptor(ctx context.Context, req any, in... method authorize (line 120) | func (a *Authorizer) authorize(ctx context.Context, fullMethod string)... function NewAuthorizer (line 91) | func NewAuthorizer(jwtManager *JWTManager) *Authorizer { FILE: server/rpc/authorizer_test.go function newAuthorizer (line 30) | func newAuthorizer(t *testing.T) *Authorizer { function validTokenForAgent (line 36) | func validTokenForAgent(t *testing.T, agentID int64) string { function ctxWithToken (line 44) | func ctxWithToken(ctx context.Context, token string) context.Context { function TestAuthorize (line 48) | func TestAuthorize(t *testing.T) { function TestUnaryInterceptor (line 172) | func TestUnaryInterceptor(t *testing.T) { type mockServerStream (line 263) | type mockServerStream struct method SetHeader (line 267) | func (m *mockServerStream) SetHeader(metadata.MD) error { return nil } method SendHeader (line 268) | func (m *mockServerStream) SendHeader(metadata.MD) error { return nil } method SetTrailer (line 269) | func (m *mockServerStream) SetTrailer(metadata.MD) {} method Context (line 270) | func (m *mockServerStream) Context() context.Context { return m.ctx } method SendMsg (line 271) | func (m *mockServerStream) SendMsg(any) error { return nil } method RecvMsg (line 272) | func (m *mockServerStream) RecvMsg(any) error { return nil } function TestStreamInterceptor (line 274) | func TestStreamInterceptor(t *testing.T) { FILE: server/rpc/filter.go function createFilterFunc (line 27) | func createFilterFunc(agentFilter rpc.Filter) queue.FilterFn { function requiredLabelsMissing (line 76) | func requiredLabelsMissing(taskLabels, agentLabels map[string]string) bo... FILE: server/rpc/filter_test.go function TestCreateFilterFunc (line 26) | func TestCreateFilterFunc(t *testing.T) { function TestMissingRequiredLabels (line 234) | func TestMissingRequiredLabels(t *testing.T) { FILE: server/rpc/jwt_manager.go type JWTManager (line 26) | type JWTManager struct method Generate (line 45) | func (manager *JWTManager) Generate(agentID int64) (string, error) { method Verify (line 64) | func (manager *JWTManager) Verify(accessToken string) (*AgentTokenClai... type AgentTokenClaims (line 32) | type AgentTokenClaims struct constant jwtTokenDuration (line 37) | jwtTokenDuration = 1 * time.Hour function NewJWTManager (line 40) | func NewJWTManager(secretKey string) *JWTManager { FILE: server/rpc/jwt_manager_test.go function TestJWTManager (line 29) | func TestJWTManager(t *testing.T) { function buildUnsignedToken (line 159) | func buildUnsignedToken(t *testing.T, agentID int64) string { function buildRS256FakeToken (line 176) | func buildRS256FakeToken(t *testing.T) string { function buildFutureNbfToken (line 190) | func buildFutureNbfToken(t *testing.T) string { function jwtMustMarshal (line 208) | func jwtMustMarshal(t *testing.T, v any) []byte { function TestJWTManagerAdditional (line 215) | func TestJWTManagerAdditional(t *testing.T) { FILE: server/rpc/rpc.go type ctxKey (line 45) | type ctxKey struct constant updateAgentLastWorkDelay (line 51) | updateAgentLastWorkDelay = time.Minute type RPC (line 53) | type RPC struct method Next (line 63) | func (s *RPC) Next(c context.Context, agentFilter rpc.Filter) (*rpc.Wo... method Wait (line 112) | func (s *RPC) Wait(c context.Context, workflowID string) (canceled boo... method Extend (line 139) | func (s *RPC) Extend(c context.Context, workflowID string) error { method Update (line 158) | func (s *RPC) Update(c context.Context, strWorkflowID string, state rp... method Init (line 229) | func (s *RPC) Init(c context.Context, strWorkflowID string, state rpc.... method Done (line 296) | func (s *RPC) Done(c context.Context, strWorkflowID string, state rpc.... method Log (line 415) | func (s *RPC) Log(c context.Context, stepUUID string, rpcLogEntries []... method RegisterAgent (line 477) | func (s *RPC) RegisterAgent(ctx context.Context, info rpc.AgentInfo) (... method UnregisterAgent (line 504) | func (s *RPC) UnregisterAgent(ctx context.Context) error { method ReportHealth (line 520) | func (s *RPC) ReportHealth(ctx context.Context, status string) error { method completeChildrenIfParentCompleted (line 536) | func (s *RPC) completeChildrenIfParentCompleted(completedWorkflow *mod... method updateForgeStatus (line 550) | func (s *RPC) updateForgeStatus(ctx context.Context, repo *model.Repo,... method notify (line 575) | func (s *RPC) notify(c context.Context, repo *model.Repo, pipeline *mo... method getAgentFromContext (line 596) | func (s *RPC) getAgentFromContext(ctx context.Context) (*model.Agent, ... method getHostnameFromContext (line 609) | func (s *RPC) getHostnameFromContext(ctx context.Context) (string, err... method updateAgentLastWork (line 620) | func (s *RPC) updateAgentLastWork(agent *model.Agent) error { FILE: server/rpc/rpc_integration_test.go function newTestRPC (line 42) | func newTestRPC(t *testing.T, mockStore *store_mocks.MockStore, q queue.... function defaultAgent (line 64) | func defaultAgent() *model.Agent { function orgAgent999 (line 73) | func orgAgent999() *model.Agent { function defaultRepo (line 81) | func defaultRepo() *model.Repo { function defaultPipeline (line 89) | func defaultPipeline(status model.StatusValue) *model.Pipeline { function defaultWorkflow (line 98) | func defaultWorkflow(state model.StatusValue) *model.Workflow { function defaultStep (line 107) | func defaultStep(state model.StatusValue) *model.Step { function TestRPCUpdate (line 116) | func TestRPCUpdate(t *testing.T) { function TestRPCInit (line 330) | func TestRPCInit(t *testing.T) { function TestRPCDone (line 449) | func TestRPCDone(t *testing.T) { function TestRPCLog (line 551) | func TestRPCLog(t *testing.T) { function TestRPCExtend (line 850) | func TestRPCExtend(t *testing.T) { function TestRPCWait (line 873) | func TestRPCWait(t *testing.T) { FILE: server/rpc/rpc_test.go function TestRegisterAgent (line 33) | func TestRegisterAgent(t *testing.T) { function TestCompleteChildrenIfParentCompleted (line 116) | func TestCompleteChildrenIfParentCompleted(t *testing.T) { function TestUpdateAgentLastWork (line 153) | func TestUpdateAgentLastWork(t *testing.T) { FILE: server/rpc/sanitize.go constant logStreamDelayAllowed (line 30) | logStreamDelayAllowed = 5 * time.Minute method checkAgentPermissionByWorkflow (line 32) | func (s *RPC) checkAgentPermissionByWorkflow(_ context.Context, agent *m... function isActiveState (line 70) | func isActiveState(state model.StatusValue) bool { function isDoneState (line 82) | func isDoneState(state model.StatusValue) bool { function checkWorkflowAllowsStepUpdate (line 103) | func checkWorkflowAllowsStepUpdate(workflowState model.StatusValue, step... function checkWorkflowState (line 125) | func checkWorkflowState(state model.StatusValue) (err error) { function allowAppendingLogs (line 145) | func allowAppendingLogs(currPipeline *model.Pipeline, currStep *model.St... FILE: server/rpc/sanitize_test.go function TestCheckWorkflowAllowsStepUpdate (line 28) | func TestCheckWorkflowAllowsStepUpdate(t *testing.T) { function TestCheckWorkflowState (line 110) | func TestCheckWorkflowState(t *testing.T) { function TestIsActiveState (line 151) | func TestIsActiveState(t *testing.T) { function TestIsDoneState (line 175) | func TestIsDoneState(t *testing.T) { function TestAllowAppendingLogs (line 202) | func TestAllowAppendingLogs(t *testing.T) { function TestAllowAppendingLogsDrainBoundary (line 291) | func TestAllowAppendingLogsDrainBoundary(t *testing.T) { FILE: server/rpc/server.go type WoodpeckerServer (line 34) | type WoodpeckerServer struct method Version (line 87) | func (s *WoodpeckerServer) Version(_ context.Context, _ *proto.Empty) ... method Next (line 95) | func (s *WoodpeckerServer) Next(c context.Context, req *proto.NextRequ... method Init (line 115) | func (s *WoodpeckerServer) Init(c context.Context, req *proto.InitRequ... method Update (line 127) | func (s *WoodpeckerServer) Update(c context.Context, req *proto.Update... method Done (line 144) | func (s *WoodpeckerServer) Done(c context.Context, req *proto.DoneRequ... method Wait (line 158) | func (s *WoodpeckerServer) Wait(c context.Context, req *proto.WaitRequ... method Extend (line 166) | func (s *WoodpeckerServer) Extend(c context.Context, req *proto.Extend... method Log (line 172) | func (s *WoodpeckerServer) Log(c context.Context, req *proto.LogReques... method RegisterAgent (line 210) | func (s *WoodpeckerServer) RegisterAgent(c context.Context, req *proto... method UnregisterAgent (line 225) | func (s *WoodpeckerServer) UnregisterAgent(ctx context.Context, _ *pro... method ReportHealth (line 231) | func (s *WoodpeckerServer) ReportHealth(c context.Context, req *proto.... function NewWoodpeckerServer (line 39) | func NewWoodpeckerServer(scheduler scheduler.Scheduler, logger logging.L... function NewTestWoodpeckerServer (line 64) | func NewTestWoodpeckerServer(scheduler scheduler.Scheduler, logger loggi... FILE: server/scheduler/proxy.go type proxy (line 25) | type proxy struct method Done (line 34) | func (p *proxy) Done(c context.Context, id string, exitStatus model.St... method Error (line 38) | func (p *proxy) Error(c context.Context, id string, err error) error { method ErrorAtOnce (line 42) | func (p *proxy) ErrorAtOnce(c context.Context, ids []string, err error... method Extend (line 46) | func (p *proxy) Extend(c context.Context, agentID int64, workflowID st... method Info (line 50) | func (p *proxy) Info(c context.Context) queue.InfoT { method KickAgentWorkers (line 54) | func (p *proxy) KickAgentWorkers(agentID int64) { method Pause (line 58) | func (p *proxy) Pause() { method Poll (line 62) | func (p *proxy) Poll(c context.Context, agentID int64, f queue.FilterF... method PushAtOnce (line 66) | func (p *proxy) PushAtOnce(c context.Context, tasks []*model.Task) err... method Resume (line 70) | func (p *proxy) Resume() { method Wait (line 74) | func (p *proxy) Wait(c context.Context, id string) error { method Subscribe (line 82) | func (p *proxy) Subscribe(c context.Context, t pubsub.Topics, r pubsub... method Publish (line 86) | func (p *proxy) Publish(c context.Context, t pubsub.Topics, m pubsub.M... FILE: server/scheduler/scheduler.go type Scheduler (line 23) | type Scheduler interface function NewScheduler (line 28) | func NewScheduler(q queue.Queue, ps pubsub.PubSub) Scheduler { FILE: server/services/config/combined.go type combined (line 25) | type combined struct method Fetch (line 33) | func (c *combined) Fetch(ctx context.Context, forge forge.Forge, user ... function NewCombined (line 29) | func NewCombined(services ...Service) Service { FILE: server/services/config/combined_test.go function TestFetchFromConfigService (line 41) | func TestFetchFromConfigService(t *testing.T) { FILE: server/services/config/forge.go type forgeFetcher (line 32) | type forgeFetcher struct method Fetch (line 44) | func (f *forgeFetcher) Fetch(ctx context.Context, forge forge.Forge, u... function NewForge (line 37) | func NewForge(timeout time.Duration, retries uint) Service { type forgeFetcherContext (line 71) | type forgeFetcherContext struct method fetch (line 80) | func (f *forgeFetcherContext) fetch(c context.Context, config string) ... method checkPipelineFile (line 125) | func (f *forgeFetcherContext) checkPipelineFile(c context.Context, con... method getFirstAvailableConfig (line 140) | func (f *forgeFetcherContext) getFirstAvailableConfig(c context.Contex... function filterPipelineFiles (line 113) | func filterPipelineFiles(files []*types.FileMeta) []*types.FileMeta { FILE: server/services/config/forge_test.go function TestFetch (line 32) | func TestFetch(t *testing.T) { FILE: server/services/config/http.go type httpService (line 30) | type httpService struct method Fetch (line 57) | func (h *httpService) Fetch(ctx context.Context, forge forge.Forge, us... type configData (line 37) | type configData struct type requestStructure (line 42) | type requestStructure struct type responseStructure (line 49) | type responseStructure struct function NewHTTP (line 53) | func NewHTTP(endpoint string, client *utils.Client, includeNetrc bool) S... FILE: server/services/config/mocks/mock_Service.go function NewMockService (line 18) | func NewMockService(t interface { type MockService (line 31) | type MockService struct method EXPECT (line 39) | func (_m *MockService) EXPECT() *MockService_Expecter { method Fetch (line 44) | func (_mock *MockService) Fetch(ctx context.Context, forge1 forge.Forg... type MockService_Expecter (line 35) | type MockService_Expecter struct method Fetch (line 84) | func (_e *MockService_Expecter) Fetch(ctx interface{}, forge1 interfac... type MockService_Fetch_Call (line 72) | type MockService_Fetch_Call struct method Run (line 88) | func (_c *MockService_Fetch_Call) Run(run func(ctx context.Context, fo... method Return (line 131) | func (_c *MockService_Fetch_Call) Return(configData []*types.FileMeta,... method RunAndReturn (line 136) | func (_c *MockService_Fetch_Call) RunAndReturn(run func(ctx context.Co... FILE: server/services/config/service.go type Service (line 25) | type Service interface FILE: server/services/encryption/aes.go type aesEncryptionService (line 28) | type aesEncryptionService struct method Encrypt (line 35) | func (svc *aesEncryptionService) Encrypt(plaintext, associatedData str... method Decrypt (line 49) | func (svc *aesEncryptionService) Decrypt(ciphertext, associatedData st... method Disable (line 65) | func (svc *aesEncryptionService) Disable() error { FILE: server/services/encryption/aes_builder.go type aesConfiguration (line 27) | type aesConfiguration struct method WithClients (line 38) | func (c aesConfiguration) WithClients(clients []types.EncryptionClient... method Build (line 43) | func (c aesConfiguration) Build() (types.EncryptionService, error) { function newAES (line 33) | func newAES(c *cli.Command, s store.Store) types.EncryptionServiceBuilder { FILE: server/services/encryption/aes_encryption.go method loadCipher (line 29) | func (svc *aesEncryptionService) loadCipher(password string) error { method validateKey (line 53) | func (svc *aesEncryptionService) validateKey() error { method hash (line 70) | func (svc *aesEncryptionService) hash(data []byte) ([]byte, error) { FILE: server/services/encryption/aes_state.go method initClients (line 23) | func (svc *aesEncryptionService) initClients() error { method enable (line 34) | func (svc *aesEncryptionService) enable() error { method disable (line 47) | func (svc *aesEncryptionService) disable() error { method updateCiphertextSample (line 60) | func (svc *aesEncryptionService) updateCiphertextSample() error { method deleteCiphertextSample (line 73) | func (svc *aesEncryptionService) deleteCiphertextSample() error { method callbackOnEnable (line 81) | func (svc *aesEncryptionService) callbackOnEnable() error { method callbackOnDisable (line 92) | func (svc *aesEncryptionService) callbackOnDisable() error { FILE: server/services/encryption/aes_test.go function TestShortMessageLongKey (line 26) | func TestShortMessageLongKey(t *testing.T) { function TestLongMessageShortKey (line 40) | func TestLongMessageShortKey(t *testing.T) { function TestEncryptDecryptWithAssociatedData (line 54) | func TestEncryptDecryptWithAssociatedData(t *testing.T) { function TestEncryptProducesUniqueCiphertexts (line 79) | func TestEncryptProducesUniqueCiphertexts(t *testing.T) { function TestDecryptTamperedCiphertext (line 96) | func TestDecryptTamperedCiphertext(t *testing.T) { function TestDecryptInvalidBase64 (line 119) | func TestDecryptInvalidBase64(t *testing.T) { function TestDecryptTruncatedCiphertext (line 128) | func TestDecryptTruncatedCiphertext(t *testing.T) { function TestRandomBytesUniqueness (line 146) | func TestRandomBytesUniqueness(t *testing.T) { function TestRandomBytesLength (line 157) | func TestRandomBytesLength(t *testing.T) { FILE: server/services/encryption/constants.go constant rawKeyConfigFlag (line 21) | rawKeyConfigFlag = "encryption-raw-key" constant tinkKeysetFilepathConfigFlag (line 22) | tinkKeysetFilepathConfigFlag = "encryption-tink-keyset" constant disableEncryptionConfigFlag (line 23) | disableEncryptionConfigFlag = "encryption-disable-flag" constant ciphertextSampleConfigKey (line 25) | ciphertextSampleConfigKey = "encryption-ciphertext-sample" constant keyTypeTink (line 27) | keyTypeTink = "tink" constant keyTypeRaw (line 28) | keyTypeRaw = "raw" constant keyTypeNone (line 29) | keyTypeNone = "none" constant keyIDAssociatedData (line 31) | keyIDAssociatedData = "Primary key id" constant AES_GCM_SIV_NonceSize (line 32) | AES_GCM_SIV_NonceSize = 12 constant errTemplateFailedInitializingUnencrypted (line 43) | errTemplateFailedInitializingUnencrypted = "failed initializing server i... constant errTemplateFailedInitializing (line 44) | errTemplateFailedInitializing = "failed initializing encrypti... constant errTemplateFailedEnablingEncryption (line 45) | errTemplateFailedEnablingEncryption = "failed enabling encryption: %w" constant errTemplateFailedRotatingEncryption (line 46) | errTemplateFailedRotatingEncryption = "failed rotating encryption: %w" constant errTemplateFailedDisablingEncryption (line 47) | errTemplateFailedDisablingEncryption = "failed disabling encryption:... constant errTemplateFailedLoadingServerConfig (line 48) | errTemplateFailedLoadingServerConfig = "failed to load server encryp... constant errTemplateFailedUpdatingServerConfig (line 49) | errTemplateFailedUpdatingServerConfig = "failed updating server encry... constant errTemplateFailedInitializingClients (line 50) | errTemplateFailedInitializingClients = "failed initializing encrypti... constant errTemplateFailedValidatingKey (line 51) | errTemplateFailedValidatingKey = "failed validating encryption... constant errTemplateEncryptionFailed (line 52) | errTemplateEncryptionFailed = "encryption error: %w" constant errTemplateBase64DecryptionFailed (line 53) | errTemplateBase64DecryptionFailed = "decryption error: Base64 dec... constant errTemplateDecryptionFailed (line 54) | errTemplateDecryptionFailed = "decryption error: %w" constant errMessageTemplateUnsupportedKeyType (line 57) | errMessageTemplateUnsupportedKeyType = "unsupported encryption key type:... constant errMessageCantUseBothServices (line 58) | errMessageCantUseBothServices = "cannot use raw encryption key an... constant errMessageNoKeysProvided (line 59) | errMessageNoKeysProvided = "encryption enabled but no keys p... constant errMessageFailedRotatingEncryption (line 60) | errMessageFailedRotatingEncryption = "failed rotating encryption" constant logMessageEncryptionEnabled (line 63) | logMessageEncryptionEnabled = "encryption enabled" constant logMessageEncryptionDisabled (line 64) | logMessageEncryptionDisabled = "encryption disabled" constant logMessageEncryptionKeyRegistered (line 65) | logMessageEncryptionKeyRegistered = "registered new encryption key" constant logMessageClientsInitialized (line 66) | logMessageClientsInitialized = "initialized encryption on registere... constant logMessageClientsEnabled (line 67) | logMessageClientsEnabled = "enabled encryption on registered se... constant logMessageClientsRotated (line 68) | logMessageClientsRotated = "updated encryption key on registere... constant logMessageClientsDecrypted (line 69) | logMessageClientsDecrypted = "disabled encryption on registered s... constant errTemplateTinkFailedLoadingKeyset (line 75) | errTemplateTinkFailedLoadingKeyset = "failed loading encryp... constant errTemplateTinkFailedValidatingKeyset (line 76) | errTemplateTinkFailedValidatingKeyset = "failed validating enc... constant errTemplateTinkFailedInitializeFileWatcher (line 77) | errTemplateTinkFailedInitializeFileWatcher = "failed initializing k... constant errTemplateTinkFailedSubscribeKeysetFileChanges (line 78) | errTemplateTinkFailedSubscribeKeysetFileChanges = "failed subscribing on... constant errTemplateTinkFailedOpeningKeyset (line 79) | errTemplateTinkFailedOpeningKeyset = "failed opening encryp... constant errTemplateTinkFailedReadingKeyset (line 80) | errTemplateTinkFailedReadingKeyset = "failed reading encryp... constant errTemplateTinkFailedInitializingAEAD (line 81) | errTemplateTinkFailedInitializingAEAD = "failed initializing A... constant errMessageTinkKeysetFileWatchFailed (line 84) | errMessageTinkKeysetFileWatchFailed = "failed watching encryption keyset... constant logTemplateTinkKeysetFileChanged (line 87) | logTemplateTinkKeysetFileChanged = "changes detected in encryption... constant logTemplateTinkLoadingKeyset (line 88) | logTemplateTinkLoadingKeyset = "loading encryption keyset from... constant logTemplateTinkFailedClosingKeysetFile (line 89) | logTemplateTinkFailedClosingKeysetFile = "could not close keyset file: %s" constant errTemplateAesFailedLoadingCipher (line 95) | errTemplateAesFailedLoadingCipher = "failed loading encryption cipher:... constant errTemplateAesFailedCalculatingHash (line 96) | errTemplateAesFailedCalculatingHash = "failed calculating hash: %w" constant errTemplateAesFailedGeneratingKey (line 97) | errTemplateAesFailedGeneratingKey = "failed generating key from passph... constant errTemplateAesFailedGeneratingKeyID (line 98) | errTemplateAesFailedGeneratingKeyID = "failed generating key id: %w" FILE: server/services/encryption/encryption.go type builder (line 26) | type builder struct method WithClient (line 36) | func (b builder) WithClient(client types.EncryptionClient) types.Encry... method Build (line 41) | func (b builder) Build() error { function Encryption (line 32) | func Encryption(c *cli.Command, s store.Store) types.EncryptionBuilder { FILE: server/services/encryption/encryption_builder.go method getService (line 25) | func (b builder) getService(keyType string) (types.EncryptionService, er... method isEnabled (line 42) | func (b builder) isEnabled() (bool, error) { method detectKeyType (line 50) | func (b builder) detectKeyType() (string, error) { method serviceBuilder (line 64) | func (b builder) serviceBuilder(keyType string) (types.EncryptionService... FILE: server/services/encryption/no_encryption.go type noEncryptionBuilder (line 19) | type noEncryptionBuilder struct method WithClients (line 23) | func (b noEncryptionBuilder) WithClients(clients []types.EncryptionCli... method Build (line 28) | func (b noEncryptionBuilder) Build() (types.EncryptionService, error) { type noEncryption (line 39) | type noEncryption struct method Encrypt (line 41) | func (svc *noEncryption) Encrypt(plaintext, _ string) (string, error) { method Decrypt (line 45) | func (svc *noEncryption) Decrypt(ciphertext, _ string) (string, error) { method Disable (line 49) | func (svc *noEncryption) Disable() error { FILE: server/services/encryption/tink.go type tinkEncryptionService (line 28) | type tinkEncryptionService struct method Encrypt (line 37) | func (svc *tinkEncryptionService) Encrypt(plaintext, associatedData st... method Decrypt (line 47) | func (svc *tinkEncryptionService) Decrypt(ciphertext, associatedData s... method Disable (line 60) | func (svc *tinkEncryptionService) Disable() error { FILE: server/services/encryption/tink_builder.go type tinkConfiguration (line 27) | type tinkConfiguration struct method WithClients (line 38) | func (c tinkConfiguration) WithClients(clients []types.EncryptionClien... method Build (line 43) | func (c tinkConfiguration) Build() (types.EncryptionService, error) { function newTink (line 33) | func newTink(c *cli.Command, s store.Store) types.EncryptionServiceBuild... FILE: server/services/encryption/tink_keyset.go method loadKeyset (line 31) | func (svc *tinkEncryptionService) loadKeyset() error { method validateKeyset (line 59) | func (svc *tinkEncryptionService) validateKeyset() error { FILE: server/services/encryption/tink_keyset_watcher.go method initFileWatcher (line 25) | func (svc *tinkEncryptionService) initFileWatcher() error { method handleFileEvents (line 40) | func (svc *tinkEncryptionService) handleFileEvents() { FILE: server/services/encryption/tink_state.go method enable (line 24) | func (svc *tinkEncryptionService) enable() error { method disable (line 37) | func (svc *tinkEncryptionService) disable() error { method rotate (line 50) | func (svc *tinkEncryptionService) rotate() error { method updateCiphertextSample (line 82) | func (svc *tinkEncryptionService) updateCiphertextSample() error { method deleteCiphertextSample (line 96) | func (svc *tinkEncryptionService) deleteCiphertextSample() error { method initClients (line 103) | func (svc *tinkEncryptionService) initClients() error { method callbackOnEnable (line 113) | func (svc *tinkEncryptionService) callbackOnEnable() error { method callbackOnRotation (line 123) | func (svc *tinkEncryptionService) callbackOnRotation() error { method callbackOnDisable (line 133) | func (svc *tinkEncryptionService) callbackOnDisable() error { FILE: server/services/encryption/types/encryption.go type EncryptionBuilder (line 18) | type EncryptionBuilder interface type EncryptionServiceBuilder (line 23) | type EncryptionServiceBuilder interface type EncryptionService (line 28) | type EncryptionService interface type EncryptionClient (line 34) | type EncryptionClient interface FILE: server/services/encryption/wrapper/store/constants.go constant errMessageTemplateFailedToEnable (line 18) | errMessageTemplateFailedToEnable = "failed enabling secret store ... constant errMessageTemplateFailedToMigrate (line 19) | errMessageTemplateFailedToMigrate = "failed migrating secret store... constant errMessageTemplateFailedToEncryptSecret (line 20) | errMessageTemplateFailedToEncryptSecret = "failed to encrypt secret id=%... constant errMessageTemplateFailedToDecryptSecret (line 21) | errMessageTemplateFailedToDecryptSecret = "failed to decrypt secret id=%... constant errMessageTemplateStorageError (line 22) | errMessageTemplateStorageError = "Storage error: could not upda... constant errMessageTemplateFailedToRollbackSecretCreation (line 24) | errMessageTemplateFailedToRollbackSecretCreation = "failed creating secr... constant errMessageInitSeveralTimes (line 26) | errMessageInitSeveralTimes = "attempt to init encrypted storage more tha... constant logMessageEnablingSecretsEncryption (line 28) | logMessageEnablingSecretsEncryption = "Encrypting all secrets in... constant logMessageEnablingSecretsEncryptionSuccess (line 29) | logMessageEnablingSecretsEncryptionSuccess = "All secrets are encrypted" constant logMessageMigratingSecretsEncryption (line 30) | logMessageMigratingSecretsEncryption = "Migrating encryption keys" constant logMessageMigratingSecretsEncryptionSuccess (line 31) | logMessageMigratingSecretsEncryptionSuccess = "Secrets encryption migrat... FILE: server/services/encryption/wrapper/store/secret_store.go method SecretFind (line 23) | func (wrapper *EncryptedSecretStore) SecretFind(repo *model.Repo, s stri... method SecretList (line 35) | func (wrapper *EncryptedSecretStore) SecretList(repo *model.Repo, b bool... method SecretCreate (line 47) | func (wrapper *EncryptedSecretStore) SecretCreate(secret *model.Secret) ... method SecretUpdate (line 80) | func (wrapper *EncryptedSecretStore) SecretUpdate(secret *model.Secret) ... method SecretDelete (line 98) | func (wrapper *EncryptedSecretStore) SecretDelete(secret *model.Secret) ... method OrgSecretFind (line 102) | func (wrapper *EncryptedSecretStore) OrgSecretFind(s int64, s2 string) (... method OrgSecretList (line 115) | func (wrapper *EncryptedSecretStore) OrgSecretList(s int64, p *model.Lis... method GlobalSecretFind (line 128) | func (wrapper *EncryptedSecretStore) GlobalSecretFind(s string) (*model.... method GlobalSecretList (line 141) | func (wrapper *EncryptedSecretStore) GlobalSecretList(p *model.ListOptio... method SecretListAll (line 154) | func (wrapper *EncryptedSecretStore) SecretListAll() ([]*model.Secret, e... FILE: server/services/encryption/wrapper/store/secret_store_wrapper.go type EncryptedSecretStore (line 28) | type EncryptedSecretStore struct method SetEncryptionService (line 41) | func (wrapper *EncryptedSecretStore) SetEncryptionService(service type... method EnableEncryption (line 49) | func (wrapper *EncryptedSecretStore) EnableEncryption() error { method MigrateEncryption (line 67) | func (wrapper *EncryptedSecretStore) MigrateEncryption(newEncryptionSe... method encrypt (line 89) | func (wrapper *EncryptedSecretStore) encrypt(secret *model.Secret) err... method decrypt (line 98) | func (wrapper *EncryptedSecretStore) decrypt(secret *model.Secret) err... method decryptList (line 107) | func (wrapper *EncryptedSecretStore) decryptList(secrets []*model.Secr... method _save (line 117) | func (wrapper *EncryptedSecretStore) _save(secret *model.Secret) error { function NewSecretStore (line 36) | func NewSecretStore(secretStore model.SecretStore) *EncryptedSecretStore { FILE: server/services/environment/mocks/mock_Service.go function NewMockService (line 14) | func NewMockService(t interface { type MockService (line 27) | type MockService struct method EXPECT (line 35) | func (_m *MockService) EXPECT() *MockService_Expecter { method EnvironList (line 40) | func (_mock *MockService) EnvironList(repo *model.Repo) ([]*model.Envi... type MockService_Expecter (line 31) | type MockService_Expecter struct method EnvironList (line 74) | func (_e *MockService_Expecter) EnvironList(repo interface{}) *MockSer... type MockService_EnvironList_Call (line 68) | type MockService_EnvironList_Call struct method Run (line 78) | func (_c *MockService_EnvironList_Call) Run(run func(repo *model.Repo)... method Return (line 91) | func (_c *MockService_EnvironList_Call) Return(environs []*model.Envir... method RunAndReturn (line 96) | func (_c *MockService_EnvironList_Call) RunAndReturn(run func(repo *mo... FILE: server/services/environment/parse.go type builtin (line 25) | type builtin struct method EnvironList (line 45) | func (b *builtin) EnvironList(_ *model.Repo) ([]*model.Environ, error) { function Parse (line 30) | func Parse(params []string) Service { FILE: server/services/environment/parse_test.go function TestParse (line 23) | func TestParse(t *testing.T) { FILE: server/services/environment/service.go type Service (line 20) | type Service interface FILE: server/services/log/addon/client.go function Load (line 33) | func Load(file string) (service_log.Service, error) { type RPC (line 60) | type RPC struct method LogFind (line 64) | func (g *RPC) LogFind(step *model.Step) ([]*model.LogEntry, error) { method LogAppend (line 84) | func (g *RPC) LogAppend(step *model.Step, logEntries []*model.LogEntry... method LogDelete (line 96) | func (g *RPC) LogDelete(step *model.Step) error { method StepFinished (line 105) | func (g *RPC) StepFinished(step *model.Step) { FILE: server/services/log/addon/plugin.go constant pluginKey (line 25) | pluginKey = "log" type Plugin (line 33) | type Plugin struct method Server (line 37) | func (p *Plugin) Server(*plugin.MuxBroker) (any, error) { method Client (line 41) | func (*Plugin) Client(_ *plugin.MuxBroker, c *rpc.Client) (any, error) { FILE: server/services/log/addon/server.go function Serve (line 26) | func Serve(impl log.Service) { type RPCServer (line 35) | type RPCServer struct method LogFind (line 44) | func (s *RPCServer) LogFind(args []byte, resp *[]byte) error { method LogAppend (line 58) | func (s *RPCServer) LogAppend(args []byte, resp *[]byte) error { method LogDelete (line 68) | func (s *RPCServer) LogDelete(args []byte, resp *[]byte) error { method StepFinished (line 78) | func (s *RPCServer) StepFinished(args []byte, resp *[]byte) error { type argumentsAppend (line 39) | type argumentsAppend struct FILE: server/services/log/file/file.go constant maxLineLength (line 34) | maxLineLength int = (pipeline.MaxLogLineLength/3)*4 + (64 * 1024) type logStore (line 37) | type logStore struct method filePath (line 54) | func (l logStore) filePath(id int64) string { method LogFind (line 58) | func (l logStore) LogFind(step *model.Step) ([]*model.LogEntry, error) { method LogAppend (line 90) | func (l logStore) LogAppend(step *model.Step, logEntries []*model.LogE... method LogDelete (line 117) | func (l logStore) LogDelete(step *model.Step) error { method StepFinished (line 121) | func (l logStore) StepFinished(_ *model.Step) {} function NewLogStore (line 41) | func NewLogStore(base string) (service_log.Service, error) { FILE: server/services/log/mocks/mock_Service.go function NewMockService (line 14) | func NewMockService(t interface { type MockService (line 27) | type MockService struct method EXPECT (line 35) | func (_m *MockService) EXPECT() *MockService_Expecter { method LogAppend (line 40) | func (_mock *MockService) LogAppend(step *model.Step, logEntries []*mo... method LogDelete (line 97) | func (_mock *MockService) LogDelete(step *model.Step) error { method LogFind (line 148) | func (_mock *MockService) LogFind(step *model.Step) ([]*model.LogEntry... method StepFinished (line 210) | func (_mock *MockService) StepFinished(step *model.Step) { type MockService_Expecter (line 31) | type MockService_Expecter struct method LogAppend (line 64) | func (_e *MockService_Expecter) LogAppend(step interface{}, logEntries... method LogDelete (line 120) | func (_e *MockService_Expecter) LogDelete(step interface{}) *MockServi... method LogFind (line 182) | func (_e *MockService_Expecter) LogFind(step interface{}) *MockService... method StepFinished (line 222) | func (_e *MockService_Expecter) StepFinished(step interface{}) *MockSe... type MockService_LogAppend_Call (line 57) | type MockService_LogAppend_Call struct method Run (line 68) | func (_c *MockService_LogAppend_Call) Run(run func(step *model.Step, l... method Return (line 86) | func (_c *MockService_LogAppend_Call) Return(err error) *MockService_L... method RunAndReturn (line 91) | func (_c *MockService_LogAppend_Call) RunAndReturn(run func(step *mode... type MockService_LogDelete_Call (line 114) | type MockService_LogDelete_Call struct method Run (line 124) | func (_c *MockService_LogDelete_Call) Run(run func(step *model.Step)) ... method Return (line 137) | func (_c *MockService_LogDelete_Call) Return(err error) *MockService_L... method RunAndReturn (line 142) | func (_c *MockService_LogDelete_Call) RunAndReturn(run func(step *mode... type MockService_LogFind_Call (line 176) | type MockService_LogFind_Call struct method Run (line 186) | func (_c *MockService_LogFind_Call) Run(run func(step *model.Step)) *M... method Return (line 199) | func (_c *MockService_LogFind_Call) Return(logEntrys []*model.LogEntry... method RunAndReturn (line 204) | func (_c *MockService_LogFind_Call) RunAndReturn(run func(step *model.... type MockService_StepFinished_Call (line 216) | type MockService_StepFinished_Call struct method Run (line 226) | func (_c *MockService_StepFinished_Call) Run(run func(step *model.Step... method Return (line 239) | func (_c *MockService_StepFinished_Call) Return() *MockService_StepFin... method RunAndReturn (line 244) | func (_c *MockService_StepFinished_Call) RunAndReturn(run func(step *m... FILE: server/services/log/service.go type Service (line 19) | type Service interface FILE: server/services/manager.go constant forgeCacheTTL (line 35) | forgeCacheTTL = 10 * time.Minute type SetupForge (line 37) | type SetupForge type Manager (line 39) | type Manager interface type manager (line 52) | type manager struct method SignaturePublicKey (line 100) | func (m *manager) SignaturePublicKey() crypto.PublicKey { method SecretServiceFromRepo (line 104) | func (m *manager) SecretServiceFromRepo(repo *model.Repo) secret.Servi... method SecretService (line 112) | func (m *manager) SecretService() secret.Service { method RegistryServiceFromRepo (line 116) | func (m *manager) RegistryServiceFromRepo(repo *model.Repo) registry.S... method RegistryService (line 123) | func (m *manager) RegistryService() registry.Service { method ConfigServiceFromRepo (line 127) | func (m *manager) ConfigServiceFromRepo(repo *model.Repo) config.Servi... method EnvironmentService (line 138) | func (m *manager) EnvironmentService() environment.Service { method ForgeFromRepo (line 142) | func (m *manager) ForgeFromRepo(repo *model.Repo) (forge.Forge, error) { method ForgeFromUser (line 146) | func (m *manager) ForgeFromUser(user *model.User) (forge.Forge, error) { method ForgeByID (line 150) | func (m *manager) ForgeByID(id int64) (forge.Forge, error) { function NewManager (line 65) | func NewManager(c *cli.Command, store store.Store, setupForge SetupForge... FILE: server/services/mocks/mock_Manager.go function NewMockManager (line 21) | func NewMockManager(t interface { type MockManager (line 34) | type MockManager struct method EXPECT (line 42) | func (_m *MockManager) EXPECT() *MockManager_Expecter { method ConfigServiceFromRepo (line 47) | func (_mock *MockManager) ConfigServiceFromRepo(repo *model.Repo) conf... method EnvironmentService (line 100) | func (_mock *MockManager) EnvironmentService() environment.Service { method ForgeByID (line 146) | func (_mock *MockManager) ForgeByID(forgeID int64) (forge.Forge, error) { method ForgeFromRepo (line 208) | func (_mock *MockManager) ForgeFromRepo(repo *model.Repo) (forge.Forge... method ForgeFromUser (line 270) | func (_mock *MockManager) ForgeFromUser(user *model.User) (forge.Forge... method RegistryService (line 332) | func (_mock *MockManager) RegistryService() registry.Service { method RegistryServiceFromRepo (line 378) | func (_mock *MockManager) RegistryServiceFromRepo(repo *model.Repo) re... method SecretService (line 431) | func (_mock *MockManager) SecretService() secret.Service { method SecretServiceFromRepo (line 477) | func (_mock *MockManager) SecretServiceFromRepo(repo *model.Repo) secr... method SignaturePublicKey (line 530) | func (_mock *MockManager) SignaturePublicKey() crypto.PublicKey { type MockManager_Expecter (line 38) | type MockManager_Expecter struct method ConfigServiceFromRepo (line 72) | func (_e *MockManager_Expecter) ConfigServiceFromRepo(repo interface{}... method EnvironmentService (line 124) | func (_e *MockManager_Expecter) EnvironmentService() *MockManager_Envi... method ForgeByID (line 180) | func (_e *MockManager_Expecter) ForgeByID(forgeID interface{}) *MockMa... method ForgeFromRepo (line 242) | func (_e *MockManager_Expecter) ForgeFromRepo(repo interface{}) *MockM... method ForgeFromUser (line 304) | func (_e *MockManager_Expecter) ForgeFromUser(user interface{}) *MockM... method RegistryService (line 356) | func (_e *MockManager_Expecter) RegistryService() *MockManager_Registr... method RegistryServiceFromRepo (line 403) | func (_e *MockManager_Expecter) RegistryServiceFromRepo(repo interface... method SecretService (line 455) | func (_e *MockManager_Expecter) SecretService() *MockManager_SecretSer... method SecretServiceFromRepo (line 502) | func (_e *MockManager_Expecter) SecretServiceFromRepo(repo interface{}... method SignaturePublicKey (line 554) | func (_e *MockManager_Expecter) SignaturePublicKey() *MockManager_Sign... type MockManager_ConfigServiceFromRepo_Call (line 66) | type MockManager_ConfigServiceFromRepo_Call struct method Run (line 76) | func (_c *MockManager_ConfigServiceFromRepo_Call) Run(run func(repo *m... method Return (line 89) | func (_c *MockManager_ConfigServiceFromRepo_Call) Return(service confi... method RunAndReturn (line 94) | func (_c *MockManager_ConfigServiceFromRepo_Call) RunAndReturn(run fun... type MockManager_EnvironmentService_Call (line 119) | type MockManager_EnvironmentService_Call struct method Run (line 128) | func (_c *MockManager_EnvironmentService_Call) Run(run func()) *MockMa... method Return (line 135) | func (_c *MockManager_EnvironmentService_Call) Return(service environm... method RunAndReturn (line 140) | func (_c *MockManager_EnvironmentService_Call) RunAndReturn(run func()... type MockManager_ForgeByID_Call (line 174) | type MockManager_ForgeByID_Call struct method Run (line 184) | func (_c *MockManager_ForgeByID_Call) Run(run func(forgeID int64)) *Mo... method Return (line 197) | func (_c *MockManager_ForgeByID_Call) Return(forge1 forge.Forge, err e... method RunAndReturn (line 202) | func (_c *MockManager_ForgeByID_Call) RunAndReturn(run func(forgeID in... type MockManager_ForgeFromRepo_Call (line 236) | type MockManager_ForgeFromRepo_Call struct method Run (line 246) | func (_c *MockManager_ForgeFromRepo_Call) Run(run func(repo *model.Rep... method Return (line 259) | func (_c *MockManager_ForgeFromRepo_Call) Return(forge1 forge.Forge, e... method RunAndReturn (line 264) | func (_c *MockManager_ForgeFromRepo_Call) RunAndReturn(run func(repo *... type MockManager_ForgeFromUser_Call (line 298) | type MockManager_ForgeFromUser_Call struct method Run (line 308) | func (_c *MockManager_ForgeFromUser_Call) Run(run func(user *model.Use... method Return (line 321) | func (_c *MockManager_ForgeFromUser_Call) Return(forge1 forge.Forge, e... method RunAndReturn (line 326) | func (_c *MockManager_ForgeFromUser_Call) RunAndReturn(run func(user *... type MockManager_RegistryService_Call (line 351) | type MockManager_RegistryService_Call struct method Run (line 360) | func (_c *MockManager_RegistryService_Call) Run(run func()) *MockManag... method Return (line 367) | func (_c *MockManager_RegistryService_Call) Return(service registry.Se... method RunAndReturn (line 372) | func (_c *MockManager_RegistryService_Call) RunAndReturn(run func() re... type MockManager_RegistryServiceFromRepo_Call (line 397) | type MockManager_RegistryServiceFromRepo_Call struct method Run (line 407) | func (_c *MockManager_RegistryServiceFromRepo_Call) Run(run func(repo ... method Return (line 420) | func (_c *MockManager_RegistryServiceFromRepo_Call) Return(service reg... method RunAndReturn (line 425) | func (_c *MockManager_RegistryServiceFromRepo_Call) RunAndReturn(run f... type MockManager_SecretService_Call (line 450) | type MockManager_SecretService_Call struct method Run (line 459) | func (_c *MockManager_SecretService_Call) Run(run func()) *MockManager... method Return (line 466) | func (_c *MockManager_SecretService_Call) Return(service secret.Servic... method RunAndReturn (line 471) | func (_c *MockManager_SecretService_Call) RunAndReturn(run func() secr... type MockManager_SecretServiceFromRepo_Call (line 496) | type MockManager_SecretServiceFromRepo_Call struct method Run (line 506) | func (_c *MockManager_SecretServiceFromRepo_Call) Run(run func(repo *m... method Return (line 519) | func (_c *MockManager_SecretServiceFromRepo_Call) Return(service secre... method RunAndReturn (line 524) | func (_c *MockManager_SecretServiceFromRepo_Call) RunAndReturn(run fun... type MockManager_SignaturePublicKey_Call (line 549) | type MockManager_SignaturePublicKey_Call struct method Run (line 558) | func (_c *MockManager_SignaturePublicKey_Call) Run(run func()) *MockMa... method Return (line 565) | func (_c *MockManager_SignaturePublicKey_Call) Return(publicKey crypto... method RunAndReturn (line 570) | func (_c *MockManager_SignaturePublicKey_Call) RunAndReturn(run func()... FILE: server/services/permissions/admins.go function NewAdmins (line 24) | func NewAdmins(admins []string) *Admins { type Admins (line 32) | type Admins struct method IsAdmin (line 36) | func (a *Admins) IsAdmin(user *model.User) bool { FILE: server/services/permissions/admins_test.go function TestAdmins (line 25) | func TestAdmins(t *testing.T) { FILE: server/services/permissions/orgs.go function NewOrgs (line 24) | func NewOrgs(orgs []string) *Orgs { type Orgs (line 35) | type Orgs struct method IsMember (line 40) | func (o *Orgs) IsMember(teams []*model.Team) bool { FILE: server/services/permissions/orgs_test.go function TestOrgs (line 25) | func TestOrgs(t *testing.T) { FILE: server/services/permissions/repo_owners.go function NewOwnersAllowlist (line 24) | func NewOwnersAllowlist(owners []string) *OwnersAllowlist { type OwnersAllowlist (line 32) | type OwnersAllowlist struct method IsAllowed (line 36) | func (o *OwnersAllowlist) IsAllowed(repo *model.Repo) bool { FILE: server/services/permissions/repo_owners_test.go function TestOwnersAllowlist (line 25) | func TestOwnersAllowlist(t *testing.T) { FILE: server/services/registry/combined.go type combined (line 25) | type combined struct method RegistryFind (line 38) | func (c *combined) RegistryFind(repo *model.Repo, addr string) (*model... method RegistryList (line 42) | func (c *combined) RegistryList(repo *model.Repo, p *model.ListOptions... method RegistryListPipeline (line 46) | func (c *combined) RegistryListPipeline(ctx context.Context, repo *mod... method RegistryCreate (line 78) | func (c *combined) RegistryCreate(repo *model.Repo, registry *model.Re... method RegistryUpdate (line 82) | func (c *combined) RegistryUpdate(repo *model.Repo, registry *model.Re... method RegistryDelete (line 86) | func (c *combined) RegistryDelete(repo *model.Repo, addr string) error { method OrgRegistryFind (line 90) | func (c *combined) OrgRegistryFind(owner int64, addr string) (*model.R... method OrgRegistryList (line 94) | func (c *combined) OrgRegistryList(owner int64, p *model.ListOptions) ... method OrgRegistryCreate (line 98) | func (c *combined) OrgRegistryCreate(owner int64, registry *model.Regi... method OrgRegistryUpdate (line 102) | func (c *combined) OrgRegistryUpdate(owner int64, registry *model.Regi... method OrgRegistryDelete (line 106) | func (c *combined) OrgRegistryDelete(owner int64, addr string) error { method GlobalRegistryFind (line 110) | func (c *combined) GlobalRegistryFind(addr string) (*model.Registry, e... method GlobalRegistryList (line 126) | func (c *combined) GlobalRegistryList(p *model.ListOptions) ([]*model.... method GlobalRegistryCreate (line 158) | func (c *combined) GlobalRegistryCreate(registry *model.Registry) error { method GlobalRegistryUpdate (line 162) | func (c *combined) GlobalRegistryUpdate(registry *model.Registry) error { method GlobalRegistryDelete (line 166) | func (c *combined) GlobalRegistryDelete(addr string) error { function NewCombined (line 30) | func NewCombined(dbRegistry Service, registries ...ReadOnlyService) Serv... FILE: server/services/registry/combined_test.go function TestCombinedRegistryListPipeline (line 29) | func TestCombinedRegistryListPipeline(t *testing.T) { FILE: server/services/registry/db.go type db (line 24) | type db struct method RegistryFind (line 33) | func (d *db) RegistryFind(repo *model.Repo, addr string) (*model.Regis... method RegistryList (line 37) | func (d *db) RegistryList(repo *model.Repo, p *model.ListOptions) ([]*... method RegistryListPipeline (line 41) | func (d *db) RegistryListPipeline(_ context.Context, repo *model.Repo,... method RegistryCreate (line 74) | func (d *db) RegistryCreate(_ *model.Repo, in *model.Registry) error { method RegistryUpdate (line 78) | func (d *db) RegistryUpdate(_ *model.Repo, in *model.Registry) error { method RegistryDelete (line 82) | func (d *db) RegistryDelete(repo *model.Repo, addr string) error { method OrgRegistryFind (line 90) | func (d *db) OrgRegistryFind(owner int64, name string) (*model.Registr... method OrgRegistryList (line 94) | func (d *db) OrgRegistryList(owner int64, p *model.ListOptions) ([]*mo... method OrgRegistryCreate (line 98) | func (d *db) OrgRegistryCreate(_ int64, in *model.Registry) error { method OrgRegistryUpdate (line 102) | func (d *db) OrgRegistryUpdate(_ int64, in *model.Registry) error { method OrgRegistryDelete (line 106) | func (d *db) OrgRegistryDelete(owner int64, addr string) error { method GlobalRegistryFind (line 114) | func (d *db) GlobalRegistryFind(addr string) (*model.Registry, error) { method GlobalRegistryList (line 118) | func (d *db) GlobalRegistryList(p *model.ListOptions) ([]*model.Regist... method GlobalRegistryCreate (line 122) | func (d *db) GlobalRegistryCreate(in *model.Registry) error { method GlobalRegistryUpdate (line 126) | func (d *db) GlobalRegistryUpdate(in *model.Registry) error { method GlobalRegistryDelete (line 130) | func (d *db) GlobalRegistryDelete(addr string) error { function NewDB (line 29) | func NewDB(store store.Store) Service { FILE: server/services/registry/filesystem.go type filesystem (line 31) | type filesystem struct method GlobalRegistryFind (line 90) | func (f *filesystem) GlobalRegistryFind(addr string) (*model.Registry,... method GlobalRegistryList (line 105) | func (f *filesystem) GlobalRegistryList(p *model.ListOptions) ([]*mode... function NewFilesystem (line 35) | func NewFilesystem(path string) ReadOnlyService { function parseDockerConfig (line 39) | func parseDockerConfig(path string) ([]*model.Registry, error) { function decodeAuth (line 114) | func decodeAuth(authStr string) (string, string, error) { FILE: server/services/registry/http.go type httpExtension (line 26) | type httpExtension struct method RegistryListPipeline (line 54) | func (h *httpExtension) RegistryListPipeline(ctx context.Context, repo... type requestStructure (line 32) | type requestStructure struct type responseStructure (line 38) | type responseStructure struct type registryData (line 42) | type registryData struct function NewHTTP (line 49) | func NewHTTP(endpoint string, client *utils.Client, includeNetrc bool) *... FILE: server/services/registry/mocks/mock_ReadOnlyService.go function NewMockReadOnlyService (line 14) | func NewMockReadOnlyService(t interface { type MockReadOnlyService (line 27) | type MockReadOnlyService struct method EXPECT (line 35) | func (_m *MockReadOnlyService) EXPECT() *MockReadOnlyService_Expecter { method GlobalRegistryFind (line 40) | func (_mock *MockReadOnlyService) GlobalRegistryFind(s string) (*model... method GlobalRegistryList (line 102) | func (_mock *MockReadOnlyService) GlobalRegistryList(listOptions *mode... type MockReadOnlyService_Expecter (line 31) | type MockReadOnlyService_Expecter struct method GlobalRegistryFind (line 74) | func (_e *MockReadOnlyService_Expecter) GlobalRegistryFind(s interface... method GlobalRegistryList (line 136) | func (_e *MockReadOnlyService_Expecter) GlobalRegistryList(listOptions... type MockReadOnlyService_GlobalRegistryFind_Call (line 68) | type MockReadOnlyService_GlobalRegistryFind_Call struct method Run (line 78) | func (_c *MockReadOnlyService_GlobalRegistryFind_Call) Run(run func(s ... method Return (line 91) | func (_c *MockReadOnlyService_GlobalRegistryFind_Call) Return(registry... method RunAndReturn (line 96) | func (_c *MockReadOnlyService_GlobalRegistryFind_Call) RunAndReturn(ru... type MockReadOnlyService_GlobalRegistryList_Call (line 130) | type MockReadOnlyService_GlobalRegistryList_Call struct method Run (line 140) | func (_c *MockReadOnlyService_GlobalRegistryList_Call) Run(run func(li... method Return (line 153) | func (_c *MockReadOnlyService_GlobalRegistryList_Call) Return(registry... method RunAndReturn (line 158) | func (_c *MockReadOnlyService_GlobalRegistryList_Call) RunAndReturn(ru... FILE: server/services/registry/mocks/mock_Service.go function NewMockService (line 16) | func NewMockService(t interface { type MockService (line 29) | type MockService struct method EXPECT (line 37) | func (_m *MockService) EXPECT() *MockService_Expecter { method GlobalRegistryCreate (line 42) | func (_mock *MockService) GlobalRegistryCreate(registry *model.Registr... method GlobalRegistryDelete (line 93) | func (_mock *MockService) GlobalRegistryDelete(s string) error { method GlobalRegistryFind (line 144) | func (_mock *MockService) GlobalRegistryFind(s string) (*model.Registr... method GlobalRegistryList (line 206) | func (_mock *MockService) GlobalRegistryList(listOptions *model.ListOp... method GlobalRegistryUpdate (line 268) | func (_mock *MockService) GlobalRegistryUpdate(registry *model.Registr... method OrgRegistryCreate (line 319) | func (_mock *MockService) OrgRegistryCreate(n int64, registry *model.R... method OrgRegistryDelete (line 376) | func (_mock *MockService) OrgRegistryDelete(n int64, s string) error { method OrgRegistryFind (line 433) | func (_mock *MockService) OrgRegistryFind(n int64, s string) (*model.R... method OrgRegistryList (line 501) | func (_mock *MockService) OrgRegistryList(n int64, listOptions *model.... method OrgRegistryUpdate (line 569) | func (_mock *MockService) OrgRegistryUpdate(n int64, registry *model.R... method RegistryCreate (line 626) | func (_mock *MockService) RegistryCreate(repo *model.Repo, registry *m... method RegistryDelete (line 683) | func (_mock *MockService) RegistryDelete(repo *model.Repo, s string) e... method RegistryFind (line 740) | func (_mock *MockService) RegistryFind(repo *model.Repo, s string) (*m... method RegistryList (line 808) | func (_mock *MockService) RegistryList(repo *model.Repo, listOptions *... method RegistryListPipeline (line 876) | func (_mock *MockService) RegistryListPipeline(context1 context.Contex... method RegistryUpdate (line 956) | func (_mock *MockService) RegistryUpdate(repo *model.Repo, registry *m... type MockService_Expecter (line 33) | type MockService_Expecter struct method GlobalRegistryCreate (line 65) | func (_e *MockService_Expecter) GlobalRegistryCreate(registry interfac... method GlobalRegistryDelete (line 116) | func (_e *MockService_Expecter) GlobalRegistryDelete(s interface{}) *M... method GlobalRegistryFind (line 178) | func (_e *MockService_Expecter) GlobalRegistryFind(s interface{}) *Moc... method GlobalRegistryList (line 240) | func (_e *MockService_Expecter) GlobalRegistryList(listOptions interfa... method GlobalRegistryUpdate (line 291) | func (_e *MockService_Expecter) GlobalRegistryUpdate(registry interfac... method OrgRegistryCreate (line 343) | func (_e *MockService_Expecter) OrgRegistryCreate(n interface{}, regis... method OrgRegistryDelete (line 400) | func (_e *MockService_Expecter) OrgRegistryDelete(n interface{}, s int... method OrgRegistryFind (line 468) | func (_e *MockService_Expecter) OrgRegistryFind(n interface{}, s inter... method OrgRegistryList (line 536) | func (_e *MockService_Expecter) OrgRegistryList(n interface{}, listOpt... method OrgRegistryUpdate (line 593) | func (_e *MockService_Expecter) OrgRegistryUpdate(n interface{}, regis... method RegistryCreate (line 650) | func (_e *MockService_Expecter) RegistryCreate(repo interface{}, regis... method RegistryDelete (line 707) | func (_e *MockService_Expecter) RegistryDelete(repo interface{}, s int... method RegistryFind (line 775) | func (_e *MockService_Expecter) RegistryFind(repo interface{}, s inter... method RegistryList (line 843) | func (_e *MockService_Expecter) RegistryList(repo interface{}, listOpt... method RegistryListPipeline (line 913) | func (_e *MockService_Expecter) RegistryListPipeline(context1 interfac... method RegistryUpdate (line 980) | func (_e *MockService_Expecter) RegistryUpdate(repo interface{}, regis... type MockService_GlobalRegistryCreate_Call (line 59) | type MockService_GlobalRegistryCreate_Call struct method Run (line 69) | func (_c *MockService_GlobalRegistryCreate_Call) Run(run func(registry... method Return (line 82) | func (_c *MockService_GlobalRegistryCreate_Call) Return(err error) *Mo... method RunAndReturn (line 87) | func (_c *MockService_GlobalRegistryCreate_Call) RunAndReturn(run func... type MockService_GlobalRegistryDelete_Call (line 110) | type MockService_GlobalRegistryDelete_Call struct method Run (line 120) | func (_c *MockService_GlobalRegistryDelete_Call) Run(run func(s string... method Return (line 133) | func (_c *MockService_GlobalRegistryDelete_Call) Return(err error) *Mo... method RunAndReturn (line 138) | func (_c *MockService_GlobalRegistryDelete_Call) RunAndReturn(run func... type MockService_GlobalRegistryFind_Call (line 172) | type MockService_GlobalRegistryFind_Call struct method Run (line 182) | func (_c *MockService_GlobalRegistryFind_Call) Run(run func(s string))... method Return (line 195) | func (_c *MockService_GlobalRegistryFind_Call) Return(registry *model.... method RunAndReturn (line 200) | func (_c *MockService_GlobalRegistryFind_Call) RunAndReturn(run func(s... type MockService_GlobalRegistryList_Call (line 234) | type MockService_GlobalRegistryList_Call struct method Run (line 244) | func (_c *MockService_GlobalRegistryList_Call) Run(run func(listOption... method Return (line 257) | func (_c *MockService_GlobalRegistryList_Call) Return(registrys []*mod... method RunAndReturn (line 262) | func (_c *MockService_GlobalRegistryList_Call) RunAndReturn(run func(l... type MockService_GlobalRegistryUpdate_Call (line 285) | type MockService_GlobalRegistryUpdate_Call struct method Run (line 295) | func (_c *MockService_GlobalRegistryUpdate_Call) Run(run func(registry... method Return (line 308) | func (_c *MockService_GlobalRegistryUpdate_Call) Return(err error) *Mo... method RunAndReturn (line 313) | func (_c *MockService_GlobalRegistryUpdate_Call) RunAndReturn(run func... type MockService_OrgRegistryCreate_Call (line 336) | type MockService_OrgRegistryCreate_Call struct method Run (line 347) | func (_c *MockService_OrgRegistryCreate_Call) Run(run func(n int64, re... method Return (line 365) | func (_c *MockService_OrgRegistryCreate_Call) Return(err error) *MockS... method RunAndReturn (line 370) | func (_c *MockService_OrgRegistryCreate_Call) RunAndReturn(run func(n ... type MockService_OrgRegistryDelete_Call (line 393) | type MockService_OrgRegistryDelete_Call struct method Run (line 404) | func (_c *MockService_OrgRegistryDelete_Call) Run(run func(n int64, s ... method Return (line 422) | func (_c *MockService_OrgRegistryDelete_Call) Return(err error) *MockS... method RunAndReturn (line 427) | func (_c *MockService_OrgRegistryDelete_Call) RunAndReturn(run func(n ... type MockService_OrgRegistryFind_Call (line 461) | type MockService_OrgRegistryFind_Call struct method Run (line 472) | func (_c *MockService_OrgRegistryFind_Call) Run(run func(n int64, s st... method Return (line 490) | func (_c *MockService_OrgRegistryFind_Call) Return(registry *model.Reg... method RunAndReturn (line 495) | func (_c *MockService_OrgRegistryFind_Call) RunAndReturn(run func(n in... type MockService_OrgRegistryList_Call (line 529) | type MockService_OrgRegistryList_Call struct method Run (line 540) | func (_c *MockService_OrgRegistryList_Call) Run(run func(n int64, list... method Return (line 558) | func (_c *MockService_OrgRegistryList_Call) Return(registrys []*model.... method RunAndReturn (line 563) | func (_c *MockService_OrgRegistryList_Call) RunAndReturn(run func(n in... type MockService_OrgRegistryUpdate_Call (line 586) | type MockService_OrgRegistryUpdate_Call struct method Run (line 597) | func (_c *MockService_OrgRegistryUpdate_Call) Run(run func(n int64, re... method Return (line 615) | func (_c *MockService_OrgRegistryUpdate_Call) Return(err error) *MockS... method RunAndReturn (line 620) | func (_c *MockService_OrgRegistryUpdate_Call) RunAndReturn(run func(n ... type MockService_RegistryCreate_Call (line 643) | type MockService_RegistryCreate_Call struct method Run (line 654) | func (_c *MockService_RegistryCreate_Call) Run(run func(repo *model.Re... method Return (line 672) | func (_c *MockService_RegistryCreate_Call) Return(err error) *MockServ... method RunAndReturn (line 677) | func (_c *MockService_RegistryCreate_Call) RunAndReturn(run func(repo ... type MockService_RegistryDelete_Call (line 700) | type MockService_RegistryDelete_Call struct method Run (line 711) | func (_c *MockService_RegistryDelete_Call) Run(run func(repo *model.Re... method Return (line 729) | func (_c *MockService_RegistryDelete_Call) Return(err error) *MockServ... method RunAndReturn (line 734) | func (_c *MockService_RegistryDelete_Call) RunAndReturn(run func(repo ... type MockService_RegistryFind_Call (line 768) | type MockService_RegistryFind_Call struct method Run (line 779) | func (_c *MockService_RegistryFind_Call) Run(run func(repo *model.Repo... method Return (line 797) | func (_c *MockService_RegistryFind_Call) Return(registry *model.Regist... method RunAndReturn (line 802) | func (_c *MockService_RegistryFind_Call) RunAndReturn(run func(repo *m... type MockService_RegistryList_Call (line 836) | type MockService_RegistryList_Call struct method Run (line 847) | func (_c *MockService_RegistryList_Call) Run(run func(repo *model.Repo... method Return (line 865) | func (_c *MockService_RegistryList_Call) Return(registrys []*model.Reg... method RunAndReturn (line 870) | func (_c *MockService_RegistryList_Call) RunAndReturn(run func(repo *m... type MockService_RegistryListPipeline_Call (line 904) | type MockService_RegistryListPipeline_Call struct method Run (line 917) | func (_c *MockService_RegistryListPipeline_Call) Run(run func(context1... method Return (line 945) | func (_c *MockService_RegistryListPipeline_Call) Return(registrys []*m... method RunAndReturn (line 950) | func (_c *MockService_RegistryListPipeline_Call) RunAndReturn(run func... type MockService_RegistryUpdate_Call (line 973) | type MockService_RegistryUpdate_Call struct method Run (line 984) | func (_c *MockService_RegistryUpdate_Call) Run(run func(repo *model.Re... method Return (line 1002) | func (_c *MockService_RegistryUpdate_Call) Return(err error) *MockServ... method RunAndReturn (line 1007) | func (_c *MockService_RegistryUpdate_Call) RunAndReturn(run func(repo ... FILE: server/services/registry/service.go type Service (line 24) | type Service interface type ReadOnlyService (line 47) | type ReadOnlyService interface FILE: server/services/registry/with_extension.go type withExtension (line 25) | type withExtension struct method RegistryListPipeline (line 37) | func (w *withExtension) RegistryListPipeline(ctx context.Context, repo... method RegistryFind (line 78) | func (w *withExtension) RegistryFind(repo *model.Repo, addr string) (*... method RegistryList (line 82) | func (w *withExtension) RegistryList(repo *model.Repo, p *model.ListOp... method RegistryCreate (line 86) | func (w *withExtension) RegistryCreate(repo *model.Repo, registry *mod... method RegistryUpdate (line 90) | func (w *withExtension) RegistryUpdate(repo *model.Repo, registry *mod... method RegistryDelete (line 94) | func (w *withExtension) RegistryDelete(repo *model.Repo, addr string) ... method OrgRegistryFind (line 98) | func (w *withExtension) OrgRegistryFind(owner int64, addr string) (*mo... method OrgRegistryList (line 102) | func (w *withExtension) OrgRegistryList(owner int64, p *model.ListOpti... method OrgRegistryCreate (line 106) | func (w *withExtension) OrgRegistryCreate(owner int64, registry *model... method OrgRegistryUpdate (line 110) | func (w *withExtension) OrgRegistryUpdate(owner int64, registry *model... method OrgRegistryDelete (line 114) | func (w *withExtension) OrgRegistryDelete(owner int64, addr string) er... method GlobalRegistryFind (line 118) | func (w *withExtension) GlobalRegistryFind(addr string) (*model.Regist... method GlobalRegistryList (line 122) | func (w *withExtension) GlobalRegistryList(p *model.ListOptions) ([]*m... method GlobalRegistryCreate (line 126) | func (w *withExtension) GlobalRegistryCreate(registry *model.Registry)... method GlobalRegistryUpdate (line 130) | func (w *withExtension) GlobalRegistryUpdate(registry *model.Registry)... method GlobalRegistryDelete (line 134) | func (w *withExtension) GlobalRegistryDelete(addr string) error { function NewWithExtension (line 33) | func NewWithExtension(base Service, extension *httpExtension) Service { FILE: server/services/registry/with_extension_test.go function TestWithExtensionRegistryListPipeline (line 36) | func TestWithExtensionRegistryListPipeline(t *testing.T) { FILE: server/services/secret/combined.go type combined (line 25) | type combined struct method SecretListPipeline (line 37) | func (c *combined) SecretListPipeline(ctx context.Context, repo *model... method SecretFind (line 78) | func (c *combined) SecretFind(repo *model.Repo, name string) (*model.S... method SecretList (line 82) | func (c *combined) SecretList(repo *model.Repo, p *model.ListOptions) ... method SecretCreate (line 86) | func (c *combined) SecretCreate(repo *model.Repo, secret *model.Secret... method SecretUpdate (line 90) | func (c *combined) SecretUpdate(repo *model.Repo, secret *model.Secret... method SecretDelete (line 94) | func (c *combined) SecretDelete(repo *model.Repo, name string) error { method OrgSecretFind (line 98) | func (c *combined) OrgSecretFind(orgID int64, name string) (*model.Sec... method OrgSecretList (line 102) | func (c *combined) OrgSecretList(orgID int64, p *model.ListOptions) ([... method OrgSecretCreate (line 106) | func (c *combined) OrgSecretCreate(orgID int64, secret *model.Secret) ... method OrgSecretUpdate (line 110) | func (c *combined) OrgSecretUpdate(orgID int64, secret *model.Secret) ... method OrgSecretDelete (line 114) | func (c *combined) OrgSecretDelete(orgID int64, name string) error { method GlobalSecretFind (line 118) | func (c *combined) GlobalSecretFind(name string) (*model.Secret, error) { method GlobalSecretList (line 122) | func (c *combined) GlobalSecretList(p *model.ListOptions) ([]*model.Se... method GlobalSecretCreate (line 126) | func (c *combined) GlobalSecretCreate(secret *model.Secret) error { method GlobalSecretUpdate (line 130) | func (c *combined) GlobalSecretUpdate(secret *model.Secret) error { method GlobalSecretDelete (line 134) | func (c *combined) GlobalSecretDelete(name string) error { function NewCombined (line 33) | func NewCombined(base Service, extension *httpExtension) Service { FILE: server/services/secret/combined_test.go function TestCombinedSecretListPipeline (line 37) | func TestCombinedSecretListPipeline(t *testing.T) { FILE: server/services/secret/db.go type db (line 24) | type db struct method SecretFind (line 33) | func (d *db) SecretFind(repo *model.Repo, name string) (*model.Secret,... method SecretList (line 37) | func (d *db) SecretList(repo *model.Repo, p *model.ListOptions) ([]*mo... method SecretListPipeline (line 41) | func (d *db) SecretListPipeline(_ context.Context, repo *model.Repo, _... method SecretCreate (line 74) | func (d *db) SecretCreate(_ *model.Repo, in *model.Secret) error { method SecretUpdate (line 78) | func (d *db) SecretUpdate(_ *model.Repo, in *model.Secret) error { method SecretDelete (line 82) | func (d *db) SecretDelete(repo *model.Repo, name string) error { method OrgSecretFind (line 90) | func (d *db) OrgSecretFind(owner int64, name string) (*model.Secret, e... method OrgSecretList (line 94) | func (d *db) OrgSecretList(owner int64, p *model.ListOptions) ([]*mode... method OrgSecretCreate (line 98) | func (d *db) OrgSecretCreate(_ int64, in *model.Secret) error { method OrgSecretUpdate (line 102) | func (d *db) OrgSecretUpdate(_ int64, in *model.Secret) error { method OrgSecretDelete (line 106) | func (d *db) OrgSecretDelete(owner int64, name string) error { method GlobalSecretFind (line 114) | func (d *db) GlobalSecretFind(owner string) (*model.Secret, error) { method GlobalSecretList (line 118) | func (d *db) GlobalSecretList(p *model.ListOptions) ([]*model.Secret, ... method GlobalSecretCreate (line 122) | func (d *db) GlobalSecretCreate(in *model.Secret) error { method GlobalSecretUpdate (line 126) | func (d *db) GlobalSecretUpdate(in *model.Secret) error { method GlobalSecretDelete (line 130) | func (d *db) GlobalSecretDelete(name string) error { function NewDB (line 29) | func NewDB(store store.Store) Service { FILE: server/services/secret/db_test.go function TestSecretListPipeline (line 54) | func TestSecretListPipeline(t *testing.T) { FILE: server/services/secret/http.go type httpExtension (line 26) | type httpExtension struct method SecretListPipeline (line 48) | func (h *httpExtension) SecretListPipeline(ctx context.Context, repo *... type secretRequestStructure (line 32) | type secretRequestStructure struct type secretResponseStructure (line 38) | type secretResponseStructure struct function NewHTTP (line 43) | func NewHTTP(endpoint string, client *utils.Client, includeNetrc bool) *... FILE: server/services/secret/mocks/mock_Service.go function NewMockService (line 16) | func NewMockService(t interface { type MockService (line 29) | type MockService struct method EXPECT (line 37) | func (_m *MockService) EXPECT() *MockService_Expecter { method GlobalSecretCreate (line 42) | func (_mock *MockService) GlobalSecretCreate(secret *model.Secret) err... method GlobalSecretDelete (line 93) | func (_mock *MockService) GlobalSecretDelete(s string) error { method GlobalSecretFind (line 144) | func (_mock *MockService) GlobalSecretFind(s string) (*model.Secret, e... method GlobalSecretList (line 206) | func (_mock *MockService) GlobalSecretList(listOptions *model.ListOpti... method GlobalSecretUpdate (line 268) | func (_mock *MockService) GlobalSecretUpdate(secret *model.Secret) err... method OrgSecretCreate (line 319) | func (_mock *MockService) OrgSecretCreate(n int64, secret *model.Secre... method OrgSecretDelete (line 376) | func (_mock *MockService) OrgSecretDelete(n int64, s string) error { method OrgSecretFind (line 433) | func (_mock *MockService) OrgSecretFind(n int64, s string) (*model.Sec... method OrgSecretList (line 501) | func (_mock *MockService) OrgSecretList(n int64, listOptions *model.Li... method OrgSecretUpdate (line 569) | func (_mock *MockService) OrgSecretUpdate(n int64, secret *model.Secre... method SecretCreate (line 626) | func (_mock *MockService) SecretCreate(repo *model.Repo, secret *model... method SecretDelete (line 683) | func (_mock *MockService) SecretDelete(repo *model.Repo, s string) err... method SecretFind (line 740) | func (_mock *MockService) SecretFind(repo *model.Repo, s string) (*mod... method SecretList (line 808) | func (_mock *MockService) SecretList(repo *model.Repo, listOptions *mo... method SecretListPipeline (line 876) | func (_mock *MockService) SecretListPipeline(context1 context.Context,... method SecretUpdate (line 956) | func (_mock *MockService) SecretUpdate(repo *model.Repo, secret *model... type MockService_Expecter (line 33) | type MockService_Expecter struct method GlobalSecretCreate (line 65) | func (_e *MockService_Expecter) GlobalSecretCreate(secret interface{})... method GlobalSecretDelete (line 116) | func (_e *MockService_Expecter) GlobalSecretDelete(s interface{}) *Moc... method GlobalSecretFind (line 178) | func (_e *MockService_Expecter) GlobalSecretFind(s interface{}) *MockS... method GlobalSecretList (line 240) | func (_e *MockService_Expecter) GlobalSecretList(listOptions interface... method GlobalSecretUpdate (line 291) | func (_e *MockService_Expecter) GlobalSecretUpdate(secret interface{})... method OrgSecretCreate (line 343) | func (_e *MockService_Expecter) OrgSecretCreate(n interface{}, secret ... method OrgSecretDelete (line 400) | func (_e *MockService_Expecter) OrgSecretDelete(n interface{}, s inter... method OrgSecretFind (line 468) | func (_e *MockService_Expecter) OrgSecretFind(n interface{}, s interfa... method OrgSecretList (line 536) | func (_e *MockService_Expecter) OrgSecretList(n interface{}, listOptio... method OrgSecretUpdate (line 593) | func (_e *MockService_Expecter) OrgSecretUpdate(n interface{}, secret ... method SecretCreate (line 650) | func (_e *MockService_Expecter) SecretCreate(repo interface{}, secret ... method SecretDelete (line 707) | func (_e *MockService_Expecter) SecretDelete(repo interface{}, s inter... method SecretFind (line 775) | func (_e *MockService_Expecter) SecretFind(repo interface{}, s interfa... method SecretList (line 843) | func (_e *MockService_Expecter) SecretList(repo interface{}, listOptio... method SecretListPipeline (line 913) | func (_e *MockService_Expecter) SecretListPipeline(context1 interface{... method SecretUpdate (line 980) | func (_e *MockService_Expecter) SecretUpdate(repo interface{}, secret ... type MockService_GlobalSecretCreate_Call (line 59) | type MockService_GlobalSecretCreate_Call struct method Run (line 69) | func (_c *MockService_GlobalSecretCreate_Call) Run(run func(secret *mo... method Return (line 82) | func (_c *MockService_GlobalSecretCreate_Call) Return(err error) *Mock... method RunAndReturn (line 87) | func (_c *MockService_GlobalSecretCreate_Call) RunAndReturn(run func(s... type MockService_GlobalSecretDelete_Call (line 110) | type MockService_GlobalSecretDelete_Call struct method Run (line 120) | func (_c *MockService_GlobalSecretDelete_Call) Run(run func(s string))... method Return (line 133) | func (_c *MockService_GlobalSecretDelete_Call) Return(err error) *Mock... method RunAndReturn (line 138) | func (_c *MockService_GlobalSecretDelete_Call) RunAndReturn(run func(s... type MockService_GlobalSecretFind_Call (line 172) | type MockService_GlobalSecretFind_Call struct method Run (line 182) | func (_c *MockService_GlobalSecretFind_Call) Run(run func(s string)) *... method Return (line 195) | func (_c *MockService_GlobalSecretFind_Call) Return(secret *model.Secr... method RunAndReturn (line 200) | func (_c *MockService_GlobalSecretFind_Call) RunAndReturn(run func(s s... type MockService_GlobalSecretList_Call (line 234) | type MockService_GlobalSecretList_Call struct method Run (line 244) | func (_c *MockService_GlobalSecretList_Call) Run(run func(listOptions ... method Return (line 257) | func (_c *MockService_GlobalSecretList_Call) Return(secrets []*model.S... method RunAndReturn (line 262) | func (_c *MockService_GlobalSecretList_Call) RunAndReturn(run func(lis... type MockService_GlobalSecretUpdate_Call (line 285) | type MockService_GlobalSecretUpdate_Call struct method Run (line 295) | func (_c *MockService_GlobalSecretUpdate_Call) Run(run func(secret *mo... method Return (line 308) | func (_c *MockService_GlobalSecretUpdate_Call) Return(err error) *Mock... method RunAndReturn (line 313) | func (_c *MockService_GlobalSecretUpdate_Call) RunAndReturn(run func(s... type MockService_OrgSecretCreate_Call (line 336) | type MockService_OrgSecretCreate_Call struct method Run (line 347) | func (_c *MockService_OrgSecretCreate_Call) Run(run func(n int64, secr... method Return (line 365) | func (_c *MockService_OrgSecretCreate_Call) Return(err error) *MockSer... method RunAndReturn (line 370) | func (_c *MockService_OrgSecretCreate_Call) RunAndReturn(run func(n in... type MockService_OrgSecretDelete_Call (line 393) | type MockService_OrgSecretDelete_Call struct method Run (line 404) | func (_c *MockService_OrgSecretDelete_Call) Run(run func(n int64, s st... method Return (line 422) | func (_c *MockService_OrgSecretDelete_Call) Return(err error) *MockSer... method RunAndReturn (line 427) | func (_c *MockService_OrgSecretDelete_Call) RunAndReturn(run func(n in... type MockService_OrgSecretFind_Call (line 461) | type MockService_OrgSecretFind_Call struct method Run (line 472) | func (_c *MockService_OrgSecretFind_Call) Run(run func(n int64, s stri... method Return (line 490) | func (_c *MockService_OrgSecretFind_Call) Return(secret *model.Secret,... method RunAndReturn (line 495) | func (_c *MockService_OrgSecretFind_Call) RunAndReturn(run func(n int6... type MockService_OrgSecretList_Call (line 529) | type MockService_OrgSecretList_Call struct method Run (line 540) | func (_c *MockService_OrgSecretList_Call) Run(run func(n int64, listOp... method Return (line 558) | func (_c *MockService_OrgSecretList_Call) Return(secrets []*model.Secr... method RunAndReturn (line 563) | func (_c *MockService_OrgSecretList_Call) RunAndReturn(run func(n int6... type MockService_OrgSecretUpdate_Call (line 586) | type MockService_OrgSecretUpdate_Call struct method Run (line 597) | func (_c *MockService_OrgSecretUpdate_Call) Run(run func(n int64, secr... method Return (line 615) | func (_c *MockService_OrgSecretUpdate_Call) Return(err error) *MockSer... method RunAndReturn (line 620) | func (_c *MockService_OrgSecretUpdate_Call) RunAndReturn(run func(n in... type MockService_SecretCreate_Call (line 643) | type MockService_SecretCreate_Call struct method Run (line 654) | func (_c *MockService_SecretCreate_Call) Run(run func(repo *model.Repo... method Return (line 672) | func (_c *MockService_SecretCreate_Call) Return(err error) *MockServic... method RunAndReturn (line 677) | func (_c *MockService_SecretCreate_Call) RunAndReturn(run func(repo *m... type MockService_SecretDelete_Call (line 700) | type MockService_SecretDelete_Call struct method Run (line 711) | func (_c *MockService_SecretDelete_Call) Run(run func(repo *model.Repo... method Return (line 729) | func (_c *MockService_SecretDelete_Call) Return(err error) *MockServic... method RunAndReturn (line 734) | func (_c *MockService_SecretDelete_Call) RunAndReturn(run func(repo *m... type MockService_SecretFind_Call (line 768) | type MockService_SecretFind_Call struct method Run (line 779) | func (_c *MockService_SecretFind_Call) Run(run func(repo *model.Repo, ... method Return (line 797) | func (_c *MockService_SecretFind_Call) Return(secret *model.Secret, er... method RunAndReturn (line 802) | func (_c *MockService_SecretFind_Call) RunAndReturn(run func(repo *mod... type MockService_SecretList_Call (line 836) | type MockService_SecretList_Call struct method Run (line 847) | func (_c *MockService_SecretList_Call) Run(run func(repo *model.Repo, ... method Return (line 865) | func (_c *MockService_SecretList_Call) Return(secrets []*model.Secret,... method RunAndReturn (line 870) | func (_c *MockService_SecretList_Call) RunAndReturn(run func(repo *mod... type MockService_SecretListPipeline_Call (line 904) | type MockService_SecretListPipeline_Call struct method Run (line 917) | func (_c *MockService_SecretListPipeline_Call) Run(run func(context1 c... method Return (line 945) | func (_c *MockService_SecretListPipeline_Call) Return(secrets []*model... method RunAndReturn (line 950) | func (_c *MockService_SecretListPipeline_Call) RunAndReturn(run func(c... type MockService_SecretUpdate_Call (line 973) | type MockService_SecretUpdate_Call struct method Run (line 984) | func (_c *MockService_SecretUpdate_Call) Run(run func(repo *model.Repo... method Return (line 1002) | func (_c *MockService_SecretUpdate_Call) Return(err error) *MockServic... method RunAndReturn (line 1007) | func (_c *MockService_SecretUpdate_Call) RunAndReturn(run func(repo *m... FILE: server/services/secret/service.go type Service (line 24) | type Service interface FILE: server/services/setup.go function setupRegistryService (line 38) | func setupRegistryService(store store.Store, dockerConfig, endpoint stri... function setupSecretService (line 57) | func setupSecretService(store store.Store, endpoint string, client *util... function setupConfigService (line 73) | func setupConfigService(c *cli.Command, client *utils.Client) (config.Se... function setupSignatureKeys (line 93) | func setupSignatureKeys(_store store.Store) (ed25519.PrivateKey, crypto.... function setupForgeService (line 119) | func setupForgeService(c *cli.Command, _store store.Store) error { FILE: server/services/utils/hostmatcher/hostmatcher.go type HostMatchList (line 14) | type HostMatchList struct method AppendBuiltin (line 78) | func (hl *HostMatchList) AppendBuiltin(builtin string) { method AppendPattern (line 83) | func (hl *HostMatchList) AppendPattern(pattern string) { method IsEmpty (line 88) | func (hl *HostMatchList) IsEmpty() bool { method checkPattern (line 92) | func (hl *HostMatchList) checkPattern(host string) bool { method checkIP (line 102) | func (hl *HostMatchList) checkIP(ip net.IP) bool { method MatchHostName (line 133) | func (hl *HostMatchList) MatchHostName(host string) bool { method MatchIPAddr (line 152) | func (hl *HostMatchList) MatchIPAddr(ip net.IP) bool { method MatchHostOrIP (line 161) | func (hl *HostMatchList) MatchHostOrIP(host string, ip net.IP) bool { constant MatchBuiltinExternal (line 27) | MatchBuiltinExternal = "external" constant MatchBuiltinPrivate (line 30) | MatchBuiltinPrivate = "private" constant MatchBuiltinLoopback (line 33) | MatchBuiltinLoopback = "loopback" function isBuiltin (line 35) | func isBuiltin(s string) bool { function ParseHostMatchList (line 40) | func ParseHostMatchList(settingKeyHint, hostList string) *HostMatchList { function ParseSimpleMatchList (line 61) | func ParseSimpleMatchList(settingKeyHint, matchList string) *HostMatchLi... FILE: server/services/utils/hostmatcher/hostmatcher_test.go function TestHostOrIPMatchesList (line 13) | func TestHostOrIPMatchesList(t *testing.T) { FILE: server/services/utils/hostmatcher/http.go function NewDialContext (line 17) | func NewDialContext(usage string, allowList *HostMatchList) func(ctx con... function NewDialContextWithProxy (line 21) | func NewDialContextWithProxy(usage string, allowList *HostMatchList, pro... FILE: server/services/utils/http.go type Client (line 41) | type Client struct method Send (line 98) | func (e *Client) Send(ctx context.Context, method, path string, in, ou... function getHTTPClient (line 45) | func getHTTPClient(privateKey crypto.PrivateKey, allowedHostListValue st... function NewHTTPClient (line 86) | func NewHTTPClient(privateKey crypto.PrivateKey, allowedHostList string)... function isRetryableError (line 209) | func isRetryableError(err error) bool { function isRetryableStatusCode (line 236) | func isRetryableStatusCode(statusCode int) bool { FILE: server/services/utils/http_test.go function TestSignClient (line 33) | func TestSignClient(t *testing.T) { function TestRetry (line 71) | func TestRetry(t *testing.T) { FILE: server/store/common.go type XORM (line 19) | type XORM struct type Opts (line 28) | type Opts struct FILE: server/store/context.go constant key (line 23) | key = "store" function FromContext (line 26) | func FromContext(c context.Context) Store { function TryFromContext (line 32) | func TryFromContext(c context.Context) (Store, bool) { function ToContext (line 38) | func ToContext(c *gin.Context, store Store) { function InjectToContext (line 42) | func InjectToContext(ctx context.Context, store Store) context.Context { FILE: server/store/datastore/agent.go method AgentList (line 25) | func (s storage) AgentList(p *model.ListOptions) (agents []*model.Agent,... method AgentFind (line 29) | func (s storage) AgentFind(id int64) (*model.Agent, error) { method AgentFindByToken (line 34) | func (s storage) AgentFindByToken(token string) (*model.Agent, error) { method AgentCreate (line 43) | func (s storage) AgentCreate(agent *model.Agent) error { method AgentUpdate (line 48) | func (s storage) AgentUpdate(agent *model.Agent) error { method AgentDelete (line 53) | func (s storage) AgentDelete(agent *model.Agent) error { method AgentListForOrg (line 57) | func (s storage) AgentListForOrg(orgID int64, p *model.ListOptions) (age... FILE: server/store/datastore/agent_test.go function TestAgentFindByToken (line 25) | func TestAgentFindByToken(t *testing.T) { function TestAgentFindByID (line 46) | func TestAgentFindByID(t *testing.T) { function TestAgentList (line 63) | func TestAgentList(t *testing.T) { function TestAgentUpdate (line 89) | func TestAgentUpdate(t *testing.T) { function TestAgentListForOrg (line 108) | func TestAgentListForOrg(t *testing.T) { FILE: server/store/datastore/config.go method ConfigsForPipeline (line 29) | func (s storage) ConfigsForPipeline(pipelineID int64) ([]*model.Config, ... method configFindIdentical (line 38) | func (s storage) configFindIdentical(sess *xorm.Session, repoID int64, h... method ConfigPersist (line 48) | func (s storage) ConfigPersist(conf *model.Config) (*model.Config, error) { method configCreate (line 72) | func (s storage) configCreate(sess *xorm.Session, config *model.Config) ... method PipelineConfigCreate (line 85) | func (s storage) PipelineConfigCreate(config *model.PipelineConfig) error { FILE: server/store/datastore/config_test.go function TestConfig (line 31) | func TestConfig(t *testing.T) { function TestConfigPersist (line 76) | func TestConfigPersist(t *testing.T) { FILE: server/store/datastore/cron.go method CronCreate (line 27) | func (s storage) CronCreate(cron *model.Cron) error { method CronFind (line 38) | func (s storage) CronFind(repo *model.Repo, id int64) (*model.Cron, erro... method CronList (line 43) | func (s storage) CronList(repo *model.Repo, p *model.ListOptions) ([]*mo... method CronUpdate (line 48) | func (s storage) CronUpdate(_ *model.Repo, cron *model.Cron) error { method CronDelete (line 53) | func (s storage) CronDelete(repo *model.Repo, id int64) error { method CronListNextExecute (line 58) | func (s storage) CronListNextExecute(nextExec, limit int64) ([]*model.Cr... method CronGetLock (line 64) | func (s storage) CronGetLock(cron *model.Cron, newNextExec int64) (bool,... FILE: server/store/datastore/cron_test.go function TestCronCreate (line 27) | func TestCronCreate(t *testing.T) { function TestCronListNextExecute (line 46) | func TestCronListNextExecute(t *testing.T) { function TestCronGetLock (line 78) | func TestCronGetLock(t *testing.T) { FILE: server/store/datastore/engine.go type storage (line 28) | type storage struct method Ping (line 57) | func (s storage) Ping() error { method Migrate (line 62) | func (s storage) Migrate(ctx context.Context, allowLong bool) error { method Close (line 66) | func (s storage) Close() error { constant perPage (line 32) | perPage = 50 function NewEngine (line 34) | func NewEngine(opts *store.Opts) (store.Store, error) { FILE: server/store/datastore/engine_test.go function testDriverConfig (line 27) | func testDriverConfig() (driver, config string) { function newTestStore (line 41) | func newTestStore(t *testing.T, tables ...any) (store *storage, closer f... FILE: server/store/datastore/errors.go type ErrorRepoNotExist (line 23) | type ErrorRepoNotExist struct method Error (line 27) | func (e ErrorRepoNotExist) Error() string { method Unwrap (line 31) | func (ErrorRepoNotExist) Unwrap() error { FILE: server/store/datastore/feed.go method getFeedSelect (line 25) | func (s storage) getFeedSelect() string { method GetPipelineQueue (line 47) | func (s storage) GetPipelineQueue() ([]*model.Feed, error) { method UserFeed (line 57) | func (s storage) UserFeed(user *model.User) ([]*model.Feed, error) { method RepoListLatest (line 71) | func (s storage) RepoListLatest(user *model.User) ([]*model.Feed, error) { FILE: server/store/datastore/feed_test.go function TestGetPipelineQueue (line 25) | func TestGetPipelineQueue(t *testing.T) { function TestUserFeed (line 84) | func TestUserFeed(t *testing.T) { function TestRepoListLatest (line 130) | func TestRepoListLatest(t *testing.T) { FILE: server/store/datastore/forge.go method ForgeGet (line 21) | func (s storage) ForgeGet(id int64) (*model.Forge, error) { method ForgeList (line 26) | func (s storage) ForgeList(p *model.ListOptions) ([]*model.Forge, error) { method ForgeCreate (line 31) | func (s storage) ForgeCreate(forge *model.Forge) error { method ForgeUpdate (line 36) | func (s storage) ForgeUpdate(forge *model.Forge) error { method ForgeDelete (line 41) | func (s storage) ForgeDelete(forge *model.Forge) error { FILE: server/store/datastore/forge_test.go function TestForgeCRUD (line 25) | func TestForgeCRUD(t *testing.T) { FILE: server/store/datastore/helper.go function wrapGet (line 29) | func wrapGet(exist bool, err error) error { function wrapDelete (line 42) | func wrapDelete(c int64, err error) error { function wrapInsert (line 54) | func wrapInsert(c int64, err error) error { method paginate (line 67) | func (s storage) paginate(p *model.ListOptions) *xorm.Session { function callerName (line 80) | func callerName(skip int) string { FILE: server/store/datastore/helper_test.go function TestWrapGet (line 27) | func TestWrapGet(t *testing.T) { function TestWrapDelete (line 35) | func TestWrapDelete(t *testing.T) { function TestWrapInsert (line 43) | func TestWrapInsert(t *testing.T) { FILE: server/store/datastore/init.go constant DriverMysql (line 26) | DriverMysql = "mysql" constant DriverPostgres (line 27) | DriverPostgres = "postgres" function SupportedDriver (line 30) | func SupportedDriver(driver string) bool { FILE: server/store/datastore/init_cgo.go constant DriverSqlite (line 28) | DriverSqlite = "sqlite3" constant DriverMysql (line 29) | DriverMysql = "mysql" constant DriverPostgres (line 30) | DriverPostgres = "postgres" function SupportedDriver (line 33) | func SupportedDriver(driver string) bool { FILE: server/store/datastore/log.go constant pgBatchSize (line 28) | pgBatchSize = 1000 method LogFind (line 30) | func (s storage) LogFind(step *model.Step) ([]*model.LogEntry, error) { method LogAppend (line 35) | func (s storage) LogAppend(_ *model.Step, logEntries []*model.LogEntry) ... method LogDelete (line 52) | func (s storage) LogDelete(step *model.Step) error { function logDelete (line 58) | func logDelete(sess *xorm.Session, stepID int64) error { method StepFinished (line 63) | func (s storage) StepFinished(_ *model.Step) {} FILE: server/store/datastore/log_test.go function TestLogCreateFindDelete (line 25) | func TestLogCreateFindDelete(t *testing.T) { function TestLogAppend (line 62) | func TestLogAppend(t *testing.T) { FILE: server/store/datastore/migration/008_set_default_forge_id.go type userV008 (line 26) | type userV008 struct method TableName (line 41) | func (userV008) TableName() string { type repoV008 (line 45) | type repoV008 struct method TableName (line 75) | func (repoV008) TableName() string { type forge (line 79) | type forge struct method TableName (line 90) | func (forge) TableName() string { FILE: server/store/datastore/migration/common.go function renameTable (line 26) | func renameTable(sess *xorm.Session, oldTable, newTable string) error { function dropTableColumns (line 41) | func dropTableColumns(sess *xorm.Session, tableName string, columnNames ... function alterColumnDefault (line 133) | func alterColumnDefault(sess *xorm.Session, table, column, defValue stri... function alterColumnNull (line 165) | func alterColumnNull(sess *xorm.Session, table, column string, null bool... function renameColumn (line 204) | func renameColumn(sess *xorm.Session, table, column, newName string) err... function removeColumnFromSQLITETableSchema (line 222) | func removeColumnFromSQLITETableSchema(schema string, names ...string) s... function normalizeSQLiteTableSchema (line 239) | func normalizeSQLiteTableSchema(schema string) string { FILE: server/store/datastore/migration/common_test.go function TestRemoveColumnFromSQLITETableSchema (line 23) | func TestRemoveColumnFromSQLITETableSchema(t *testing.T) { function TestNormalizeSQLiteTableSchema (line 42) | func TestNormalizeSQLiteTableSchema(t *testing.T) { FILE: server/store/datastore/migration/logger.go type xormigrateLogger (line 23) | type xormigrateLogger struct method Debug (line 25) | func (l *xormigrateLogger) Debug(v ...any) { method Debugf (line 29) | func (l *xormigrateLogger) Debugf(format string, v ...any) { method Info (line 33) | func (l *xormigrateLogger) Info(v ...any) { method Infof (line 37) | func (l *xormigrateLogger) Infof(format string, v ...any) { method Warn (line 41) | func (l *xormigrateLogger) Warn(v ...any) { method Warnf (line 45) | func (l *xormigrateLogger) Warnf(format string, v ...any) { method Error (line 49) | func (l *xormigrateLogger) Error(v ...any) { method Errorf (line 53) | func (l *xormigrateLogger) Errorf(format string, v ...any) { FILE: server/store/datastore/migration/migration.go function Migrate (line 83) | func Migrate(_ context.Context, e *xorm.Engine, allowLong bool) error { function syncAll (line 126) | func syncAll(sess *xorm.Engine) error { FILE: server/store/datastore/migration/migration_test.go constant sqliteDB (line 35) | sqliteDB = "./test-files/sqlite.db" constant postgresDump (line 36) | postgresDump = "./test-files/postgres.sql" function testDriver (line 39) | func testDriver() string { function createSQLiteDB (line 47) | func createSQLiteDB(t *testing.T) string { function testDB (line 57) | func testDB(t *testing.T, initNewDB bool) (engine *xorm.Engine, closeDB ... function restorePostgresDump (line 101) | func restorePostgresDump(t *testing.T, config string) { function cleanPostgresDB (line 136) | func cleanPostgresDB(t *testing.T, config string) { function TestMigrate (line 152) | func TestMigrate(t *testing.T) { FILE: server/store/datastore/migration/test-files/postgres.sql type public (line 30) | CREATE TABLE public.agents ( type public (line 76) | CREATE TABLE public.pipelines ( type public (line 140) | CREATE TABLE public.configs ( type public (line 177) | CREATE TABLE public.crons ( type public (line 216) | CREATE TABLE public.forges ( type public (line 255) | CREATE TABLE public.log_entries ( type public (line 293) | CREATE TABLE public.migration ( type public (line 305) | CREATE TABLE public.orgs ( type public (line 341) | CREATE TABLE public.perms ( type public (line 359) | CREATE TABLE public.pipeline_configs ( type public (line 371) | CREATE TABLE public.steps ( type public (line 416) | CREATE TABLE public.redirections ( type public (line 450) | CREATE TABLE public.registries ( type public (line 488) | CREATE TABLE public.repos ( type public (line 547) | CREATE TABLE public.secrets ( type public (line 586) | CREATE TABLE public.server_configs ( type public (line 598) | CREATE TABLE public.tasks ( type public (line 615) | CREATE TABLE public.users ( type public (line 659) | CREATE TABLE public.workflows ( type public (line 1274) | CREATE INDEX "IDX_agents_org_id" ON public.agents USING btree (org_id) type public (line 1281) | CREATE INDEX "IDX_crons_creator_id" ON public.crons USING btree (creator... type public (line 1288) | CREATE INDEX "IDX_crons_name" ON public.crons USING btree (name) type public (line 1295) | CREATE INDEX "IDX_crons_repo_id" ON public.crons USING btree (repo_id) type public (line 1302) | CREATE INDEX "IDX_log_entries_step_id" ON public.log_entries USING btree... type public (line 1309) | CREATE INDEX "IDX_perms_perm_repo_id" ON public.perms USING btree (repo_id) type public (line 1316) | CREATE INDEX "IDX_perms_perm_user_id" ON public.perms USING btree (user_id) type public (line 1323) | CREATE INDEX "IDX_pipelines_pipeline_author" ON public.pipelines USING b... type public (line 1330) | CREATE INDEX "IDX_pipelines_pipeline_repo_id" ON public.pipelines USING ... type public (line 1337) | CREATE INDEX "IDX_pipelines_pipeline_status" ON public.pipelines USING b... type public (line 1344) | CREATE INDEX "IDX_registries_address" ON public.registries USING btree (... type public (line 1351) | CREATE INDEX "IDX_registries_org_id" ON public.registries USING btree (o... type public (line 1358) | CREATE INDEX "IDX_registries_repo_id" ON public.registries USING btree (... type public (line 1365) | CREATE INDEX "IDX_repos_org_id" ON public.repos USING btree (org_id) type public (line 1372) | CREATE INDEX "IDX_repos_user_id" ON public.repos USING btree (user_id) type public (line 1379) | CREATE INDEX "IDX_secrets_secret_name" ON public.secrets USING btree (name) type public (line 1386) | CREATE INDEX "IDX_secrets_secret_org_id" ON public.secrets USING btree (... type public (line 1393) | CREATE INDEX "IDX_secrets_secret_repo_id" ON public.secrets USING btree ... type public (line 1400) | CREATE INDEX "IDX_steps_pipeline_id" ON public.steps USING btree (pipeli... type public (line 1407) | CREATE INDEX "IDX_steps_uuid" ON public.steps USING btree (uuid) type public (line 1414) | CREATE INDEX "IDX_workflows_pipeline_id" ON public.workflows USING btree... type public (line 1421) | CREATE UNIQUE INDEX "UQE_config_s" ON public.configs USING btree (repo_i... type public (line 1428) | CREATE UNIQUE INDEX "UQE_crons_s" ON public.crons USING btree (name, rep... type public (line 1435) | CREATE UNIQUE INDEX "UQE_orgs_name" ON public.orgs USING btree (name) type public (line 1442) | CREATE UNIQUE INDEX "UQE_pipeline_config_s" ON public.pipeline_configs U... type public (line 1449) | CREATE UNIQUE INDEX "UQE_pipelines_s" ON public.pipelines USING btree (r... type public (line 1456) | CREATE UNIQUE INDEX "UQE_redirections_repo_full_name" ON public.redirect... type public (line 1463) | CREATE UNIQUE INDEX "UQE_registries_s" ON public.registries USING btree ... type public (line 1470) | CREATE UNIQUE INDEX "UQE_repos_full_name" ON public.repos USING btree (f... type public (line 1477) | CREATE UNIQUE INDEX "UQE_repos_name" ON public.repos USING btree (owner,... type public (line 1484) | CREATE UNIQUE INDEX "UQE_secrets_s" ON public.secrets USING btree (org_i... type public (line 1491) | CREATE UNIQUE INDEX "UQE_steps_s" ON public.steps USING btree (pipeline_... type public (line 1498) | CREATE UNIQUE INDEX "UQE_tasks_task_id" ON public.tasks USING btree (id) type public (line 1505) | CREATE UNIQUE INDEX "UQE_users_hash" ON public.users USING btree (hash) type public (line 1512) | CREATE UNIQUE INDEX "UQE_users_login" ON public.users USING btree (login) type public (line 1519) | CREATE UNIQUE INDEX "UQE_workflows_s" ON public.workflows USING btree (p... FILE: server/store/datastore/org.go method OrgCreate (line 26) | func (s storage) OrgCreate(org *model.Org) error { method orgCreate (line 30) | func (s storage) orgCreate(org *model.Org, sess *xorm.Session) error { method OrgGet (line 37) | func (s storage) OrgGet(id int64) (*model.Org, error) { method OrgUpdate (line 42) | func (s storage) OrgUpdate(org *model.Org) error { method orgUpdate (line 46) | func (s storage) orgUpdate(sess *xorm.Session, org *model.Org) error { method OrgDelete (line 52) | func (s storage) OrgDelete(id int64) error { method orgDelete (line 56) | func (s storage) orgDelete(sess *xorm.Session, id int64) error { method OrgFindByName (line 75) | func (s storage) OrgFindByName(name string, forgeID int64) (*model.Org, ... method orgFindByName (line 79) | func (s storage) orgFindByName(sess *xorm.Session, name string, forgeID ... method OrgRepoList (line 85) | func (s storage) OrgRepoList(org *model.Org, p *model.ListOptions) ([]*m... method OrgList (line 90) | func (s storage) OrgList(p *model.ListOptions) ([]*model.Org, error) { FILE: server/store/datastore/org_test.go function TestOrgCRUD (line 25) | func TestOrgCRUD(t *testing.T) { FILE: server/store/datastore/permission.go method PermFind (line 27) | func (s storage) PermFind(user *model.User, repo *model.Repo) (*model.Pe... method PermUpsert (line 34) | func (s storage) PermUpsert(perm *model.Perm) error { method permUpsert (line 48) | func (s storage) permUpsert(sess *xorm.Session, perm *model.Perm) error { function userPushOrAdminCondition (line 76) | func userPushOrAdminCondition(userID int64) builder.Cond { function userIDAndRepoIDCond (line 82) | func userIDAndRepoIDCond(perm *model.Perm) builder.Cond { method PermPrune (line 89) | func (s storage) PermPrune(userID int64, keepRepoIDs []int64) error { FILE: server/store/datastore/permission_test.go function TestPermFind (line 26) | func TestPermFind(t *testing.T) { function TestPermUpsert (line 58) | func TestPermUpsert(t *testing.T) { function TestPermPruneDeleteAll (line 112) | func TestPermPruneDeleteAll(t *testing.T) { function TestPermPruneKeepOne (line 151) | func TestPermPruneKeepOne(t *testing.T) { FILE: server/store/datastore/pipeline.go method GetPipeline (line 29) | func (s storage) GetPipeline(id int64) (*model.Pipeline, error) { method GetPipelineNumber (line 34) | func (s storage) GetPipelineNumber(repo *model.Repo, num int64) (*model.... method GetPipelineBadge (line 41) | func (s storage) GetPipelineBadge(repo *model.Repo, branch string, event... method GetPipelineLastByBranch (line 51) | func (s storage) GetPipelineLastByBranch(repo *model.Repo, branch string... method GetPipelineLastBefore (line 59) | func (s storage) GetPipelineLastBefore(repo *model.Repo, branch string, ... method GetPipelineList (line 68) | func (s storage) GetPipelineList(repo *model.Repo, p *model.ListOptions,... method GetRepoLatestPipelines (line 105) | func (s storage) GetRepoLatestPipelines(repoIDs []int64) ([]*model.Pipel... method GetActivePipelineList (line 121) | func (s storage) GetActivePipelineList(repo *model.Repo) ([]*model.Pipel... method GetPipelineCount (line 130) | func (s storage) GetPipelineCount() (int64, error) { method CreatePipeline (line 135) | func (s storage) CreatePipeline(pipeline *model.Pipeline, stepList ...*m... function isUniqueConstraintError (line 196) | func isUniqueConstraintError(err error) bool { method UpdatePipeline (line 210) | func (s storage) UpdatePipeline(pipeline *model.Pipeline) error { method DeletePipeline (line 215) | func (s storage) DeletePipeline(pipeline *model.Pipeline) error { method deletePipeline (line 219) | func (s storage) deletePipeline(sess *xorm.Session, pipelineID int64) er... FILE: server/store/datastore/pipeline_test.go function TestPipelines (line 29) | func TestPipelines(t *testing.T) { function TestPipelineListFilter (line 123) | func TestPipelineListFilter(t *testing.T) { function TestPipelineIncrement (line 201) | func TestPipelineIncrement(t *testing.T) { function TestDeletePipeline (line 221) | func TestDeletePipeline(t *testing.T) { FILE: server/store/datastore/redirection.go method getRedirection (line 24) | func (s storage) getRedirection(e *xorm.Session, fullName string) (*mode... method CreateRedirection (line 29) | func (s storage) CreateRedirection(redirect *model.Redirection) error { method createRedirection (line 35) | func (s storage) createRedirection(e *xorm.Session, redirect *model.Redi... method HasRedirectionForRepo (line 40) | func (s storage) HasRedirectionForRepo(repoID int64, fullName string) (b... FILE: server/store/datastore/redirection_test.go function TestCreateRedirection (line 25) | func TestCreateRedirection(t *testing.T) { function TestHasRedirectionForRepo (line 36) | func TestHasRedirectionForRepo(t *testing.T) { FILE: server/store/datastore/registry.go constant orderRegistriesBy (line 23) | orderRegistriesBy = "id" method RegistryFind (line 25) | func (s storage) RegistryFind(repo *model.Repo, addr string) (*model.Reg... method RegistryList (line 32) | func (s storage) RegistryList(repo *model.Repo, includeGlobalAndOrg bool... method RegistryListAll (line 42) | func (s storage) RegistryListAll() ([]*model.Registry, error) { method RegistryCreate (line 47) | func (s storage) RegistryCreate(registry *model.Registry) error { method RegistryUpdate (line 52) | func (s storage) RegistryUpdate(registry *model.Registry) error { method RegistryDelete (line 57) | func (s storage) RegistryDelete(registry *model.Registry) error { method OrgRegistryFind (line 61) | func (s storage) OrgRegistryFind(orgID int64, name string) (*model.Regis... method OrgRegistryList (line 68) | func (s storage) OrgRegistryList(orgID int64, p *model.ListOptions) ([]*... method GlobalRegistryFind (line 73) | func (s storage) GlobalRegistryFind(name string) (*model.Registry, error) { method GlobalRegistryList (line 80) | func (s storage) GlobalRegistryList(p *model.ListOptions) ([]*model.Regi... FILE: server/store/datastore/registry_test.go function TestRegistryFind (line 27) | func TestRegistryFind(t *testing.T) { function TestRegistryList (line 47) | func TestRegistryList(t *testing.T) { function TestRegistryUpdate (line 69) | func TestRegistryUpdate(t *testing.T) { function TestRegistryIndexes (line 87) | func TestRegistryIndexes(t *testing.T) { function TestRegistryDelete (line 107) | func TestRegistryDelete(t *testing.T) { function createTestRegistries (line 123) | func createTestRegistries(t *testing.T, store *storage) { function TestOrgRegistryFind (line 141) | func TestOrgRegistryFind(t *testing.T) { function TestOrgRegistryList (line 161) | func TestOrgRegistryList(t *testing.T) { function TestGlobalRegistryFind (line 174) | func TestGlobalRegistryFind(t *testing.T) { function TestGlobalRegistryList (line 192) | func TestGlobalRegistryList(t *testing.T) { FILE: server/store/datastore/repo.go method GetRepo (line 29) | func (s storage) GetRepo(id int64) (*model.Repo, error) { method GetRepoForgeID (line 34) | func (s storage) GetRepoForgeID(forgeID int64, remoteID model.ForgeRemot... method getRepoForgeID (line 40) | func (s storage) getRepoForgeID(e *xorm.Session, forgeID int64, remoteID... method GetRepoNameFallback (line 45) | func (s storage) GetRepoNameFallback(forgeID int64, remoteID model.Forge... method getRepoNameFallback (line 51) | func (s storage) getRepoNameFallback(e *xorm.Session, forgeID int64, rem... method GetRepoName (line 59) | func (s storage) GetRepoName(fullName string) (*model.Repo, error) { method getRepoName (line 74) | func (s storage) getRepoName(e *xorm.Session, fullName string) (*model.R... method GetRepoCount (line 79) | func (s storage) GetRepoCount() (int64, error) { method CreateRepo (line 83) | func (s storage) CreateRepo(repo *model.Repo) error { method UpdateRepo (line 96) | func (s storage) UpdateRepo(repo *model.Repo) error { method DeleteRepo (line 101) | func (s storage) DeleteRepo(repo *model.Repo) error { method deleteRepo (line 105) | func (s storage) deleteRepo(sess *xorm.Session, repo *model.Repo) error { method RepoList (line 145) | func (s storage) RepoList(user *model.User, owned, active bool, f *model... method RepoListAll (line 165) | func (s storage) RepoListAll(active bool, p *model.ListOptions) ([]*mode... FILE: server/store/datastore/repo_test.go function TestCreateRepo (line 26) | func TestCreateRepo(t *testing.T) { function TestGetRepo (line 78) | func TestGetRepo(t *testing.T) { function TestGetRepoName (line 96) | func TestGetRepoName(t *testing.T) { function TestRepoList (line 115) | func TestRepoList(t *testing.T) { function TestOwnedRepoList (line 196) | func TestOwnedRepoList(t *testing.T) { function TestRepoCount (line 252) | func TestRepoCount(t *testing.T) { function TestRepoCrud (line 286) | func TestRepoCrud(t *testing.T) { function TestRepoRedirection (line 352) | func TestRepoRedirection(t *testing.T) { FILE: server/store/datastore/secret.go constant orderSecretsBy (line 23) | orderSecretsBy = "name" method SecretFind (line 25) | func (s storage) SecretFind(repo *model.Repo, name string) (*model.Secre... method SecretList (line 32) | func (s storage) SecretList(repo *model.Repo, includeGlobalAndOrgSecrets... method SecretListAll (line 42) | func (s storage) SecretListAll() ([]*model.Secret, error) { method SecretCreate (line 47) | func (s storage) SecretCreate(secret *model.Secret) error { method SecretUpdate (line 52) | func (s storage) SecretUpdate(secret *model.Secret) error { method SecretDelete (line 57) | func (s storage) SecretDelete(secret *model.Secret) error { method OrgSecretFind (line 61) | func (s storage) OrgSecretFind(orgID int64, name string) (*model.Secret,... method OrgSecretList (line 68) | func (s storage) OrgSecretList(orgID int64, p *model.ListOptions) ([]*mo... method GlobalSecretFind (line 73) | func (s storage) GlobalSecretFind(name string) (*model.Secret, error) { method GlobalSecretList (line 80) | func (s storage) GlobalSecretList(p *model.ListOptions) ([]*model.Secret... FILE: server/store/datastore/secret_test.go function TestSecretFind (line 26) | func TestSecretFind(t *testing.T) { function TestSecretList (line 50) | func TestSecretList(t *testing.T) { function TestSecretListAll (line 61) | func TestSecretListAll(t *testing.T) { function TestSecretPipelineList (line 72) | func TestSecretPipelineList(t *testing.T) { function TestSecretUpdate (line 83) | func TestSecretUpdate(t *testing.T) { function TestSecretDelete (line 101) | func TestSecretDelete(t *testing.T) { function TestSecretIndexes (line 117) | func TestSecretIndexes(t *testing.T) { function createTestSecrets (line 135) | func createTestSecrets(t *testing.T, store *storage) { function TestOrgSecretFind (line 157) | func TestOrgSecretFind(t *testing.T) { function TestOrgSecretList (line 181) | func TestOrgSecretList(t *testing.T) { function TestGlobalSecretFind (line 194) | func TestGlobalSecretFind(t *testing.T) { function TestGlobalSecretList (line 216) | func TestGlobalSecretList(t *testing.T) { FILE: server/store/datastore/server_config.go method ServerConfigGet (line 19) | func (s storage) ServerConfigGet(key string) (string, error) { method ServerConfigSet (line 29) | func (s storage) ServerConfigSet(key, value string) error { method ServerConfigDelete (line 59) | func (s storage) ServerConfigDelete(key string) error { FILE: server/store/datastore/server_config_test.go function TestServerConfigGetSet (line 25) | func TestServerConfigGetSet(t *testing.T) { FILE: server/store/datastore/step.go method StepLoad (line 24) | func (s storage) StepLoad(pipelineID, stepID int64) (*model.Step, error) { method StepByUUID (line 29) | func (s storage) StepByUUID(uuid string) (*model.Step, error) { method StepList (line 36) | func (s storage) StepList(pipelineID int64) ([]*model.Step, error) { method StepListFromWorkflowFind (line 44) | func (s storage) StepListFromWorkflowFind(workflow *model.Workflow) ([]*... method stepListWorkflow (line 48) | func (s storage) stepListWorkflow(sess *xorm.Session, workflow *model.Wo... method stepCreate (line 57) | func (s storage) stepCreate(sess *xorm.Session, steps []*model.Step) err... method StepUpdate (line 67) | func (s storage) StepUpdate(step *model.Step) error { function deleteStep (line 72) | func deleteStep(sess *xorm.Session, stepID int64) error { FILE: server/store/datastore/step_test.go function TestStepList (line 27) | func TestStepList(t *testing.T) { function TestStepUpdate (line 64) | func TestStepUpdate(t *testing.T) { function TestStepIndexes (line 89) | func TestStepIndexes(t *testing.T) { function TestStepByUUID (line 120) | func TestStepByUUID(t *testing.T) { function TestStepLoad (line 156) | func TestStepLoad(t *testing.T) { FILE: server/store/datastore/task.go method TaskList (line 21) | func (s storage) TaskList() ([]*model.Task, error) { method TaskInsert (line 26) | func (s storage) TaskInsert(task *model.Task) error { method TaskDelete (line 31) | func (s storage) TaskDelete(id string) error { FILE: server/store/datastore/task_test.go function TestTaskList (line 25) | func TestTaskList(t *testing.T) { FILE: server/store/datastore/user.go method GetUser (line 25) | func (s storage) GetUser(id int64) (*model.User, error) { method GetUserByRemoteID (line 30) | func (s storage) GetUserByRemoteID(forgeID int64, userRemoteID model.For... method GetUserByLogin (line 36) | func (s storage) GetUserByLogin(forgeID int64, login string) (*model.Use... method GetUserList (line 42) | func (s storage) GetUserList(p *model.ListOptions) ([]*model.User, error) { method GetUserCount (line 47) | func (s storage) GetUserCount() (int64, error) { method CreateUser (line 51) | func (s storage) CreateUser(user *model.User) error { method UpdateUser (line 83) | func (s storage) UpdateUser(user *model.User) error { method DeleteUser (line 88) | func (s storage) DeleteUser(user *model.User) error { FILE: server/store/datastore/user_test.go function TestUsers (line 26) | func TestUsers(t *testing.T) { function TestCreateUserWithExistingOrg (line 101) | func TestCreateUserWithExistingOrg(t *testing.T) { FILE: server/store/datastore/workflow.go method WorkflowGetTree (line 23) | func (s storage) WorkflowGetTree(pipeline *model.Pipeline) ([]*model.Wor... method WorkflowsCreate (line 40) | func (s storage) WorkflowsCreate(workflows []*model.Workflow) error { method workflowsCreate (line 54) | func (s storage) workflowsCreate(sess *xorm.Session, workflows []*model.... method WorkflowsReplace (line 68) | func (s storage) WorkflowsReplace(pipeline *model.Pipeline, workflows []... method workflowsDelete (line 86) | func (s storage) workflowsDelete(sess *xorm.Session, pipelineID int64) e... method WorkflowList (line 108) | func (s storage) WorkflowList(pipeline *model.Pipeline) ([]*model.Workfl... method workflowList (line 113) | func (s storage) workflowList(sess *xorm.Session, pipeline *model.Pipeli... method WorkflowLoad (line 125) | func (s storage) WorkflowLoad(id int64) (*model.Workflow, error) { method WorkflowUpdate (line 130) | func (s storage) WorkflowUpdate(workflow *model.Workflow) error { FILE: server/store/datastore/workflow_test.go function TestWorkflowLoad (line 26) | func TestWorkflowLoad(t *testing.T) { function TestWorkflowGetTree (line 60) | func TestWorkflowGetTree(t *testing.T) { function TestWorkflowUpdate (line 98) | func TestWorkflowUpdate(t *testing.T) { FILE: server/store/datastore/xorm.go function newXORMLogger (line 25) | func newXORMLogger(level xlog.LogLevel) xlog.Logger { type xormLogger (line 33) | type xormLogger struct method Error (line 40) | func (x *xormLogger) Error(v ...any) { method Errorf (line 47) | func (x *xormLogger) Errorf(format string, v ...any) { method Debug (line 54) | func (x *xormLogger) Debug(v ...any) { method Debugf (line 61) | func (x *xormLogger) Debugf(format string, v ...any) { method Info (line 68) | func (x *xormLogger) Info(v ...any) { method Infof (line 75) | func (x *xormLogger) Infof(format string, v ...any) { method Warn (line 82) | func (x *xormLogger) Warn(v ...any) { method Warnf (line 89) | func (x *xormLogger) Warnf(format string, v ...any) { method Level (line 96) | func (x *xormLogger) Level() xlog.LogLevel { method SetLevel (line 101) | func (x *xormLogger) SetLevel(l xlog.LogLevel) { method ShowSQL (line 106) | func (x *xormLogger) ShowSQL(show ...bool) { method IsShowSQL (line 115) | func (x *xormLogger) IsShowSQL() bool { FILE: server/store/mocks/mock_Store.go function NewMockStore (line 16) | func NewMockStore(t interface { type MockStore (line 29) | type MockStore struct method EXPECT (line 37) | func (_m *MockStore) EXPECT() *MockStore_Expecter { method AgentCreate (line 42) | func (_mock *MockStore) AgentCreate(agent *model.Agent) error { method AgentDelete (line 93) | func (_mock *MockStore) AgentDelete(agent *model.Agent) error { method AgentFind (line 144) | func (_mock *MockStore) AgentFind(n int64) (*model.Agent, error) { method AgentFindByToken (line 206) | func (_mock *MockStore) AgentFindByToken(s string) (*model.Agent, erro... method AgentList (line 268) | func (_mock *MockStore) AgentList(p *model.ListOptions) ([]*model.Agen... method AgentListForOrg (line 330) | func (_mock *MockStore) AgentListForOrg(orgID int64, opt *model.ListOp... method AgentUpdate (line 398) | func (_mock *MockStore) AgentUpdate(agent *model.Agent) error { method Close (line 449) | func (_mock *MockStore) Close() error { method ConfigPersist (line 493) | func (_mock *MockStore) ConfigPersist(config *model.Config) (*model.Co... method ConfigsForPipeline (line 555) | func (_mock *MockStore) ConfigsForPipeline(pipelineID int64) ([]*model... method CreatePipeline (line 617) | func (_mock *MockStore) CreatePipeline(pipeline *model.Pipeline, steps... method CreateRedirection (line 683) | func (_mock *MockStore) CreateRedirection(redirection *model.Redirecti... method CreateRepo (line 734) | func (_mock *MockStore) CreateRepo(repo *model.Repo) error { method CreateUser (line 785) | func (_mock *MockStore) CreateUser(user *model.User) error { method CronCreate (line 836) | func (_mock *MockStore) CronCreate(cron *model.Cron) error { method CronDelete (line 887) | func (_mock *MockStore) CronDelete(repo *model.Repo, n int64) error { method CronFind (line 944) | func (_mock *MockStore) CronFind(repo *model.Repo, n int64) (*model.Cr... method CronGetLock (line 1012) | func (_mock *MockStore) CronGetLock(cron *model.Cron, n int64) (bool, ... method CronList (line 1078) | func (_mock *MockStore) CronList(repo *model.Repo, listOptions *model.... method CronListNextExecute (line 1146) | func (_mock *MockStore) CronListNextExecute(n int64, n1 int64) ([]*mod... method CronUpdate (line 1214) | func (_mock *MockStore) CronUpdate(repo *model.Repo, cron *model.Cron)... method DeletePipeline (line 1271) | func (_mock *MockStore) DeletePipeline(pipeline *model.Pipeline) error { method DeleteRepo (line 1322) | func (_mock *MockStore) DeleteRepo(repo *model.Repo) error { method DeleteUser (line 1373) | func (_mock *MockStore) DeleteUser(user *model.User) error { method ForgeCreate (line 1424) | func (_mock *MockStore) ForgeCreate(forge *model.Forge) error { method ForgeDelete (line 1475) | func (_mock *MockStore) ForgeDelete(forge *model.Forge) error { method ForgeGet (line 1526) | func (_mock *MockStore) ForgeGet(n int64) (*model.Forge, error) { method ForgeList (line 1588) | func (_mock *MockStore) ForgeList(p *model.ListOptions) ([]*model.Forg... method ForgeUpdate (line 1650) | func (_mock *MockStore) ForgeUpdate(forge *model.Forge) error { method GetActivePipelineList (line 1701) | func (_mock *MockStore) GetActivePipelineList(repo *model.Repo) ([]*mo... method GetPipeline (line 1763) | func (_mock *MockStore) GetPipeline(n int64) (*model.Pipeline, error) { method GetPipelineBadge (line 1825) | func (_mock *MockStore) GetPipelineBadge(repo *model.Repo, s string, w... method GetPipelineCount (line 1899) | func (_mock *MockStore) GetPipelineCount() (int64, error) { method GetPipelineLastBefore (line 1952) | func (_mock *MockStore) GetPipelineLastBefore(repo *model.Repo, s stri... method GetPipelineLastByBranch (line 2026) | func (_mock *MockStore) GetPipelineLastByBranch(repo *model.Repo, s st... method GetPipelineList (line 2094) | func (_mock *MockStore) GetPipelineList(repo *model.Repo, listOptions ... method GetPipelineNumber (line 2168) | func (_mock *MockStore) GetPipelineNumber(repo *model.Repo, n int64) (... method GetPipelineQueue (line 2236) | func (_mock *MockStore) GetPipelineQueue() ([]*model.Feed, error) { method GetRepo (line 2291) | func (_mock *MockStore) GetRepo(n int64) (*model.Repo, error) { method GetRepoCount (line 2353) | func (_mock *MockStore) GetRepoCount() (int64, error) { method GetRepoForgeID (line 2406) | func (_mock *MockStore) GetRepoForgeID(n int64, forgeRemoteID model.Fo... method GetRepoLatestPipelines (line 2474) | func (_mock *MockStore) GetRepoLatestPipelines(int64s []int64) ([]*mod... method GetRepoName (line 2536) | func (_mock *MockStore) GetRepoName(s string) (*model.Repo, error) { method GetRepoNameFallback (line 2598) | func (_mock *MockStore) GetRepoNameFallback(forgeID int64, remoteID mo... method GetUser (line 2672) | func (_mock *MockStore) GetUser(n int64) (*model.User, error) { method GetUserByLogin (line 2734) | func (_mock *MockStore) GetUserByLogin(n int64, s string) (*model.User... method GetUserByRemoteID (line 2802) | func (_mock *MockStore) GetUserByRemoteID(n int64, forgeRemoteID model... method GetUserCount (line 2870) | func (_mock *MockStore) GetUserCount() (int64, error) { method GetUserList (line 2923) | func (_mock *MockStore) GetUserList(p *model.ListOptions) ([]*model.Us... method GlobalRegistryFind (line 2985) | func (_mock *MockStore) GlobalRegistryFind(s string) (*model.Registry,... method GlobalRegistryList (line 3047) | func (_mock *MockStore) GlobalRegistryList(listOptions *model.ListOpti... method GlobalSecretFind (line 3109) | func (_mock *MockStore) GlobalSecretFind(s string) (*model.Secret, err... method GlobalSecretList (line 3171) | func (_mock *MockStore) GlobalSecretList(listOptions *model.ListOption... method HasRedirectionForRepo (line 3233) | func (_mock *MockStore) HasRedirectionForRepo(n int64, s string) (bool... method LogAppend (line 3299) | func (_mock *MockStore) LogAppend(step *model.Step, logEntrys []*model... method LogDelete (line 3356) | func (_mock *MockStore) LogDelete(step *model.Step) error { method LogFind (line 3407) | func (_mock *MockStore) LogFind(step *model.Step) ([]*model.LogEntry, ... method Migrate (line 3469) | func (_mock *MockStore) Migrate(context1 context.Context, b bool) error { method OrgCreate (line 3526) | func (_mock *MockStore) OrgCreate(org *model.Org) error { method OrgDelete (line 3577) | func (_mock *MockStore) OrgDelete(n int64) error { method OrgFindByName (line 3628) | func (_mock *MockStore) OrgFindByName(s string, n int64) (*model.Org, ... method OrgGet (line 3696) | func (_mock *MockStore) OrgGet(n int64) (*model.Org, error) { method OrgList (line 3758) | func (_mock *MockStore) OrgList(listOptions *model.ListOptions) ([]*mo... method OrgRegistryFind (line 3820) | func (_mock *MockStore) OrgRegistryFind(n int64, s string) (*model.Reg... method OrgRegistryList (line 3888) | func (_mock *MockStore) OrgRegistryList(n int64, listOptions *model.Li... method OrgRepoList (line 3956) | func (_mock *MockStore) OrgRepoList(org *model.Org, listOptions *model... method OrgSecretFind (line 4024) | func (_mock *MockStore) OrgSecretFind(n int64, s string) (*model.Secre... method OrgSecretList (line 4092) | func (_mock *MockStore) OrgSecretList(n int64, listOptions *model.List... method OrgUpdate (line 4160) | func (_mock *MockStore) OrgUpdate(org *model.Org) error { method PermFind (line 4211) | func (_mock *MockStore) PermFind(user *model.User, repo *model.Repo) (... method PermPrune (line 4279) | func (_mock *MockStore) PermPrune(userID int64, keepRepoIDs []int64) e... method PermUpsert (line 4336) | func (_mock *MockStore) PermUpsert(perm *model.Perm) error { method Ping (line 4387) | func (_mock *MockStore) Ping() error { method PipelineConfigCreate (line 4431) | func (_mock *MockStore) PipelineConfigCreate(pipelineConfig *model.Pip... method RegistryCreate (line 4482) | func (_mock *MockStore) RegistryCreate(registry *model.Registry) error { method RegistryDelete (line 4533) | func (_mock *MockStore) RegistryDelete(registry *model.Registry) error { method RegistryFind (line 4584) | func (_mock *MockStore) RegistryFind(repo *model.Repo, s string) (*mod... method RegistryList (line 4652) | func (_mock *MockStore) RegistryList(repo *model.Repo, b bool, listOpt... method RegistryListAll (line 4726) | func (_mock *MockStore) RegistryListAll() ([]*model.Registry, error) { method RegistryUpdate (line 4781) | func (_mock *MockStore) RegistryUpdate(registry *model.Registry) error { method RepoList (line 4832) | func (_mock *MockStore) RepoList(user *model.User, owned bool, active ... method RepoListAll (line 4912) | func (_mock *MockStore) RepoListAll(active bool, p *model.ListOptions)... method RepoListLatest (line 4980) | func (_mock *MockStore) RepoListLatest(user *model.User) ([]*model.Fee... method SecretCreate (line 5042) | func (_mock *MockStore) SecretCreate(secret *model.Secret) error { method SecretDelete (line 5093) | func (_mock *MockStore) SecretDelete(secret *model.Secret) error { method SecretFind (line 5144) | func (_mock *MockStore) SecretFind(repo *model.Repo, s string) (*model... method SecretList (line 5212) | func (_mock *MockStore) SecretList(repo *model.Repo, b bool, listOptio... method SecretListAll (line 5286) | func (_mock *MockStore) SecretListAll() ([]*model.Secret, error) { method SecretUpdate (line 5341) | func (_mock *MockStore) SecretUpdate(secret *model.Secret) error { method ServerConfigDelete (line 5392) | func (_mock *MockStore) ServerConfigDelete(s string) error { method ServerConfigGet (line 5443) | func (_mock *MockStore) ServerConfigGet(s string) (string, error) { method ServerConfigSet (line 5503) | func (_mock *MockStore) ServerConfigSet(s string, s1 string) error { method StepByUUID (line 5560) | func (_mock *MockStore) StepByUUID(uuid string) (*model.Step, error) { method StepFinished (line 5622) | func (_mock *MockStore) StepFinished(step *model.Step) { method StepList (line 5662) | func (_mock *MockStore) StepList(pipelineID int64) ([]*model.Step, err... method StepListFromWorkflowFind (line 5724) | func (_mock *MockStore) StepListFromWorkflowFind(workflow *model.Workf... method StepLoad (line 5786) | func (_mock *MockStore) StepLoad(pipelineID int64, stepID int64) (*mod... method StepUpdate (line 5854) | func (_mock *MockStore) StepUpdate(step *model.Step) error { method TaskDelete (line 5905) | func (_mock *MockStore) TaskDelete(s string) error { method TaskInsert (line 5956) | func (_mock *MockStore) TaskInsert(task *model.Task) error { method TaskList (line 6007) | func (_mock *MockStore) TaskList() ([]*model.Task, error) { method UpdatePipeline (line 6062) | func (_mock *MockStore) UpdatePipeline(pipeline *model.Pipeline) error { method UpdateRepo (line 6113) | func (_mock *MockStore) UpdateRepo(repo *model.Repo) error { method UpdateUser (line 6164) | func (_mock *MockStore) UpdateUser(user *model.User) error { method UserFeed (line 6215) | func (_mock *MockStore) UserFeed(user *model.User) ([]*model.Feed, err... method WorkflowGetTree (line 6277) | func (_mock *MockStore) WorkflowGetTree(pipeline *model.Pipeline) ([]*... method WorkflowLoad (line 6339) | func (_mock *MockStore) WorkflowLoad(n int64) (*model.Workflow, error) { method WorkflowUpdate (line 6401) | func (_mock *MockStore) WorkflowUpdate(workflow *model.Workflow) error { method WorkflowsCreate (line 6452) | func (_mock *MockStore) WorkflowsCreate(workflows []*model.Workflow) e... method WorkflowsReplace (line 6503) | func (_mock *MockStore) WorkflowsReplace(pipeline *model.Pipeline, wor... type MockStore_Expecter (line 33) | type MockStore_Expecter struct method AgentCreate (line 65) | func (_e *MockStore_Expecter) AgentCreate(agent interface{}) *MockStor... method AgentDelete (line 116) | func (_e *MockStore_Expecter) AgentDelete(agent interface{}) *MockStor... method AgentFind (line 178) | func (_e *MockStore_Expecter) AgentFind(n interface{}) *MockStore_Agen... method AgentFindByToken (line 240) | func (_e *MockStore_Expecter) AgentFindByToken(s interface{}) *MockSto... method AgentList (line 302) | func (_e *MockStore_Expecter) AgentList(p interface{}) *MockStore_Agen... method AgentListForOrg (line 365) | func (_e *MockStore_Expecter) AgentListForOrg(orgID interface{}, opt i... method AgentUpdate (line 421) | func (_e *MockStore_Expecter) AgentUpdate(agent interface{}) *MockStor... method Close (line 471) | func (_e *MockStore_Expecter) Close() *MockStore_Close_Call { method ConfigPersist (line 527) | func (_e *MockStore_Expecter) ConfigPersist(config interface{}) *MockS... method ConfigsForPipeline (line 589) | func (_e *MockStore_Expecter) ConfigsForPipeline(pipelineID interface{... method CreatePipeline (line 647) | func (_e *MockStore_Expecter) CreatePipeline(pipeline interface{}, ste... method CreateRedirection (line 706) | func (_e *MockStore_Expecter) CreateRedirection(redirection interface{... method CreateRepo (line 757) | func (_e *MockStore_Expecter) CreateRepo(repo interface{}) *MockStore_... method CreateUser (line 808) | func (_e *MockStore_Expecter) CreateUser(user interface{}) *MockStore_... method CronCreate (line 859) | func (_e *MockStore_Expecter) CronCreate(cron interface{}) *MockStore_... method CronDelete (line 911) | func (_e *MockStore_Expecter) CronDelete(repo interface{}, n interface... method CronFind (line 979) | func (_e *MockStore_Expecter) CronFind(repo interface{}, n interface{}... method CronGetLock (line 1045) | func (_e *MockStore_Expecter) CronGetLock(cron interface{}, n interfac... method CronList (line 1113) | func (_e *MockStore_Expecter) CronList(repo interface{}, listOptions i... method CronListNextExecute (line 1181) | func (_e *MockStore_Expecter) CronListNextExecute(n interface{}, n1 in... method CronUpdate (line 1238) | func (_e *MockStore_Expecter) CronUpdate(repo interface{}, cron interf... method DeletePipeline (line 1294) | func (_e *MockStore_Expecter) DeletePipeline(pipeline interface{}) *Mo... method DeleteRepo (line 1345) | func (_e *MockStore_Expecter) DeleteRepo(repo interface{}) *MockStore_... method DeleteUser (line 1396) | func (_e *MockStore_Expecter) DeleteUser(user interface{}) *MockStore_... method ForgeCreate (line 1447) | func (_e *MockStore_Expecter) ForgeCreate(forge interface{}) *MockStor... method ForgeDelete (line 1498) | func (_e *MockStore_Expecter) ForgeDelete(forge interface{}) *MockStor... method ForgeGet (line 1560) | func (_e *MockStore_Expecter) ForgeGet(n interface{}) *MockStore_Forge... method ForgeList (line 1622) | func (_e *MockStore_Expecter) ForgeList(p interface{}) *MockStore_Forg... method ForgeUpdate (line 1673) | func (_e *MockStore_Expecter) ForgeUpdate(forge interface{}) *MockStor... method GetActivePipelineList (line 1735) | func (_e *MockStore_Expecter) GetActivePipelineList(repo interface{}) ... method GetPipeline (line 1797) | func (_e *MockStore_Expecter) GetPipeline(n interface{}) *MockStore_Ge... method GetPipelineBadge (line 1861) | func (_e *MockStore_Expecter) GetPipelineBadge(repo interface{}, s int... method GetPipelineCount (line 1930) | func (_e *MockStore_Expecter) GetPipelineCount() *MockStore_GetPipelin... method GetPipelineLastBefore (line 1988) | func (_e *MockStore_Expecter) GetPipelineLastBefore(repo interface{}, ... method GetPipelineLastByBranch (line 2061) | func (_e *MockStore_Expecter) GetPipelineLastByBranch(repo interface{}... method GetPipelineList (line 2130) | func (_e *MockStore_Expecter) GetPipelineList(repo interface{}, listOp... method GetPipelineNumber (line 2203) | func (_e *MockStore_Expecter) GetPipelineNumber(repo interface{}, n in... method GetPipelineQueue (line 2269) | func (_e *MockStore_Expecter) GetPipelineQueue() *MockStore_GetPipelin... method GetRepo (line 2325) | func (_e *MockStore_Expecter) GetRepo(n interface{}) *MockStore_GetRep... method GetRepoCount (line 2384) | func (_e *MockStore_Expecter) GetRepoCount() *MockStore_GetRepoCount_C... method GetRepoForgeID (line 2441) | func (_e *MockStore_Expecter) GetRepoForgeID(n interface{}, forgeRemot... method GetRepoLatestPipelines (line 2508) | func (_e *MockStore_Expecter) GetRepoLatestPipelines(int64s interface{... method GetRepoName (line 2570) | func (_e *MockStore_Expecter) GetRepoName(s interface{}) *MockStore_Ge... method GetRepoNameFallback (line 2634) | func (_e *MockStore_Expecter) GetRepoNameFallback(forgeID interface{},... method GetUser (line 2706) | func (_e *MockStore_Expecter) GetUser(n interface{}) *MockStore_GetUse... method GetUserByLogin (line 2769) | func (_e *MockStore_Expecter) GetUserByLogin(n interface{}, s interfac... method GetUserByRemoteID (line 2837) | func (_e *MockStore_Expecter) GetUserByRemoteID(n interface{}, forgeRe... method GetUserCount (line 2901) | func (_e *MockStore_Expecter) GetUserCount() *MockStore_GetUserCount_C... method GetUserList (line 2957) | func (_e *MockStore_Expecter) GetUserList(p interface{}) *MockStore_Ge... method GlobalRegistryFind (line 3019) | func (_e *MockStore_Expecter) GlobalRegistryFind(s interface{}) *MockS... method GlobalRegistryList (line 3081) | func (_e *MockStore_Expecter) GlobalRegistryList(listOptions interface... method GlobalSecretFind (line 3143) | func (_e *MockStore_Expecter) GlobalSecretFind(s interface{}) *MockSto... method GlobalSecretList (line 3205) | func (_e *MockStore_Expecter) GlobalSecretList(listOptions interface{}... method HasRedirectionForRepo (line 3266) | func (_e *MockStore_Expecter) HasRedirectionForRepo(n interface{}, s i... method LogAppend (line 3323) | func (_e *MockStore_Expecter) LogAppend(step interface{}, logEntrys in... method LogDelete (line 3379) | func (_e *MockStore_Expecter) LogDelete(step interface{}) *MockStore_L... method LogFind (line 3441) | func (_e *MockStore_Expecter) LogFind(step interface{}) *MockStore_Log... method Migrate (line 3493) | func (_e *MockStore_Expecter) Migrate(context1 interface{}, b interfac... method OrgCreate (line 3549) | func (_e *MockStore_Expecter) OrgCreate(org interface{}) *MockStore_Or... method OrgDelete (line 3600) | func (_e *MockStore_Expecter) OrgDelete(n interface{}) *MockStore_OrgD... method OrgFindByName (line 3663) | func (_e *MockStore_Expecter) OrgFindByName(s interface{}, n interface... method OrgGet (line 3730) | func (_e *MockStore_Expecter) OrgGet(n interface{}) *MockStore_OrgGet_... method OrgList (line 3792) | func (_e *MockStore_Expecter) OrgList(listOptions interface{}) *MockSt... method OrgRegistryFind (line 3855) | func (_e *MockStore_Expecter) OrgRegistryFind(n interface{}, s interfa... method OrgRegistryList (line 3923) | func (_e *MockStore_Expecter) OrgRegistryList(n interface{}, listOptio... method OrgRepoList (line 3991) | func (_e *MockStore_Expecter) OrgRepoList(org interface{}, listOptions... method OrgSecretFind (line 4059) | func (_e *MockStore_Expecter) OrgSecretFind(n interface{}, s interface... method OrgSecretList (line 4127) | func (_e *MockStore_Expecter) OrgSecretList(n interface{}, listOptions... method OrgUpdate (line 4183) | func (_e *MockStore_Expecter) OrgUpdate(org interface{}) *MockStore_Or... method PermFind (line 4246) | func (_e *MockStore_Expecter) PermFind(user interface{}, repo interfac... method PermPrune (line 4303) | func (_e *MockStore_Expecter) PermPrune(userID interface{}, keepRepoID... method PermUpsert (line 4359) | func (_e *MockStore_Expecter) PermUpsert(perm interface{}) *MockStore_... method Ping (line 4409) | func (_e *MockStore_Expecter) Ping() *MockStore_Ping_Call { method PipelineConfigCreate (line 4454) | func (_e *MockStore_Expecter) PipelineConfigCreate(pipelineConfig inte... method RegistryCreate (line 4505) | func (_e *MockStore_Expecter) RegistryCreate(registry interface{}) *Mo... method RegistryDelete (line 4556) | func (_e *MockStore_Expecter) RegistryDelete(registry interface{}) *Mo... method RegistryFind (line 4619) | func (_e *MockStore_Expecter) RegistryFind(repo interface{}, s interfa... method RegistryList (line 4688) | func (_e *MockStore_Expecter) RegistryList(repo interface{}, b interfa... method RegistryListAll (line 4759) | func (_e *MockStore_Expecter) RegistryListAll() *MockStore_RegistryLis... method RegistryUpdate (line 4804) | func (_e *MockStore_Expecter) RegistryUpdate(registry interface{}) *Mo... method RepoList (line 4869) | func (_e *MockStore_Expecter) RepoList(user interface{}, owned interfa... method RepoListAll (line 4947) | func (_e *MockStore_Expecter) RepoListAll(active interface{}, p interf... method RepoListLatest (line 5014) | func (_e *MockStore_Expecter) RepoListLatest(user interface{}) *MockSt... method SecretCreate (line 5065) | func (_e *MockStore_Expecter) SecretCreate(secret interface{}) *MockSt... method SecretDelete (line 5116) | func (_e *MockStore_Expecter) SecretDelete(secret interface{}) *MockSt... method SecretFind (line 5179) | func (_e *MockStore_Expecter) SecretFind(repo interface{}, s interface... method SecretList (line 5248) | func (_e *MockStore_Expecter) SecretList(repo interface{}, b interface... method SecretListAll (line 5319) | func (_e *MockStore_Expecter) SecretListAll() *MockStore_SecretListAll... method SecretUpdate (line 5364) | func (_e *MockStore_Expecter) SecretUpdate(secret interface{}) *MockSt... method ServerConfigDelete (line 5415) | func (_e *MockStore_Expecter) ServerConfigDelete(s interface{}) *MockS... method ServerConfigGet (line 5475) | func (_e *MockStore_Expecter) ServerConfigGet(s interface{}) *MockStor... method ServerConfigSet (line 5527) | func (_e *MockStore_Expecter) ServerConfigSet(s interface{}, s1 interf... method StepByUUID (line 5594) | func (_e *MockStore_Expecter) StepByUUID(uuid interface{}) *MockStore_... method StepFinished (line 5634) | func (_e *MockStore_Expecter) StepFinished(step interface{}) *MockStor... method StepList (line 5696) | func (_e *MockStore_Expecter) StepList(pipelineID interface{}) *MockSt... method StepListFromWorkflowFind (line 5758) | func (_e *MockStore_Expecter) StepListFromWorkflowFind(workflow interf... method StepLoad (line 5821) | func (_e *MockStore_Expecter) StepLoad(pipelineID interface{}, stepID ... method StepUpdate (line 5877) | func (_e *MockStore_Expecter) StepUpdate(step interface{}) *MockStore_... method TaskDelete (line 5928) | func (_e *MockStore_Expecter) TaskDelete(s interface{}) *MockStore_Tas... method TaskInsert (line 5979) | func (_e *MockStore_Expecter) TaskInsert(task interface{}) *MockStore_... method TaskList (line 6040) | func (_e *MockStore_Expecter) TaskList() *MockStore_TaskList_Call { method UpdatePipeline (line 6085) | func (_e *MockStore_Expecter) UpdatePipeline(pipeline interface{}) *Mo... method UpdateRepo (line 6136) | func (_e *MockStore_Expecter) UpdateRepo(repo interface{}) *MockStore_... method UpdateUser (line 6187) | func (_e *MockStore_Expecter) UpdateUser(user interface{}) *MockStore_... method UserFeed (line 6249) | func (_e *MockStore_Expecter) UserFeed(user interface{}) *MockStore_Us... method WorkflowGetTree (line 6311) | func (_e *MockStore_Expecter) WorkflowGetTree(pipeline interface{}) *M... method WorkflowLoad (line 6373) | func (_e *MockStore_Expecter) WorkflowLoad(n interface{}) *MockStore_W... method WorkflowUpdate (line 6424) | func (_e *MockStore_Expecter) WorkflowUpdate(workflow interface{}) *Mo... method WorkflowsCreate (line 6475) | func (_e *MockStore_Expecter) WorkflowsCreate(workflows interface{}) *... method WorkflowsReplace (line 6527) | func (_e *MockStore_Expecter) WorkflowsReplace(pipeline interface{}, w... type MockStore_AgentCreate_Call (line 59) | type MockStore_AgentCreate_Call struct method Run (line 69) | func (_c *MockStore_AgentCreate_Call) Run(run func(agent *model.Agent)... method Return (line 82) | func (_c *MockStore_AgentCreate_Call) Return(err error) *MockStore_Age... method RunAndReturn (line 87) | func (_c *MockStore_AgentCreate_Call) RunAndReturn(run func(agent *mod... type MockStore_AgentDelete_Call (line 110) | type MockStore_AgentDelete_Call struct method Run (line 120) | func (_c *MockStore_AgentDelete_Call) Run(run func(agent *model.Agent)... method Return (line 133) | func (_c *MockStore_AgentDelete_Call) Return(err error) *MockStore_Age... method RunAndReturn (line 138) | func (_c *MockStore_AgentDelete_Call) RunAndReturn(run func(agent *mod... type MockStore_AgentFind_Call (line 172) | type MockStore_AgentFind_Call struct method Run (line 182) | func (_c *MockStore_AgentFind_Call) Run(run func(n int64)) *MockStore_... method Return (line 195) | func (_c *MockStore_AgentFind_Call) Return(agent *model.Agent, err err... method RunAndReturn (line 200) | func (_c *MockStore_AgentFind_Call) RunAndReturn(run func(n int64) (*m... type MockStore_AgentFindByToken_Call (line 234) | type MockStore_AgentFindByToken_Call struct method Run (line 244) | func (_c *MockStore_AgentFindByToken_Call) Run(run func(s string)) *Mo... method Return (line 257) | func (_c *MockStore_AgentFindByToken_Call) Return(agent *model.Agent, ... method RunAndReturn (line 262) | func (_c *MockStore_AgentFindByToken_Call) RunAndReturn(run func(s str... type MockStore_AgentList_Call (line 296) | type MockStore_AgentList_Call struct method Run (line 306) | func (_c *MockStore_AgentList_Call) Run(run func(p *model.ListOptions)... method Return (line 319) | func (_c *MockStore_AgentList_Call) Return(agents []*model.Agent, err ... method RunAndReturn (line 324) | func (_c *MockStore_AgentList_Call) RunAndReturn(run func(p *model.Lis... type MockStore_AgentListForOrg_Call (line 358) | type MockStore_AgentListForOrg_Call struct method Run (line 369) | func (_c *MockStore_AgentListForOrg_Call) Run(run func(orgID int64, op... method Return (line 387) | func (_c *MockStore_AgentListForOrg_Call) Return(agents []*model.Agent... method RunAndReturn (line 392) | func (_c *MockStore_AgentListForOrg_Call) RunAndReturn(run func(orgID ... type MockStore_AgentUpdate_Call (line 415) | type MockStore_AgentUpdate_Call struct method Run (line 425) | func (_c *MockStore_AgentUpdate_Call) Run(run func(agent *model.Agent)... method Return (line 438) | func (_c *MockStore_AgentUpdate_Call) Return(err error) *MockStore_Age... method RunAndReturn (line 443) | func (_c *MockStore_AgentUpdate_Call) RunAndReturn(run func(agent *mod... type MockStore_Close_Call (line 466) | type MockStore_Close_Call struct method Run (line 475) | func (_c *MockStore_Close_Call) Run(run func()) *MockStore_Close_Call { method Return (line 482) | func (_c *MockStore_Close_Call) Return(err error) *MockStore_Close_Call { method RunAndReturn (line 487) | func (_c *MockStore_Close_Call) RunAndReturn(run func() error) *MockSt... type MockStore_ConfigPersist_Call (line 521) | type MockStore_ConfigPersist_Call struct method Run (line 531) | func (_c *MockStore_ConfigPersist_Call) Run(run func(config *model.Con... method Return (line 544) | func (_c *MockStore_ConfigPersist_Call) Return(config1 *model.Config, ... method RunAndReturn (line 549) | func (_c *MockStore_ConfigPersist_Call) RunAndReturn(run func(config *... type MockStore_ConfigsForPipeline_Call (line 583) | type MockStore_ConfigsForPipeline_Call struct method Run (line 593) | func (_c *MockStore_ConfigsForPipeline_Call) Run(run func(pipelineID i... method Return (line 606) | func (_c *MockStore_ConfigsForPipeline_Call) Return(configs []*model.C... method RunAndReturn (line 611) | func (_c *MockStore_ConfigsForPipeline_Call) RunAndReturn(run func(pip... type MockStore_CreatePipeline_Call (line 640) | type MockStore_CreatePipeline_Call struct method Run (line 652) | func (_c *MockStore_CreatePipeline_Call) Run(run func(pipeline *model.... method Return (line 672) | func (_c *MockStore_CreatePipeline_Call) Return(err error) *MockStore_... method RunAndReturn (line 677) | func (_c *MockStore_CreatePipeline_Call) RunAndReturn(run func(pipelin... type MockStore_CreateRedirection_Call (line 700) | type MockStore_CreateRedirection_Call struct method Run (line 710) | func (_c *MockStore_CreateRedirection_Call) Run(run func(redirection *... method Return (line 723) | func (_c *MockStore_CreateRedirection_Call) Return(err error) *MockSto... method RunAndReturn (line 728) | func (_c *MockStore_CreateRedirection_Call) RunAndReturn(run func(redi... type MockStore_CreateRepo_Call (line 751) | type MockStore_CreateRepo_Call struct method Run (line 761) | func (_c *MockStore_CreateRepo_Call) Run(run func(repo *model.Repo)) *... method Return (line 774) | func (_c *MockStore_CreateRepo_Call) Return(err error) *MockStore_Crea... method RunAndReturn (line 779) | func (_c *MockStore_CreateRepo_Call) RunAndReturn(run func(repo *model... type MockStore_CreateUser_Call (line 802) | type MockStore_CreateUser_Call struct method Run (line 812) | func (_c *MockStore_CreateUser_Call) Run(run func(user *model.User)) *... method Return (line 825) | func (_c *MockStore_CreateUser_Call) Return(err error) *MockStore_Crea... method RunAndReturn (line 830) | func (_c *MockStore_CreateUser_Call) RunAndReturn(run func(user *model... type MockStore_CronCreate_Call (line 853) | type MockStore_CronCreate_Call struct method Run (line 863) | func (_c *MockStore_CronCreate_Call) Run(run func(cron *model.Cron)) *... method Return (line 876) | func (_c *MockStore_CronCreate_Call) Return(err error) *MockStore_Cron... method RunAndReturn (line 881) | func (_c *MockStore_CronCreate_Call) RunAndReturn(run func(cron *model... type MockStore_CronDelete_Call (line 904) | type MockStore_CronDelete_Call struct method Run (line 915) | func (_c *MockStore_CronDelete_Call) Run(run func(repo *model.Repo, n ... method Return (line 933) | func (_c *MockStore_CronDelete_Call) Return(err error) *MockStore_Cron... method RunAndReturn (line 938) | func (_c *MockStore_CronDelete_Call) RunAndReturn(run func(repo *model... type MockStore_CronFind_Call (line 972) | type MockStore_CronFind_Call struct method Run (line 983) | func (_c *MockStore_CronFind_Call) Run(run func(repo *model.Repo, n in... method Return (line 1001) | func (_c *MockStore_CronFind_Call) Return(cron *model.Cron, err error)... method RunAndReturn (line 1006) | func (_c *MockStore_CronFind_Call) RunAndReturn(run func(repo *model.R... type MockStore_CronGetLock_Call (line 1038) | type MockStore_CronGetLock_Call struct method Run (line 1049) | func (_c *MockStore_CronGetLock_Call) Run(run func(cron *model.Cron, n... method Return (line 1067) | func (_c *MockStore_CronGetLock_Call) Return(b bool, err error) *MockS... method RunAndReturn (line 1072) | func (_c *MockStore_CronGetLock_Call) RunAndReturn(run func(cron *mode... type MockStore_CronList_Call (line 1106) | type MockStore_CronList_Call struct method Run (line 1117) | func (_c *MockStore_CronList_Call) Run(run func(repo *model.Repo, list... method Return (line 1135) | func (_c *MockStore_CronList_Call) Return(crons []*model.Cron, err err... method RunAndReturn (line 1140) | func (_c *MockStore_CronList_Call) RunAndReturn(run func(repo *model.R... type MockStore_CronListNextExecute_Call (line 1174) | type MockStore_CronListNextExecute_Call struct method Run (line 1185) | func (_c *MockStore_CronListNextExecute_Call) Run(run func(n int64, n1... method Return (line 1203) | func (_c *MockStore_CronListNextExecute_Call) Return(crons []*model.Cr... method RunAndReturn (line 1208) | func (_c *MockStore_CronListNextExecute_Call) RunAndReturn(run func(n ... type MockStore_CronUpdate_Call (line 1231) | type MockStore_CronUpdate_Call struct method Run (line 1242) | func (_c *MockStore_CronUpdate_Call) Run(run func(repo *model.Repo, cr... method Return (line 1260) | func (_c *MockStore_CronUpdate_Call) Return(err error) *MockStore_Cron... method RunAndReturn (line 1265) | func (_c *MockStore_CronUpdate_Call) RunAndReturn(run func(repo *model... type MockStore_DeletePipeline_Call (line 1288) | type MockStore_DeletePipeline_Call struct method Run (line 1298) | func (_c *MockStore_DeletePipeline_Call) Run(run func(pipeline *model.... method Return (line 1311) | func (_c *MockStore_DeletePipeline_Call) Return(err error) *MockStore_... method RunAndReturn (line 1316) | func (_c *MockStore_DeletePipeline_Call) RunAndReturn(run func(pipelin... type MockStore_DeleteRepo_Call (line 1339) | type MockStore_DeleteRepo_Call struct method Run (line 1349) | func (_c *MockStore_DeleteRepo_Call) Run(run func(repo *model.Repo)) *... method Return (line 1362) | func (_c *MockStore_DeleteRepo_Call) Return(err error) *MockStore_Dele... method RunAndReturn (line 1367) | func (_c *MockStore_DeleteRepo_Call) RunAndReturn(run func(repo *model... type MockStore_DeleteUser_Call (line 1390) | type MockStore_DeleteUser_Call struct method Run (line 1400) | func (_c *MockStore_DeleteUser_Call) Run(run func(user *model.User)) *... method Return (line 1413) | func (_c *MockStore_DeleteUser_Call) Return(err error) *MockStore_Dele... method RunAndReturn (line 1418) | func (_c *MockStore_DeleteUser_Call) RunAndReturn(run func(user *model... type MockStore_ForgeCreate_Call (line 1441) | type MockStore_ForgeCreate_Call struct method Run (line 1451) | func (_c *MockStore_ForgeCreate_Call) Run(run func(forge *model.Forge)... method Return (line 1464) | func (_c *MockStore_ForgeCreate_Call) Return(err error) *MockStore_For... method RunAndReturn (line 1469) | func (_c *MockStore_ForgeCreate_Call) RunAndReturn(run func(forge *mod... type MockStore_ForgeDelete_Call (line 1492) | type MockStore_ForgeDelete_Call struct method Run (line 1502) | func (_c *MockStore_ForgeDelete_Call) Run(run func(forge *model.Forge)... method Return (line 1515) | func (_c *MockStore_ForgeDelete_Call) Return(err error) *MockStore_For... method RunAndReturn (line 1520) | func (_c *MockStore_ForgeDelete_Call) RunAndReturn(run func(forge *mod... type MockStore_ForgeGet_Call (line 1554) | type MockStore_ForgeGet_Call struct method Run (line 1564) | func (_c *MockStore_ForgeGet_Call) Run(run func(n int64)) *MockStore_F... method Return (line 1577) | func (_c *MockStore_ForgeGet_Call) Return(forge *model.Forge, err erro... method RunAndReturn (line 1582) | func (_c *MockStore_ForgeGet_Call) RunAndReturn(run func(n int64) (*mo... type MockStore_ForgeList_Call (line 1616) | type MockStore_ForgeList_Call struct method Run (line 1626) | func (_c *MockStore_ForgeList_Call) Run(run func(p *model.ListOptions)... method Return (line 1639) | func (_c *MockStore_ForgeList_Call) Return(forges []*model.Forge, err ... method RunAndReturn (line 1644) | func (_c *MockStore_ForgeList_Call) RunAndReturn(run func(p *model.Lis... type MockStore_ForgeUpdate_Call (line 1667) | type MockStore_ForgeUpdate_Call struct method Run (line 1677) | func (_c *MockStore_ForgeUpdate_Call) Run(run func(forge *model.Forge)... method Return (line 1690) | func (_c *MockStore_ForgeUpdate_Call) Return(err error) *MockStore_For... method RunAndReturn (line 1695) | func (_c *MockStore_ForgeUpdate_Call) RunAndReturn(run func(forge *mod... type MockStore_GetActivePipelineList_Call (line 1729) | type MockStore_GetActivePipelineList_Call struct method Run (line 1739) | func (_c *MockStore_GetActivePipelineList_Call) Run(run func(repo *mod... method Return (line 1752) | func (_c *MockStore_GetActivePipelineList_Call) Return(pipelines []*mo... method RunAndReturn (line 1757) | func (_c *MockStore_GetActivePipelineList_Call) RunAndReturn(run func(... type MockStore_GetPipeline_Call (line 1791) | type MockStore_GetPipeline_Call struct method Run (line 1801) | func (_c *MockStore_GetPipeline_Call) Run(run func(n int64)) *MockStor... method Return (line 1814) | func (_c *MockStore_GetPipeline_Call) Return(pipeline *model.Pipeline,... method RunAndReturn (line 1819) | func (_c *MockStore_GetPipeline_Call) RunAndReturn(run func(n int64) (... type MockStore_GetPipelineBadge_Call (line 1853) | type MockStore_GetPipelineBadge_Call struct method Run (line 1865) | func (_c *MockStore_GetPipelineBadge_Call) Run(run func(repo *model.Re... method Return (line 1888) | func (_c *MockStore_GetPipelineBadge_Call) Return(pipeline *model.Pipe... method RunAndReturn (line 1893) | func (_c *MockStore_GetPipelineBadge_Call) RunAndReturn(run func(repo ... type MockStore_GetPipelineCount_Call (line 1925) | type MockStore_GetPipelineCount_Call struct method Run (line 1934) | func (_c *MockStore_GetPipelineCount_Call) Run(run func()) *MockStore_... method Return (line 1941) | func (_c *MockStore_GetPipelineCount_Call) Return(n int64, err error) ... method RunAndReturn (line 1946) | func (_c *MockStore_GetPipelineCount_Call) RunAndReturn(run func() (in... type MockStore_GetPipelineLastBefore_Call (line 1980) | type MockStore_GetPipelineLastBefore_Call struct method Run (line 1992) | func (_c *MockStore_GetPipelineLastBefore_Call) Run(run func(repo *mod... method Return (line 2015) | func (_c *MockStore_GetPipelineLastBefore_Call) Return(pipeline *model... method RunAndReturn (line 2020) | func (_c *MockStore_GetPipelineLastBefore_Call) RunAndReturn(run func(... type MockStore_GetPipelineLastByBranch_Call (line 2054) | type MockStore_GetPipelineLastByBranch_Call struct method Run (line 2065) | func (_c *MockStore_GetPipelineLastByBranch_Call) Run(run func(repo *m... method Return (line 2083) | func (_c *MockStore_GetPipelineLastByBranch_Call) Return(pipeline *mod... method RunAndReturn (line 2088) | func (_c *MockStore_GetPipelineLastByBranch_Call) RunAndReturn(run fun... type MockStore_GetPipelineList_Call (line 2122) | type MockStore_GetPipelineList_Call struct method Run (line 2134) | func (_c *MockStore_GetPipelineList_Call) Run(run func(repo *model.Rep... method Return (line 2157) | func (_c *MockStore_GetPipelineList_Call) Return(pipelines []*model.Pi... method RunAndReturn (line 2162) | func (_c *MockStore_GetPipelineList_Call) RunAndReturn(run func(repo *... type MockStore_GetPipelineNumber_Call (line 2196) | type MockStore_GetPipelineNumber_Call struct method Run (line 2207) | func (_c *MockStore_GetPipelineNumber_Call) Run(run func(repo *model.R... method Return (line 2225) | func (_c *MockStore_GetPipelineNumber_Call) Return(pipeline *model.Pip... method RunAndReturn (line 2230) | func (_c *MockStore_GetPipelineNumber_Call) RunAndReturn(run func(repo... type MockStore_GetPipelineQueue_Call (line 2264) | type MockStore_GetPipelineQueue_Call struct method Run (line 2273) | func (_c *MockStore_GetPipelineQueue_Call) Run(run func()) *MockStore_... method Return (line 2280) | func (_c *MockStore_GetPipelineQueue_Call) Return(feeds []*model.Feed,... method RunAndReturn (line 2285) | func (_c *MockStore_GetPipelineQueue_Call) RunAndReturn(run func() ([]... type MockStore_GetRepo_Call (line 2319) | type MockStore_GetRepo_Call struct method Run (line 2329) | func (_c *MockStore_GetRepo_Call) Run(run func(n int64)) *MockStore_Ge... method Return (line 2342) | func (_c *MockStore_GetRepo_Call) Return(repo *model.Repo, err error) ... method RunAndReturn (line 2347) | func (_c *MockStore_GetRepo_Call) RunAndReturn(run func(n int64) (*mod... type MockStore_GetRepoCount_Call (line 2379) | type MockStore_GetRepoCount_Call struct method Run (line 2388) | func (_c *MockStore_GetRepoCount_Call) Run(run func()) *MockStore_GetR... method Return (line 2395) | func (_c *MockStore_GetRepoCount_Call) Return(n int64, err error) *Moc... method RunAndReturn (line 2400) | func (_c *MockStore_GetRepoCount_Call) RunAndReturn(run func() (int64,... type MockStore_GetRepoForgeID_Call (line 2434) | type MockStore_GetRepoForgeID_Call struct method Run (line 2445) | func (_c *MockStore_GetRepoForgeID_Call) Run(run func(n int64, forgeRe... method Return (line 2463) | func (_c *MockStore_GetRepoForgeID_Call) Return(repo *model.Repo, err ... method RunAndReturn (line 2468) | func (_c *MockStore_GetRepoForgeID_Call) RunAndReturn(run func(n int64... type MockStore_GetRepoLatestPipelines_Call (line 2502) | type MockStore_GetRepoLatestPipelines_Call struct method Run (line 2512) | func (_c *MockStore_GetRepoLatestPipelines_Call) Run(run func(int64s [... method Return (line 2525) | func (_c *MockStore_GetRepoLatestPipelines_Call) Return(pipelines []*m... method RunAndReturn (line 2530) | func (_c *MockStore_GetRepoLatestPipelines_Call) RunAndReturn(run func... type MockStore_GetRepoName_Call (line 2564) | type MockStore_GetRepoName_Call struct method Run (line 2574) | func (_c *MockStore_GetRepoName_Call) Run(run func(s string)) *MockSto... method Return (line 2587) | func (_c *MockStore_GetRepoName_Call) Return(repo *model.Repo, err err... method RunAndReturn (line 2592) | func (_c *MockStore_GetRepoName_Call) RunAndReturn(run func(s string) ... type MockStore_GetRepoNameFallback_Call (line 2626) | type MockStore_GetRepoNameFallback_Call struct method Run (line 2638) | func (_c *MockStore_GetRepoNameFallback_Call) Run(run func(forgeID int... method Return (line 2661) | func (_c *MockStore_GetRepoNameFallback_Call) Return(repo *model.Repo,... method RunAndReturn (line 2666) | func (_c *MockStore_GetRepoNameFallback_Call) RunAndReturn(run func(fo... type MockStore_GetUser_Call (line 2700) | type MockStore_GetUser_Call struct method Run (line 2710) | func (_c *MockStore_GetUser_Call) Run(run func(n int64)) *MockStore_Ge... method Return (line 2723) | func (_c *MockStore_GetUser_Call) Return(user *model.User, err error) ... method RunAndReturn (line 2728) | func (_c *MockStore_GetUser_Call) RunAndReturn(run func(n int64) (*mod... type MockStore_GetUserByLogin_Call (line 2762) | type MockStore_GetUserByLogin_Call struct method Run (line 2773) | func (_c *MockStore_GetUserByLogin_Call) Run(run func(n int64, s strin... method Return (line 2791) | func (_c *MockStore_GetUserByLogin_Call) Return(user *model.User, err ... method RunAndReturn (line 2796) | func (_c *MockStore_GetUserByLogin_Call) RunAndReturn(run func(n int64... type MockStore_GetUserByRemoteID_Call (line 2830) | type MockStore_GetUserByRemoteID_Call struct method Run (line 2841) | func (_c *MockStore_GetUserByRemoteID_Call) Run(run func(n int64, forg... method Return (line 2859) | func (_c *MockStore_GetUserByRemoteID_Call) Return(user *model.User, e... method RunAndReturn (line 2864) | func (_c *MockStore_GetUserByRemoteID_Call) RunAndReturn(run func(n in... type MockStore_GetUserCount_Call (line 2896) | type MockStore_GetUserCount_Call struct method Run (line 2905) | func (_c *MockStore_GetUserCount_Call) Run(run func()) *MockStore_GetU... method Return (line 2912) | func (_c *MockStore_GetUserCount_Call) Return(n int64, err error) *Moc... method RunAndReturn (line 2917) | func (_c *MockStore_GetUserCount_Call) RunAndReturn(run func() (int64,... type MockStore_GetUserList_Call (line 2951) | type MockStore_GetUserList_Call struct method Run (line 2961) | func (_c *MockStore_GetUserList_Call) Run(run func(p *model.ListOption... method Return (line 2974) | func (_c *MockStore_GetUserList_Call) Return(users []*model.User, err ... method RunAndReturn (line 2979) | func (_c *MockStore_GetUserList_Call) RunAndReturn(run func(p *model.L... type MockStore_GlobalRegistryFind_Call (line 3013) | type MockStore_GlobalRegistryFind_Call struct method Run (line 3023) | func (_c *MockStore_GlobalRegistryFind_Call) Run(run func(s string)) *... method Return (line 3036) | func (_c *MockStore_GlobalRegistryFind_Call) Return(registry *model.Re... method RunAndReturn (line 3041) | func (_c *MockStore_GlobalRegistryFind_Call) RunAndReturn(run func(s s... type MockStore_GlobalRegistryList_Call (line 3075) | type MockStore_GlobalRegistryList_Call struct method Run (line 3085) | func (_c *MockStore_GlobalRegistryList_Call) Run(run func(listOptions ... method Return (line 3098) | func (_c *MockStore_GlobalRegistryList_Call) Return(registrys []*model... method RunAndReturn (line 3103) | func (_c *MockStore_GlobalRegistryList_Call) RunAndReturn(run func(lis... type MockStore_GlobalSecretFind_Call (line 3137) | type MockStore_GlobalSecretFind_Call struct method Run (line 3147) | func (_c *MockStore_GlobalSecretFind_Call) Run(run func(s string)) *Mo... method Return (line 3160) | func (_c *MockStore_GlobalSecretFind_Call) Return(secret *model.Secret... method RunAndReturn (line 3165) | func (_c *MockStore_GlobalSecretFind_Call) RunAndReturn(run func(s str... type MockStore_GlobalSecretList_Call (line 3199) | type MockStore_GlobalSecretList_Call struct method Run (line 3209) | func (_c *MockStore_GlobalSecretList_Call) Run(run func(listOptions *m... method Return (line 3222) | func (_c *MockStore_GlobalSecretList_Call) Return(secrets []*model.Sec... method RunAndReturn (line 3227) | func (_c *MockStore_GlobalSecretList_Call) RunAndReturn(run func(listO... type MockStore_HasRedirectionForRepo_Call (line 3259) | type MockStore_HasRedirectionForRepo_Call struct method Run (line 3270) | func (_c *MockStore_HasRedirectionForRepo_Call) Run(run func(n int64, ... method Return (line 3288) | func (_c *MockStore_HasRedirectionForRepo_Call) Return(b bool, err err... method RunAndReturn (line 3293) | func (_c *MockStore_HasRedirectionForRepo_Call) RunAndReturn(run func(... type MockStore_LogAppend_Call (line 3316) | type MockStore_LogAppend_Call struct method Run (line 3327) | func (_c *MockStore_LogAppend_Call) Run(run func(step *model.Step, log... method Return (line 3345) | func (_c *MockStore_LogAppend_Call) Return(err error) *MockStore_LogAp... method RunAndReturn (line 3350) | func (_c *MockStore_LogAppend_Call) RunAndReturn(run func(step *model.... type MockStore_LogDelete_Call (line 3373) | type MockStore_LogDelete_Call struct method Run (line 3383) | func (_c *MockStore_LogDelete_Call) Run(run func(step *model.Step)) *M... method Return (line 3396) | func (_c *MockStore_LogDelete_Call) Return(err error) *MockStore_LogDe... method RunAndReturn (line 3401) | func (_c *MockStore_LogDelete_Call) RunAndReturn(run func(step *model.... type MockStore_LogFind_Call (line 3435) | type MockStore_LogFind_Call struct method Run (line 3445) | func (_c *MockStore_LogFind_Call) Run(run func(step *model.Step)) *Moc... method Return (line 3458) | func (_c *MockStore_LogFind_Call) Return(logEntrys []*model.LogEntry, ... method RunAndReturn (line 3463) | func (_c *MockStore_LogFind_Call) RunAndReturn(run func(step *model.St... type MockStore_Migrate_Call (line 3486) | type MockStore_Migrate_Call struct method Run (line 3497) | func (_c *MockStore_Migrate_Call) Run(run func(context1 context.Contex... method Return (line 3515) | func (_c *MockStore_Migrate_Call) Return(err error) *MockStore_Migrate... method RunAndReturn (line 3520) | func (_c *MockStore_Migrate_Call) RunAndReturn(run func(context1 conte... type MockStore_OrgCreate_Call (line 3543) | type MockStore_OrgCreate_Call struct method Run (line 3553) | func (_c *MockStore_OrgCreate_Call) Run(run func(org *model.Org)) *Moc... method Return (line 3566) | func (_c *MockStore_OrgCreate_Call) Return(err error) *MockStore_OrgCr... method RunAndReturn (line 3571) | func (_c *MockStore_OrgCreate_Call) RunAndReturn(run func(org *model.O... type MockStore_OrgDelete_Call (line 3594) | type MockStore_OrgDelete_Call struct method Run (line 3604) | func (_c *MockStore_OrgDelete_Call) Run(run func(n int64)) *MockStore_... method Return (line 3617) | func (_c *MockStore_OrgDelete_Call) Return(err error) *MockStore_OrgDe... method RunAndReturn (line 3622) | func (_c *MockStore_OrgDelete_Call) RunAndReturn(run func(n int64) err... type MockStore_OrgFindByName_Call (line 3656) | type MockStore_OrgFindByName_Call struct method Run (line 3667) | func (_c *MockStore_OrgFindByName_Call) Run(run func(s string, n int64... method Return (line 3685) | func (_c *MockStore_OrgFindByName_Call) Return(org *model.Org, err err... method RunAndReturn (line 3690) | func (_c *MockStore_OrgFindByName_Call) RunAndReturn(run func(s string... type MockStore_OrgGet_Call (line 3724) | type MockStore_OrgGet_Call struct method Run (line 3734) | func (_c *MockStore_OrgGet_Call) Run(run func(n int64)) *MockStore_Org... method Return (line 3747) | func (_c *MockStore_OrgGet_Call) Return(org *model.Org, err error) *Mo... method RunAndReturn (line 3752) | func (_c *MockStore_OrgGet_Call) RunAndReturn(run func(n int64) (*mode... type MockStore_OrgList_Call (line 3786) | type MockStore_OrgList_Call struct method Run (line 3796) | func (_c *MockStore_OrgList_Call) Run(run func(listOptions *model.List... method Return (line 3809) | func (_c *MockStore_OrgList_Call) Return(orgs []*model.Org, err error)... method RunAndReturn (line 3814) | func (_c *MockStore_OrgList_Call) RunAndReturn(run func(listOptions *m... type MockStore_OrgRegistryFind_Call (line 3848) | type MockStore_OrgRegistryFind_Call struct method Run (line 3859) | func (_c *MockStore_OrgRegistryFind_Call) Run(run func(n int64, s stri... method Return (line 3877) | func (_c *MockStore_OrgRegistryFind_Call) Return(registry *model.Regis... method RunAndReturn (line 3882) | func (_c *MockStore_OrgRegistryFind_Call) RunAndReturn(run func(n int6... type MockStore_OrgRegistryList_Call (line 3916) | type MockStore_OrgRegistryList_Call struct method Run (line 3927) | func (_c *MockStore_OrgRegistryList_Call) Run(run func(n int64, listOp... method Return (line 3945) | func (_c *MockStore_OrgRegistryList_Call) Return(registrys []*model.Re... method RunAndReturn (line 3950) | func (_c *MockStore_OrgRegistryList_Call) RunAndReturn(run func(n int6... type MockStore_OrgRepoList_Call (line 3984) | type MockStore_OrgRepoList_Call struct method Run (line 3995) | func (_c *MockStore_OrgRepoList_Call) Run(run func(org *model.Org, lis... method Return (line 4013) | func (_c *MockStore_OrgRepoList_Call) Return(repos []*model.Repo, err ... method RunAndReturn (line 4018) | func (_c *MockStore_OrgRepoList_Call) RunAndReturn(run func(org *model... type MockStore_OrgSecretFind_Call (line 4052) | type MockStore_OrgSecretFind_Call struct method Run (line 4063) | func (_c *MockStore_OrgSecretFind_Call) Run(run func(n int64, s string... method Return (line 4081) | func (_c *MockStore_OrgSecretFind_Call) Return(secret *model.Secret, e... method RunAndReturn (line 4086) | func (_c *MockStore_OrgSecretFind_Call) RunAndReturn(run func(n int64,... type MockStore_OrgSecretList_Call (line 4120) | type MockStore_OrgSecretList_Call struct method Run (line 4131) | func (_c *MockStore_OrgSecretList_Call) Run(run func(n int64, listOpti... method Return (line 4149) | func (_c *MockStore_OrgSecretList_Call) Return(secrets []*model.Secret... method RunAndReturn (line 4154) | func (_c *MockStore_OrgSecretList_Call) RunAndReturn(run func(n int64,... type MockStore_OrgUpdate_Call (line 4177) | type MockStore_OrgUpdate_Call struct method Run (line 4187) | func (_c *MockStore_OrgUpdate_Call) Run(run func(org *model.Org)) *Moc... method Return (line 4200) | func (_c *MockStore_OrgUpdate_Call) Return(err error) *MockStore_OrgUp... method RunAndReturn (line 4205) | func (_c *MockStore_OrgUpdate_Call) RunAndReturn(run func(org *model.O... type MockStore_PermFind_Call (line 4239) | type MockStore_PermFind_Call struct method Run (line 4250) | func (_c *MockStore_PermFind_Call) Run(run func(user *model.User, repo... method Return (line 4268) | func (_c *MockStore_PermFind_Call) Return(perm *model.Perm, err error)... method RunAndReturn (line 4273) | func (_c *MockStore_PermFind_Call) RunAndReturn(run func(user *model.U... type MockStore_PermPrune_Call (line 4296) | type MockStore_PermPrune_Call struct method Run (line 4307) | func (_c *MockStore_PermPrune_Call) Run(run func(userID int64, keepRep... method Return (line 4325) | func (_c *MockStore_PermPrune_Call) Return(err error) *MockStore_PermP... method RunAndReturn (line 4330) | func (_c *MockStore_PermPrune_Call) RunAndReturn(run func(userID int64... type MockStore_PermUpsert_Call (line 4353) | type MockStore_PermUpsert_Call struct method Run (line 4363) | func (_c *MockStore_PermUpsert_Call) Run(run func(perm *model.Perm)) *... method Return (line 4376) | func (_c *MockStore_PermUpsert_Call) Return(err error) *MockStore_Perm... method RunAndReturn (line 4381) | func (_c *MockStore_PermUpsert_Call) RunAndReturn(run func(perm *model... type MockStore_Ping_Call (line 4404) | type MockStore_Ping_Call struct method Run (line 4413) | func (_c *MockStore_Ping_Call) Run(run func()) *MockStore_Ping_Call { method Return (line 4420) | func (_c *MockStore_Ping_Call) Return(err error) *MockStore_Ping_Call { method RunAndReturn (line 4425) | func (_c *MockStore_Ping_Call) RunAndReturn(run func() error) *MockSto... type MockStore_PipelineConfigCreate_Call (line 4448) | type MockStore_PipelineConfigCreate_Call struct method Run (line 4458) | func (_c *MockStore_PipelineConfigCreate_Call) Run(run func(pipelineCo... method Return (line 4471) | func (_c *MockStore_PipelineConfigCreate_Call) Return(err error) *Mock... method RunAndReturn (line 4476) | func (_c *MockStore_PipelineConfigCreate_Call) RunAndReturn(run func(p... type MockStore_RegistryCreate_Call (line 4499) | type MockStore_RegistryCreate_Call struct method Run (line 4509) | func (_c *MockStore_RegistryCreate_Call) Run(run func(registry *model.... method Return (line 4522) | func (_c *MockStore_RegistryCreate_Call) Return(err error) *MockStore_... method RunAndReturn (line 4527) | func (_c *MockStore_RegistryCreate_Call) RunAndReturn(run func(registr... type MockStore_RegistryDelete_Call (line 4550) | type MockStore_RegistryDelete_Call struct method Run (line 4560) | func (_c *MockStore_RegistryDelete_Call) Run(run func(registry *model.... method Return (line 4573) | func (_c *MockStore_RegistryDelete_Call) Return(err error) *MockStore_... method RunAndReturn (line 4578) | func (_c *MockStore_RegistryDelete_Call) RunAndReturn(run func(registr... type MockStore_RegistryFind_Call (line 4612) | type MockStore_RegistryFind_Call struct method Run (line 4623) | func (_c *MockStore_RegistryFind_Call) Run(run func(repo *model.Repo, ... method Return (line 4641) | func (_c *MockStore_RegistryFind_Call) Return(registry *model.Registry... method RunAndReturn (line 4646) | func (_c *MockStore_RegistryFind_Call) RunAndReturn(run func(repo *mod... type MockStore_RegistryList_Call (line 4680) | type MockStore_RegistryList_Call struct method Run (line 4692) | func (_c *MockStore_RegistryList_Call) Run(run func(repo *model.Repo, ... method Return (line 4715) | func (_c *MockStore_RegistryList_Call) Return(registrys []*model.Regis... method RunAndReturn (line 4720) | func (_c *MockStore_RegistryList_Call) RunAndReturn(run func(repo *mod... type MockStore_RegistryListAll_Call (line 4754) | type MockStore_RegistryListAll_Call struct method Run (line 4763) | func (_c *MockStore_RegistryListAll_Call) Run(run func()) *MockStore_R... method Return (line 4770) | func (_c *MockStore_RegistryListAll_Call) Return(registrys []*model.Re... method RunAndReturn (line 4775) | func (_c *MockStore_RegistryListAll_Call) RunAndReturn(run func() ([]*... type MockStore_RegistryUpdate_Call (line 4798) | type MockStore_RegistryUpdate_Call struct method Run (line 4808) | func (_c *MockStore_RegistryUpdate_Call) Run(run func(registry *model.... method Return (line 4821) | func (_c *MockStore_RegistryUpdate_Call) Return(err error) *MockStore_... method RunAndReturn (line 4826) | func (_c *MockStore_RegistryUpdate_Call) RunAndReturn(run func(registr... type MockStore_RepoList_Call (line 4860) | type MockStore_RepoList_Call struct method Run (line 4873) | func (_c *MockStore_RepoList_Call) Run(run func(user *model.User, owne... method Return (line 4901) | func (_c *MockStore_RepoList_Call) Return(repos []*model.Repo, err err... method RunAndReturn (line 4906) | func (_c *MockStore_RepoList_Call) RunAndReturn(run func(user *model.U... type MockStore_RepoListAll_Call (line 4940) | type MockStore_RepoListAll_Call struct method Run (line 4951) | func (_c *MockStore_RepoListAll_Call) Run(run func(active bool, p *mod... method Return (line 4969) | func (_c *MockStore_RepoListAll_Call) Return(repos []*model.Repo, err ... method RunAndReturn (line 4974) | func (_c *MockStore_RepoListAll_Call) RunAndReturn(run func(active boo... type MockStore_RepoListLatest_Call (line 5008) | type MockStore_RepoListLatest_Call struct method Run (line 5018) | func (_c *MockStore_RepoListLatest_Call) Run(run func(user *model.User... method Return (line 5031) | func (_c *MockStore_RepoListLatest_Call) Return(feeds []*model.Feed, e... method RunAndReturn (line 5036) | func (_c *MockStore_RepoListLatest_Call) RunAndReturn(run func(user *m... type MockStore_SecretCreate_Call (line 5059) | type MockStore_SecretCreate_Call struct method Run (line 5069) | func (_c *MockStore_SecretCreate_Call) Run(run func(secret *model.Secr... method Return (line 5082) | func (_c *MockStore_SecretCreate_Call) Return(err error) *MockStore_Se... method RunAndReturn (line 5087) | func (_c *MockStore_SecretCreate_Call) RunAndReturn(run func(secret *m... type MockStore_SecretDelete_Call (line 5110) | type MockStore_SecretDelete_Call struct method Run (line 5120) | func (_c *MockStore_SecretDelete_Call) Run(run func(secret *model.Secr... method Return (line 5133) | func (_c *MockStore_SecretDelete_Call) Return(err error) *MockStore_Se... method RunAndReturn (line 5138) | func (_c *MockStore_SecretDelete_Call) RunAndReturn(run func(secret *m... type MockStore_SecretFind_Call (line 5172) | type MockStore_SecretFind_Call struct method Run (line 5183) | func (_c *MockStore_SecretFind_Call) Run(run func(repo *model.Repo, s ... method Return (line 5201) | func (_c *MockStore_SecretFind_Call) Return(secret *model.Secret, err ... method RunAndReturn (line 5206) | func (_c *MockStore_SecretFind_Call) RunAndReturn(run func(repo *model... type MockStore_SecretList_Call (line 5240) | type MockStore_SecretList_Call struct method Run (line 5252) | func (_c *MockStore_SecretList_Call) Run(run func(repo *model.Repo, b ... method Return (line 5275) | func (_c *MockStore_SecretList_Call) Return(secrets []*model.Secret, e... method RunAndReturn (line 5280) | func (_c *MockStore_SecretList_Call) RunAndReturn(run func(repo *model... type MockStore_SecretListAll_Call (line 5314) | type MockStore_SecretListAll_Call struct method Run (line 5323) | func (_c *MockStore_SecretListAll_Call) Run(run func()) *MockStore_Sec... method Return (line 5330) | func (_c *MockStore_SecretListAll_Call) Return(secrets []*model.Secret... method RunAndReturn (line 5335) | func (_c *MockStore_SecretListAll_Call) RunAndReturn(run func() ([]*mo... type MockStore_SecretUpdate_Call (line 5358) | type MockStore_SecretUpdate_Call struct method Run (line 5368) | func (_c *MockStore_SecretUpdate_Call) Run(run func(secret *model.Secr... method Return (line 5381) | func (_c *MockStore_SecretUpdate_Call) Return(err error) *MockStore_Se... method RunAndReturn (line 5386) | func (_c *MockStore_SecretUpdate_Call) RunAndReturn(run func(secret *m... type MockStore_ServerConfigDelete_Call (line 5409) | type MockStore_ServerConfigDelete_Call struct method Run (line 5419) | func (_c *MockStore_ServerConfigDelete_Call) Run(run func(s string)) *... method Return (line 5432) | func (_c *MockStore_ServerConfigDelete_Call) Return(err error) *MockSt... method RunAndReturn (line 5437) | func (_c *MockStore_ServerConfigDelete_Call) RunAndReturn(run func(s s... type MockStore_ServerConfigGet_Call (line 5469) | type MockStore_ServerConfigGet_Call struct method Run (line 5479) | func (_c *MockStore_ServerConfigGet_Call) Run(run func(s string)) *Moc... method Return (line 5492) | func (_c *MockStore_ServerConfigGet_Call) Return(s1 string, err error)... method RunAndReturn (line 5497) | func (_c *MockStore_ServerConfigGet_Call) RunAndReturn(run func(s stri... type MockStore_ServerConfigSet_Call (line 5520) | type MockStore_ServerConfigSet_Call struct method Run (line 5531) | func (_c *MockStore_ServerConfigSet_Call) Run(run func(s string, s1 st... method Return (line 5549) | func (_c *MockStore_ServerConfigSet_Call) Return(err error) *MockStore... method RunAndReturn (line 5554) | func (_c *MockStore_ServerConfigSet_Call) RunAndReturn(run func(s stri... type MockStore_StepByUUID_Call (line 5588) | type MockStore_StepByUUID_Call struct method Run (line 5598) | func (_c *MockStore_StepByUUID_Call) Run(run func(uuid string)) *MockS... method Return (line 5611) | func (_c *MockStore_StepByUUID_Call) Return(step *model.Step, err erro... method RunAndReturn (line 5616) | func (_c *MockStore_StepByUUID_Call) RunAndReturn(run func(uuid string... type MockStore_StepFinished_Call (line 5628) | type MockStore_StepFinished_Call struct method Run (line 5638) | func (_c *MockStore_StepFinished_Call) Run(run func(step *model.Step))... method Return (line 5651) | func (_c *MockStore_StepFinished_Call) Return() *MockStore_StepFinishe... method RunAndReturn (line 5656) | func (_c *MockStore_StepFinished_Call) RunAndReturn(run func(step *mod... type MockStore_StepList_Call (line 5690) | type MockStore_StepList_Call struct method Run (line 5700) | func (_c *MockStore_StepList_Call) Run(run func(pipelineID int64)) *Mo... method Return (line 5713) | func (_c *MockStore_StepList_Call) Return(steps []*model.Step, err err... method RunAndReturn (line 5718) | func (_c *MockStore_StepList_Call) RunAndReturn(run func(pipelineID in... type MockStore_StepListFromWorkflowFind_Call (line 5752) | type MockStore_StepListFromWorkflowFind_Call struct method Run (line 5762) | func (_c *MockStore_StepListFromWorkflowFind_Call) Run(run func(workfl... method Return (line 5775) | func (_c *MockStore_StepListFromWorkflowFind_Call) Return(steps []*mod... method RunAndReturn (line 5780) | func (_c *MockStore_StepListFromWorkflowFind_Call) RunAndReturn(run fu... type MockStore_StepLoad_Call (line 5814) | type MockStore_StepLoad_Call struct method Run (line 5825) | func (_c *MockStore_StepLoad_Call) Run(run func(pipelineID int64, step... method Return (line 5843) | func (_c *MockStore_StepLoad_Call) Return(step *model.Step, err error)... method RunAndReturn (line 5848) | func (_c *MockStore_StepLoad_Call) RunAndReturn(run func(pipelineID in... type MockStore_StepUpdate_Call (line 5871) | type MockStore_StepUpdate_Call struct method Run (line 5881) | func (_c *MockStore_StepUpdate_Call) Run(run func(step *model.Step)) *... method Return (line 5894) | func (_c *MockStore_StepUpdate_Call) Return(err error) *MockStore_Step... method RunAndReturn (line 5899) | func (_c *MockStore_StepUpdate_Call) RunAndReturn(run func(step *model... type MockStore_TaskDelete_Call (line 5922) | type MockStore_TaskDelete_Call struct method Run (line 5932) | func (_c *MockStore_TaskDelete_Call) Run(run func(s string)) *MockStor... method Return (line 5945) | func (_c *MockStore_TaskDelete_Call) Return(err error) *MockStore_Task... method RunAndReturn (line 5950) | func (_c *MockStore_TaskDelete_Call) RunAndReturn(run func(s string) e... type MockStore_TaskInsert_Call (line 5973) | type MockStore_TaskInsert_Call struct method Run (line 5983) | func (_c *MockStore_TaskInsert_Call) Run(run func(task *model.Task)) *... method Return (line 5996) | func (_c *MockStore_TaskInsert_Call) Return(err error) *MockStore_Task... method RunAndReturn (line 6001) | func (_c *MockStore_TaskInsert_Call) RunAndReturn(run func(task *model... type MockStore_TaskList_Call (line 6035) | type MockStore_TaskList_Call struct method Run (line 6044) | func (_c *MockStore_TaskList_Call) Run(run func()) *MockStore_TaskList... method Return (line 6051) | func (_c *MockStore_TaskList_Call) Return(tasks []*model.Task, err err... method RunAndReturn (line 6056) | func (_c *MockStore_TaskList_Call) RunAndReturn(run func() ([]*model.T... type MockStore_UpdatePipeline_Call (line 6079) | type MockStore_UpdatePipeline_Call struct method Run (line 6089) | func (_c *MockStore_UpdatePipeline_Call) Run(run func(pipeline *model.... method Return (line 6102) | func (_c *MockStore_UpdatePipeline_Call) Return(err error) *MockStore_... method RunAndReturn (line 6107) | func (_c *MockStore_UpdatePipeline_Call) RunAndReturn(run func(pipelin... type MockStore_UpdateRepo_Call (line 6130) | type MockStore_UpdateRepo_Call struct method Run (line 6140) | func (_c *MockStore_UpdateRepo_Call) Run(run func(repo *model.Repo)) *... method Return (line 6153) | func (_c *MockStore_UpdateRepo_Call) Return(err error) *MockStore_Upda... method RunAndReturn (line 6158) | func (_c *MockStore_UpdateRepo_Call) RunAndReturn(run func(repo *model... type MockStore_UpdateUser_Call (line 6181) | type MockStore_UpdateUser_Call struct method Run (line 6191) | func (_c *MockStore_UpdateUser_Call) Run(run func(user *model.User)) *... method Return (line 6204) | func (_c *MockStore_UpdateUser_Call) Return(err error) *MockStore_Upda... method RunAndReturn (line 6209) | func (_c *MockStore_UpdateUser_Call) RunAndReturn(run func(user *model... type MockStore_UserFeed_Call (line 6243) | type MockStore_UserFeed_Call struct method Run (line 6253) | func (_c *MockStore_UserFeed_Call) Run(run func(user *model.User)) *Mo... method Return (line 6266) | func (_c *MockStore_UserFeed_Call) Return(feeds []*model.Feed, err err... method RunAndReturn (line 6271) | func (_c *MockStore_UserFeed_Call) RunAndReturn(run func(user *model.U... type MockStore_WorkflowGetTree_Call (line 6305) | type MockStore_WorkflowGetTree_Call struct method Run (line 6315) | func (_c *MockStore_WorkflowGetTree_Call) Run(run func(pipeline *model... method Return (line 6328) | func (_c *MockStore_WorkflowGetTree_Call) Return(workflows []*model.Wo... method RunAndReturn (line 6333) | func (_c *MockStore_WorkflowGetTree_Call) RunAndReturn(run func(pipeli... type MockStore_WorkflowLoad_Call (line 6367) | type MockStore_WorkflowLoad_Call struct method Run (line 6377) | func (_c *MockStore_WorkflowLoad_Call) Run(run func(n int64)) *MockSto... method Return (line 6390) | func (_c *MockStore_WorkflowLoad_Call) Return(workflow *model.Workflow... method RunAndReturn (line 6395) | func (_c *MockStore_WorkflowLoad_Call) RunAndReturn(run func(n int64) ... type MockStore_WorkflowUpdate_Call (line 6418) | type MockStore_WorkflowUpdate_Call struct method Run (line 6428) | func (_c *MockStore_WorkflowUpdate_Call) Run(run func(workflow *model.... method Return (line 6441) | func (_c *MockStore_WorkflowUpdate_Call) Return(err error) *MockStore_... method RunAndReturn (line 6446) | func (_c *MockStore_WorkflowUpdate_Call) RunAndReturn(run func(workflo... type MockStore_WorkflowsCreate_Call (line 6469) | type MockStore_WorkflowsCreate_Call struct method Run (line 6479) | func (_c *MockStore_WorkflowsCreate_Call) Run(run func(workflows []*mo... method Return (line 6492) | func (_c *MockStore_WorkflowsCreate_Call) Return(err error) *MockStore... method RunAndReturn (line 6497) | func (_c *MockStore_WorkflowsCreate_Call) RunAndReturn(run func(workfl... type MockStore_WorkflowsReplace_Call (line 6520) | type MockStore_WorkflowsReplace_Call struct method Run (line 6531) | func (_c *MockStore_WorkflowsReplace_Call) Run(run func(pipeline *mode... method Return (line 6549) | func (_c *MockStore_WorkflowsReplace_Call) Return(err error) *MockStor... method RunAndReturn (line 6554) | func (_c *MockStore_WorkflowsReplace_Call) RunAndReturn(run func(pipel... FILE: server/store/store.go type Store (line 25) | type Store interface FILE: server/web/config.go function Config (line 32) | func Config(c *gin.Context) { constant configTemplate (line 77) | configTemplate = ` FILE: server/web/web.go type prefixFS (line 36) | type prefixFS struct method Open (line 41) | func (f *prefixFS) Open(name string) (http.File, error) { function New (line 46) | func New() (*gin.Engine, error) { function handleCustomFilesAndAssets (line 70) | func handleCustomFilesAndAssets(fs *prefixFS) func(ctx *gin.Context) { function serveFile (line 91) | func serveFile(f *prefixFS) func(ctx *gin.Context) { function redirect (line 131) | func redirect(location string, status ...int) func(ctx *gin.Context) { function handleIndex (line 142) | func handleIndex(c *gin.Context) { function loadFile (line 152) | func loadFile(path string) ([]byte, error) { function replaceBytes (line 160) | func replaceBytes(data []byte) []byte { function parseIndex (line 164) | func parseIndex() ([]byte, error) { FILE: server/web/web_test.go function Test_custom_file_returns_OK_and_empty_content_and_fitting_mimetype (line 29) | func Test_custom_file_returns_OK_and_empty_content_and_fitting_mimetype(... function Test_custom_file_return_actual_content (line 63) | func Test_custom_file_return_actual_content(t *testing.T) { FILE: shared/constant/constant.go constant DefaultClonePlugin (line 30) | DefaultClonePlugin = "docker.io/woodpeckerci/plugin-git:2.9.0" FILE: shared/httputil/http_error.go function EnhanceHTTPError (line 30) | func EnhanceHTTPError(err error, method, endpoint string) error { FILE: shared/httputil/http_error_test.go function TestEnhanceHTTPError (line 28) | func TestEnhanceHTTPError(t *testing.T) { function TestEnhanceHTTPErrorPreservesOriginal (line 157) | func TestEnhanceHTTPErrorPreservesOriginal(t *testing.T) { FILE: shared/httputil/httputil.go function IsHTTPS (line 27) | func IsHTTPS(r *http.Request) bool { function SetCookie (line 43) | func SetCookie(w http.ResponseWriter, r *http.Request, name, value strin... function DelCookie (line 58) | func DelCookie(w http.ResponseWriter, r *http.Request, name string) { FILE: shared/httputil/useragent.go type UserAgentRoundTripper (line 26) | type UserAgentRoundTripper struct method RoundTrip (line 50) | func (rt *UserAgentRoundTripper) RoundTrip(req *http.Request) (*http.R... function NewUserAgentRoundTripper (line 33) | func NewUserAgentRoundTripper(base http.RoundTripper, component string) ... function WrapClient (line 65) | func WrapClient(client *http.Client, component string) *http.Client { FILE: shared/httputil/useragent_test.go function TestNewUserAgentRoundTripper (line 28) | func TestNewUserAgentRoundTripper(t *testing.T) { function TestUserAgentRoundTripper_RoundTrip (line 51) | func TestUserAgentRoundTripper_RoundTrip(t *testing.T) { function TestWrapClient (line 116) | func TestWrapClient(t *testing.T) { function TestIntegration_UserAgentInRealRequest (line 146) | func TestIntegration_UserAgentInRealRequest(t *testing.T) { FILE: shared/logger/addon_logger.go type AddonClientLogger (line 27) | type AddonClientLogger struct method applyArgs (line 51) | func (c *AddonClientLogger) applyArgs(args []any) *zerolog.Logger { method Log (line 71) | func (c *AddonClientLogger) Log(level hclog.Level, msg string, args ..... method Trace (line 75) | func (c *AddonClientLogger) Trace(msg string, args ...any) { method Debug (line 79) | func (c *AddonClientLogger) Debug(msg string, args ...any) { method Info (line 83) | func (c *AddonClientLogger) Info(msg string, args ...any) { method Warn (line 87) | func (c *AddonClientLogger) Warn(msg string, args ...any) { method Error (line 91) | func (c *AddonClientLogger) Error(msg string, args ...any) { method IsTrace (line 95) | func (c *AddonClientLogger) IsTrace() bool { method IsDebug (line 99) | func (c *AddonClientLogger) IsDebug() bool { method IsInfo (line 103) | func (c *AddonClientLogger) IsInfo() bool { method IsWarn (line 107) | func (c *AddonClientLogger) IsWarn() bool { method IsError (line 111) | func (c *AddonClientLogger) IsError() bool { method ImpliedArgs (line 115) | func (c *AddonClientLogger) ImpliedArgs() []any { method With (line 119) | func (c *AddonClientLogger) With(args ...any) hclog.Logger { method Name (line 127) | func (c *AddonClientLogger) Name() string { method Named (line 131) | func (c *AddonClientLogger) Named(name string) hclog.Logger { method ResetNamed (line 139) | func (c *AddonClientLogger) ResetNamed(name string) hclog.Logger { method SetLevel (line 147) | func (c *AddonClientLogger) SetLevel(level hclog.Level) { method GetLevel (line 151) | func (c *AddonClientLogger) GetLevel() hclog.Level { method StandardLogger (line 167) | func (c *AddonClientLogger) StandardLogger(opts *hclog.StandardLoggerO... method StandardWriter (line 171) | func (c *AddonClientLogger) StandardWriter(*hclog.StandardLoggerOption... function convertLvl (line 35) | func convertLvl(level hclog.Level) zerolog.Level { type ioAdapter (line 175) | type ioAdapter struct method Write (line 179) | func (i ioAdapter) Write(p []byte) (n int, err error) { FILE: shared/logger/logger.go function SetupGlobalLogger (line 56) | func SetupGlobalLogger(ctx context.Context, c *cli.Command, outputLvl bo... FILE: shared/logger/terminal.go function isInteractiveTerminal (line 24) | func isInteractiveTerminal() bool { FILE: shared/optional/option.go type Option (line 10) | type Option function None (line 12) | func None[T any]() Option[T] { function Some (line 16) | func Some[T any](v T) Option[T] { function FromPtr (line 20) | func FromPtr[T any](v *T) Option[T] { function FromNonDefault (line 27) | func FromNonDefault[T comparable](v T) Option[T] { method Has (line 35) | func (o Option[T]) Has() bool { method Value (line 39) | func (o Option[T]) Value() T { method ValueOrDefault (line 44) | func (o Option[T]) ValueOrDefault(v T) T { method ToPtr (line 51) | func (o Option[T]) ToPtr() *T { function ExtractValue (line 61) | func ExtractValue(obj any) (any, bool) { FILE: shared/optional/option_test.go function TestOption (line 16) | func TestOption(t *testing.T) { function TestExtractValue (line 58) | func TestExtractValue(t *testing.T) { function toPtr (line 85) | func toPtr[T any](val T) *T { type fakeHas (line 89) | type fakeHas struct method Has (line 91) | func (fakeHas) Has() bool { type fakeHas2 (line 95) | type fakeHas2 method Has (line 97) | func (fakeHas2) Has() bool { FILE: shared/optional/serialization.go method UnmarshalJSON (line 14) | func (o *Option[T]) UnmarshalJSON(data []byte) error { method MarshalJSON (line 23) | func (o Option[T]) MarshalJSON() ([]byte, error) { method UnmarshalYAML (line 31) | func (o *Option[T]) UnmarshalYAML(value *yaml.Node) error { method MarshalYAML (line 40) | func (o Option[T]) MarshalYAML() (any, error) { FILE: shared/optional/serialization_json_test.go function TestOptionalToJson (line 17) | func TestOptionalToJson(t *testing.T) { function TestOptionalFromJson (line 48) | func TestOptionalFromJson(t *testing.T) { FILE: shared/optional/serialization_test.go type testSerializationStruct (line 12) | type testSerializationStruct struct FILE: shared/optional/serialization_yaml_test.go type testBoolStruct (line 18) | type testBoolStruct struct function TestOptionalBoolYaml (line 27) | func TestOptionalBoolYaml(t *testing.T) { function TestOptionalToYaml (line 60) | func TestOptionalToYaml(t *testing.T) { function TestOptionalFromYaml (line 101) | func TestOptionalFromYaml(t *testing.T) { FILE: shared/token/token.go type SecretFunc (line 26) | type SecretFunc type Type (line 28) | type Type constant UserToken (line 31) | UserToken Type = "user" constant SessToken (line 32) | SessToken Type = "sess" constant HookToken (line 33) | HookToken Type = "hook" constant CsrfToken (line 34) | CsrfToken Type = "csrf" constant AgentToken (line 35) | AgentToken Type = "agent" constant OAuthStateToken (line 36) | OAuthStateToken Type = "oauth-state" constant SignerAlgo (line 40) | SignerAlgo = "HS256" type Token (line 42) | type Token struct method Sign (line 122) | func (t *Token) Sign(secret string) (string, error) { method SignExpires (line 128) | func (t *Token) SignExpires(secret string, exp int64) (string, error) { method Set (line 147) | func (t *Token) Set(key, value string) { method Get (line 151) | func (t *Token) Get(key string) string { function Parse (line 47) | func Parse(allowedTypes []Type, raw string, fn SecretFunc) (*Token, erro... function ParseRequest (line 68) | func ParseRequest(allowedTypes []Type, r *http.Request, fn SecretFunc) (... function CheckCsrf (line 102) | func CheckCsrf(r *http.Request, fn SecretFunc) error { function New (line 116) | func New(tokenType Type) *Token { function keyFunc (line 160) | func keyFunc(token *Token, fn SecretFunc) jwt.Keyfunc { FILE: shared/token/token_test.go constant jwtSecret (line 26) | jwtSecret = "secret-to-sign-the-token" function TestTokenValid (line 28) | func TestTokenValid(t *testing.T) { function TestTokenWrongType (line 43) | func TestTokenWrongType(t *testing.T) { function TestTokenWrongSecret (line 56) | func TestTokenWrongSecret(t *testing.T) { FILE: shared/utils/context.go function WithContextSigtermCallback (line 27) | func WithContextSigtermCallback(ctx context.Context, f func()) context.C... FILE: shared/utils/paginate.go function Paginate (line 18) | func Paginate[T any](get func(page int) ([]T, error), limit int) ([]T, e... FILE: shared/utils/paginate_test.go function TestPaginate (line 23) | func TestPaginate(t *testing.T) { FILE: shared/utils/protected.go type Protected (line 22) | type Protected interface type protected (line 37) | type protected struct function NewProtected (line 44) | func NewProtected[T any](initial T) Protected[T] { method Get (line 48) | func (p *protected[T]) Get() T { method Set (line 54) | func (p *protected[T]) Set(v T) { method Update (line 60) | func (p *protected[T]) Update(fn func(T) T) { FILE: shared/utils/slices.go function EqualSliceValues (line 18) | func EqualSliceValues[E comparable](s1, s2 []E) bool { function sliceToCountMap (line 35) | func sliceToCountMap[E comparable](list []E) map[E]int { function SliceToBoolMap (line 44) | func SliceToBoolMap(s []string) map[string]bool { function StringSliceDeleteEmpty (line 56) | func StringSliceDeleteEmpty(s []string) []string { FILE: shared/utils/slices_test.go function TestEqualSliceValues (line 23) | func TestEqualSliceValues(t *testing.T) { function TestSliceToBoolMap (line 54) | func TestSliceToBoolMap(t *testing.T) { function TestStringSliceDeleteEmpty (line 64) | func TestStringSliceDeleteEmpty(t *testing.T) { FILE: shared/utils/strings.go function DeduplicateStrings (line 18) | func DeduplicateStrings(src []string) []string { FILE: shared/utils/strings_test.go function TestDeduplicateStrings (line 24) | func TestDeduplicateStrings(t *testing.T) { FILE: version/version.go function String (line 23) | func String() string { FILE: web/components.d.ts type GlobalComponents (line 9) | interface GlobalComponents { FILE: web/src/components/atomic/SyntaxHighlight.ts type Data (line 7) | type Data = Record; method setup (line 24) | setup(props, { attrs }: { attrs: Data }) { FILE: web/src/components/form/form.types.ts type SelectOption (line 1) | interface SelectOption { type RadioOption (line 7) | type RadioOption = SelectOption; type CheckboxOption (line 9) | type CheckboxOption = SelectOption; FILE: web/src/compositions/useAsyncAction.ts function useAsyncAction (line 3) | function useAsyncAction( FILE: web/src/compositions/useAuthentication.ts method authenticate (line 9) | authenticate(forgeId?: number) { FILE: web/src/compositions/useConfig.ts type Window (line 4) | interface Window { FILE: web/src/compositions/useDate.ts function splitDuration (line 5) | function splitDuration(durationMs: number) { function toLocaleString (line 24) | function toLocaleString(date: Date) { function timeAgo (line 31) | function timeAgo(date: number) { function prettyDuration (line 59) | function prettyDuration(durationMs: number) { function durationAsNumber (line 77) | function durationAsNumber(durationMs: number): string { function useDate (line 89) | function useDate() { FILE: web/src/compositions/useElapsedTime.ts function useElapsedTime (line 4) | function useElapsedTime(running: Ref, startTime: Ref { function getForge (line 19) | async function getForge(forgeId: number): Promise> { FILE: web/src/compositions/useI18n.ts function getUserLanguage (line 8) | function getUserLanguage(): string { FILE: web/src/compositions/useInjectProvide.ts type InjectKeys (line 8) | interface InjectKeys { function requiredInject (line 19) | function requiredInject(key: T): InjectKeys[... function provide (line 27) | function provide(key: T, value: InjectKeys[T... FILE: web/src/compositions/useInterval.ts function useInterval (line 3) | function useInterval(fn: () => void | Promise, ms: number): void { FILE: web/src/compositions/useNotifications.ts function notifyError (line 6) | function notifyError(err: Error, args: NotificationsOptions | string = {... FILE: web/src/compositions/usePaginate.test.ts function waitForState (line 8) | async function waitForState(ref: Ref, expected: T): Promise { method setup (line 25) | setup() { FILE: web/src/compositions/usePaginate.ts function usePaginate (line 8) | async function usePaginate( function usePagination (line 25) | function usePagination( FILE: web/src/compositions/usePipelineFeed.ts function toggle (line 10) | function toggle() { function close (line 14) | function close() { FILE: web/src/compositions/useRepoSearch.ts function repoCompare (line 10) | function repoCompare(a: Repo, b: Repo) { function useRepoSearch (line 17) | function useRepoSearch(repos: Ref, search: Ref(key: T, value: UserConfig[T]):... FILE: web/src/compositions/useVersion.ts type VersionInfo (line 8) | interface VersionInfo { function fetchVersion (line 22) | async function fetchVersion(): Promise { function useVersion (line 35) | function useVersion() { FILE: web/src/compositions/useWPTitle.ts function useWPTitle (line 5) | function useWPTitle(elements: Ref) { FILE: web/src/lib/api/client.ts type ApiError (line 1) | interface ApiError { type QueryParams (line 6) | type QueryParams = Record; function encodeQueryString (line 8) | function encodeQueryString(_params: unknown = {}): string { class ApiClient (line 28) | class ApiClient { method constructor (line 37) | constructor(server: string, token: string | null, csrf: string | null) { method _request (line 43) | private async _request(method: string, path: string, data?: unknown): ... method _get (line 78) | async _get(path: string) { method _post (line 82) | async _post(path: string, data?: unknown) { method _patch (line 86) | async _patch(path: string, data?: unknown) { method _delete (line 90) | async _delete(path: string) { method _subscribe (line 94) | _subscribe(path: string, callback: (data: T) => void, opts = { reco... method setErrorHandler (line 119) | setErrorHandler(onerror: (err: ApiError) => void) { FILE: web/src/lib/api/index.ts constant DEFAULT_FORGE_ID (line 23) | const DEFAULT_FORGE_ID = 1; type RepoListOptions (line 25) | interface RepoListOptions { type PipelineOptions (line 30) | interface PipelineOptions { type DeploymentOptions (line 35) | interface DeploymentOptions { type PaginationOptions (line 42) | interface PaginationOptions { class WoodpeckerClient (line 47) | class WoodpeckerClient extends ApiClient { method getRepoList (line 48) | async getRepoList(opts?: RepoListOptions): Promise { method lookupRepo (line 53) | async lookupRepo(owner: string, name: string): Promise { method getRepoPermissions (line 61) | async getRepoPermissions(repoId: number): Promise { method getRepoBranches (line 65) | async getRepoBranches(repoId: number, opts?: PaginationOptions): Promi... method getRepoPullRequests (line 70) | async getRepoPullRequests(repoId: number, opts?: PaginationOptions): P... method activateRepo (line 75) | async activateRepo(forgeRemoteId: string): Promise { method updateRepo (line 79) | async updateRepo(repoId: number, repoSettings: Partial { method repairRepo (line 88) | async repairRepo(repoId: number): Promise { method createPipeline (line 92) | async createPipeline(repoId: number, options: PipelineOptions): Promis... method deployPipeline (line 98) | async deployPipeline(repoId: number, pipelineNumber: string, options: ... method getPipelineList (line 109) | async getPipelineList( method getPipeline (line 117) | async getPipeline(repoId: number, pipelineNumber: number | 'latest'): ... method getPipelineConfig (line 121) | async getPipelineConfig(repoId: number, pipelineNumber: number): Promi... method getPipelineMetadata (line 125) | async getPipelineMetadata(repoId: number, pipelineNumber: number): Pro... method getPipelineFeed (line 129) | async getPipelineFeed(): Promise { method cancelPipeline (line 133) | async cancelPipeline(repoId: number, pipelineNumber: number): Promise<... method approvePipeline (line 137) | async approvePipeline(repoId: number, pipelineNumber: string): Promise... method declinePipeline (line 141) | async declinePipeline(repoId: number, pipelineNumber: string): Promise... method restartPipeline (line 145) | async restartPipeline( method getLogs (line 154) | async getLogs(repoId: number, pipeline: number, step: number): Promise... method deleteLogs (line 158) | async deleteLogs(repoId: number, pipeline: number, step: number): Prom... method getSecretList (line 162) | async getSecretList(repoId: number, opts?: PaginationOptions): Promise... method createSecret (line 167) | async createSecret(repoId: number, secret: Partial): Promise): Promise): Pro... method updateRegistry (line 190) | async updateRegistry(repoId: number, registry: Partial): Pro... method deleteRegistry (line 194) | async deleteRegistry(repoId: number, registryAddress: string): Promise... method getOrgRegistryList (line 198) | async getOrgRegistryList(orgId: number, opts?: PaginationOptions): Pro... method createOrgRegistry (line 203) | async createOrgRegistry(orgId: number, registry: Partial): P... method updateOrgRegistry (line 207) | async updateOrgRegistry(orgId: number, registry: Partial): P... method deleteOrgRegistry (line 211) | async deleteOrgRegistry(orgId: number, registryAddress: string): Promi... method getGlobalRegistryList (line 215) | async getGlobalRegistryList(opts?: PaginationOptions): Promise): Promise): Promise { method getCronList (line 232) | async getCronList(repoId: number, opts?: PaginationOptions): Promise): Promise { method updateCron (line 241) | async updateCron(repoId: number, cron: Partial): Promise { method deleteCron (line 245) | async deleteCron(repoId: number, cronId: number): Promise { method runCron (line 249) | async runCron(repoId: number, cronId: number): Promise { method getOrg (line 253) | async getOrg(orgId: number): Promise { method lookupOrg (line 257) | async lookupOrg(name: string): Promise { method getOrgPermissions (line 261) | async getOrgPermissions(orgId: number): Promise { method getOrgSecretList (line 265) | async getOrgSecretList(orgId: number, opts?: PaginationOptions): Promi... method createOrgSecret (line 270) | async createOrgSecret(orgId: number, secret: Partial): Promise... method updateOrgSecret (line 274) | async updateOrgSecret(orgId: number, secret: Partial): Promise... method deleteOrgSecret (line 279) | async deleteOrgSecret(orgId: number, secretName: string): Promise): Promise { method updateGlobalSecret (line 293) | async updateGlobalSecret(secret: Partial): Promise { method deleteGlobalSecret (line 298) | async deleteGlobalSecret(secretName: string): Promise { method getSelf (line 303) | async getSelf(): Promise { method getToken (line 307) | async getToken(): Promise { method getSignaturePublicKey (line 311) | async getSignaturePublicKey(): Promise { method getAgents (line 315) | async getAgents(opts?: PaginationOptions): Promise { method getAgent (line 320) | async getAgent(agentId: Agent['id']): Promise { method createAgent (line 324) | async createAgent(agent: Partial): Promise { method updateAgent (line 328) | async updateAgent(agent: Partial): Promise { method deleteAgent (line 332) | async deleteAgent(agent: Agent): Promise { method getOrgAgents (line 336) | async getOrgAgents(orgId: number, opts?: PaginationOptions): Promise): Promise { method getForges (line 353) | async getForges(opts?: PaginationOptions): Promise { method getForge (line 358) | async getForge(forgeId: Forge['id']): Promise { method createForge (line 362) | async createForge(forge: Partial): Promise { method updateForge (line 366) | async updateForge(forge: Partial): Promise { method deleteForge (line 370) | async deleteForge(forge: Forge): Promise { method getQueueInfo (line 374) | async getQueueInfo(): Promise { method pauseQueue (line 378) | async pauseQueue(): Promise { method resumeQueue (line 382) | async resumeQueue(): Promise { method getUsers (line 386) | async getUsers(opts?: PaginationOptions): Promise { method getUser (line 391) | async getUser(username: string, forgeID?: number): Promise { method createUser (line 396) | async createUser(user: Partial): Promise { method updateUser (line 400) | async updateUser(user: Partial): Promise { method deleteUser (line 404) | async deleteUser(user: User): Promise { method resetToken (line 408) | async resetToken(): Promise { method getOrgs (line 412) | async getOrgs(opts?: PaginationOptions): Promise { method deleteOrg (line 417) | async deleteOrg(org: Org): Promise { method getAllRepos (line 421) | async getAllRepos(opts?: PaginationOptions): Promise { method repairAllRepos (line 426) | async repairAllRepos(): Promise { method on (line 431) | on(callback: (data: { pipeline?: Pipeline; repo?: Repo }) => void): Ev... method streamLogs (line 437) | streamLogs( FILE: web/src/lib/api/types/agent.ts type Agent (line 1) | interface Agent { FILE: web/src/lib/api/types/cron.ts type Cron (line 1) | interface Cron { FILE: web/src/lib/api/types/forge.ts type ForgeType (line 1) | type ForgeType = 'github' | 'gitlab' | 'gitea' | 'bitbucket' | 'bitbucke... type Forge (line 3) | interface Forge { FILE: web/src/lib/api/types/org.ts type Org (line 2) | interface Org { type OrgPermissions (line 9) | interface OrgPermissions { FILE: web/src/lib/api/types/pipeline.ts type PipelineError (line 3) | interface PipelineError { type CancelInfo (line 10) | interface CancelInfo { type Pipeline (line 17) | interface Pipeline { type PipelineStatus (line 102) | type PipelineStatus = type PipelineWorkflow (line 115) | interface PipelineWorkflow { type PipelineStep (line 129) | interface PipelineStep { type PipelineLog (line 144) | interface PipelineLog { type PipelineFeed (line 153) | type PipelineFeed = Pipeline & { type StepType (line 158) | enum StepType { FILE: web/src/lib/api/types/pipelineConfig.ts type PipelineConfig (line 2) | interface PipelineConfig { FILE: web/src/lib/api/types/pull_request.ts type PullRequest (line 2) | interface PullRequest { FILE: web/src/lib/api/types/queue.ts type Task (line 1) | interface Task { type QueueStats (line 16) | interface QueueStats { type QueueInfo (line 24) | interface QueueInfo { FILE: web/src/lib/api/types/registry.ts type Registry (line 1) | interface Registry { FILE: web/src/lib/api/types/repo.ts type Repo (line 4) | interface Repo { type RepoVisibility (line 111) | enum RepoVisibility { type RepoRequireApproval (line 117) | enum RepoRequireApproval { type RepoSettings (line 125) | type RepoSettings = Pick< type ExtensionSettings (line 139) | type ExtensionSettings = Pick< type RepoPermissions (line 150) | interface RepoPermissions { type RepoTrusted (line 157) | interface RepoTrusted { FILE: web/src/lib/api/types/secret.ts type Secret (line 3) | interface Secret { FILE: web/src/lib/api/types/user.ts type User (line 2) | interface User { FILE: web/src/lib/api/types/webhook.ts type WebhookEvents (line 2) | enum WebhookEvents { FILE: web/src/lib/utils/index.ts function debounce (line 3) | function debounce(fn: (...args: T) => void, delay: ... function deepClone (line 11) | function deepClone(value: T): T { function escapeHtml (line 15) | function escapeHtml(text: string): string { FILE: web/src/router.ts type RouteMeta (line 10) | interface RouteMeta { FILE: web/src/store/pipelines.ts function comparePipelines (line 15) | function comparePipelines(a: Pipeline, b: Pipeline): number { function comparePipelinesWithStatus (line 26) | function comparePipelinesWithStatus(a: Pipeline, b: Pipeline): number { function setPipeline (line 39) | function setPipeline(repoId: number, pipeline: Pipeline) { function getRepoPipelines (line 56) | function getRepoPipelines(repoId: Ref) { function getPipeline (line 60) | function getPipeline(repoId: Ref, _pipelineNumber: Ref) { function setRepo (line 27) | function setRepo(repo: Repo) { function loadRepo (line 34) | async function loadRepo(repoId: number) { function loadRepos (line 40) | async function loadRepos() { FILE: web/vite.config.ts function woodpeckerInfoPlugin (line 20) | function woodpeckerInfoPlugin(): Plugin { function externalCSSPlugin (line 46) | function externalCSSPlugin(): Plugin { method resolveId (line 80) | resolveId(id) { method load (line 86) | load(id) { FILE: web/web.go function HTTPFS (line 29) | func HTTPFS() (http.FileSystem, error) { function Lookup (line 37) | func Lookup(path string) (buf []byte, err error) { FILE: web/web_external.go function HTTPFS (line 28) | func HTTPFS() (http.FileSystem, error) { function Lookup (line 37) | func Lookup(path string) (buf []byte, err error) { FILE: woodpecker-go/woodpecker/agent.go constant pathAgents (line 20) | pathAgents = "%s/api/agents" constant pathAgent (line 21) | pathAgent = "%s/api/agents/%d" constant pathAgentTasks (line 22) | pathAgentTasks = "%s/api/agents/%d/tasks" method AgentCreate (line 26) | func (c *client) AgentCreate(in *Agent) (*Agent, error) { method AgentList (line 33) | func (c *client) AgentList() ([]*Agent, error) { method Agent (line 40) | func (c *client) Agent(agentID int64) (*Agent, error) { method AgentUpdate (line 47) | func (c *client) AgentUpdate(in *Agent) (*Agent, error) { method AgentDelete (line 54) | func (c *client) AgentDelete(agentID int64) error { method AgentTasksList (line 60) | func (c *client) AgentTasksList(agentID int64) ([]*Task, error) { FILE: woodpecker-go/woodpecker/agent_test.go function TestClient_AgentCreate (line 26) | func TestClient_AgentCreate(t *testing.T) { function TestClient_AgentList (line 95) | func TestClient_AgentList(t *testing.T) { function TestClient_Agent (line 181) | func TestClient_Agent(t *testing.T) { function TestClient_AgentUpdate (line 265) | func TestClient_AgentUpdate(t *testing.T) { function TestClient_AgentDelete (line 347) | func TestClient_AgentDelete(t *testing.T) { function TestClient_AgentTasksList (line 409) | func TestClient_AgentTasksList(t *testing.T) { FILE: woodpecker-go/woodpecker/client.go constant pathLogLevel (line 31) | pathLogLevel = "%s/api/log-level" type ClientError (line 39) | type ClientError struct method Error (line 44) | func (e *ClientError) Error() string { type client (line 48) | type client struct method SetClient (line 66) | func (c *client) SetClient(client *http.Client) { method SetAddress (line 71) | func (c *client) SetAddress(addr string) { method LogLevel (line 76) | func (c *client) LogLevel() (*LogLevel, error) { method SetLogLevel (line 84) | func (c *client) SetLogLevel(in *LogLevel) (*LogLevel, error) { method get (line 96) | func (c *client) get(rawURL string, out any) error { method post (line 101) | func (c *client) post(rawURL string, in, out any) error { method patch (line 106) | func (c *client) patch(rawURL string, in, out any) error { method delete (line 111) | func (c *client) delete(rawURL string) error { method do (line 116) | func (c *client) do(rawURL, method string, in, out any) error { method open (line 129) | func (c *client) open(rawURL, method string, in any) (io.ReadCloser, e... function New (line 54) | func New(uri string) Client { function NewClient (line 60) | func NewClient(uri string, cli *http.Client) Client { function mapValues (line 165) | func mapValues(params map[string]string) url.Values { FILE: woodpecker-go/woodpecker/client_test.go function Test_LogLevel (line 29) | func Test_LogLevel(t *testing.T) { FILE: woodpecker-go/woodpecker/const.go constant EventPush (line 19) | EventPush = "push" constant EventPull (line 20) | EventPull = "pull_request" constant EventPullClosed (line 21) | EventPullClosed = "pull_request_closed" constant EventPullMetadata (line 22) | EventPullMetadata = "pull_request_metadata" constant EventTag (line 23) | EventTag = "tag" constant EventRelease (line 24) | EventRelease = "release" constant EventDeploy (line 25) | EventDeploy = "deployment" constant EventCron (line 26) | EventCron = "cron" constant EventManual (line 27) | EventManual = "manual" constant StatusBlocked (line 32) | StatusBlocked = "blocked" constant StatusSkipped (line 33) | StatusSkipped = "skipped" constant StatusPending (line 34) | StatusPending = "pending" constant StatusRunning (line 35) | StatusRunning = "running" constant StatusSuccess (line 36) | StatusSuccess = "success" constant StatusFailure (line 37) | StatusFailure = "failure" constant StatusKilled (line 38) | StatusKilled = "killed" constant StatusError (line 39) | StatusError = "error" type LogEntryType (line 43) | type LogEntryType constant LogEntryStdout (line 46) | LogEntryStdout LogEntryType = iota constant LogEntryStderr (line 47) | LogEntryStderr constant LogEntryExitCode (line 48) | LogEntryExitCode constant LogEntryMetadata (line 49) | LogEntryMetadata constant LogEntryProgress (line 50) | LogEntryProgress type StepType (line 54) | type StepType constant StepTypeClone (line 57) | StepTypeClone StepType = "clone" constant StepTypeService (line 58) | StepTypeService StepType = "service" constant StepTypePlugin (line 59) | StepTypePlugin StepType = "plugin" constant StepTypeCommands (line 60) | StepTypeCommands StepType = "commands" constant StepTypeCache (line 61) | StepTypeCache StepType = "cache" constant defaultForgeID (line 64) | defaultForgeID = 1 FILE: woodpecker-go/woodpecker/global_registry.go constant pathGlobalRegistries (line 23) | pathGlobalRegistries = "%s/api/registries" constant pathGlobalRegistry (line 24) | pathGlobalRegistry = "%s/api/registries/%s" method GlobalRegistry (line 28) | func (c *client) GlobalRegistry(registry string) (*Registry, error) { method GlobalRegistryList (line 36) | func (c *client) GlobalRegistryList(opt RegistryListOptions) ([]*Registr... method GlobalRegistryCreate (line 45) | func (c *client) GlobalRegistryCreate(in *Registry) (*Registry, error) { method GlobalRegistryUpdate (line 53) | func (c *client) GlobalRegistryUpdate(in *Registry) (*Registry, error) { method GlobalRegistryDelete (line 61) | func (c *client) GlobalRegistryDelete(registry string) error { FILE: woodpecker-go/woodpecker/global_secret.go constant pathGlobalSecrets (line 23) | pathGlobalSecrets = "%s/api/secrets" constant pathGlobalSecret (line 24) | pathGlobalSecret = "%s/api/secrets/%s" method GlobalSecret (line 28) | func (c *client) GlobalSecret(secret string) (*Secret, error) { method GlobalSecretList (line 36) | func (c *client) GlobalSecretList(opt SecretListOptions) ([]*Secret, err... method GlobalSecretCreate (line 45) | func (c *client) GlobalSecretCreate(in *Secret) (*Secret, error) { method GlobalSecretUpdate (line 53) | func (c *client) GlobalSecretUpdate(in *Secret) (*Secret, error) { method GlobalSecretDelete (line 61) | func (c *client) GlobalSecretDelete(secret string) error { FILE: woodpecker-go/woodpecker/httputil/useragent.go type UserAgentRoundTripper (line 26) | type UserAgentRoundTripper struct method RoundTrip (line 50) | func (rt *UserAgentRoundTripper) RoundTrip(req *http.Request) (*http.R... function NewUserAgentRoundTripper (line 33) | func NewUserAgentRoundTripper(base http.RoundTripper, component string) ... function WrapClient (line 65) | func WrapClient(client *http.Client, component string) *http.Client { FILE: woodpecker-go/woodpecker/httputil/useragent_test.go function TestNewUserAgentRoundTripper (line 28) | func TestNewUserAgentRoundTripper(t *testing.T) { function TestUserAgentRoundTripper_RoundTrip (line 51) | func TestUserAgentRoundTripper_RoundTrip(t *testing.T) { function TestWrapClient (line 116) | func TestWrapClient(t *testing.T) { function TestIntegration_UserAgentInRealRequest (line 146) | func TestIntegration_UserAgentInRealRequest(t *testing.T) { FILE: woodpecker-go/woodpecker/interface.go type Client (line 22) | type Client interface FILE: woodpecker-go/woodpecker/list_options.go type ListOptions (line 23) | type ListOptions struct method getURLQuery (line 29) | func (o ListOptions) getURLQuery() url.Values { FILE: woodpecker-go/woodpecker/list_options_test.go function TestListOptions_getURLQuery (line 24) | func TestListOptions_getURLQuery(t *testing.T) { FILE: woodpecker-go/woodpecker/mocks/mock_Client.go function NewMockClient (line 16) | func NewMockClient(t interface { type MockClient (line 29) | type MockClient struct method EXPECT (line 37) | func (_m *MockClient) EXPECT() *MockClient_Expecter { method Agent (line 42) | func (_mock *MockClient) Agent(n int64) (*woodpecker.Agent, error) { method AgentCreate (line 104) | func (_mock *MockClient) AgentCreate(agent *woodpecker.Agent) (*woodpe... method AgentDelete (line 166) | func (_mock *MockClient) AgentDelete(n int64) error { method AgentList (line 217) | func (_mock *MockClient) AgentList() ([]*woodpecker.Agent, error) { method AgentTasksList (line 272) | func (_mock *MockClient) AgentTasksList(n int64) ([]*woodpecker.Task, ... method AgentUpdate (line 334) | func (_mock *MockClient) AgentUpdate(agent *woodpecker.Agent) (*woodpe... method CronCreate (line 396) | func (_mock *MockClient) CronCreate(repoID int64, cron *woodpecker.Cro... method CronDelete (line 464) | func (_mock *MockClient) CronDelete(repoID int64, cronID int64) error { method CronGet (line 521) | func (_mock *MockClient) CronGet(repoID int64, cronID int64) (*woodpec... method CronList (line 589) | func (_mock *MockClient) CronList(repoID int64, opt woodpecker.CronLis... method CronUpdate (line 657) | func (_mock *MockClient) CronUpdate(repoID int64, cron *woodpecker.Cro... method Deploy (line 725) | func (_mock *MockClient) Deploy(repoID int64, pipeline int64, opt wood... method GlobalRegistry (line 799) | func (_mock *MockClient) GlobalRegistry(registry string) (*woodpecker.... method GlobalRegistryCreate (line 861) | func (_mock *MockClient) GlobalRegistryCreate(registry *woodpecker.Reg... method GlobalRegistryDelete (line 923) | func (_mock *MockClient) GlobalRegistryDelete(registry string) error { method GlobalRegistryList (line 974) | func (_mock *MockClient) GlobalRegistryList(opt woodpecker.RegistryLis... method GlobalRegistryUpdate (line 1036) | func (_mock *MockClient) GlobalRegistryUpdate(registry *woodpecker.Reg... method GlobalSecret (line 1098) | func (_mock *MockClient) GlobalSecret(secret string) (*woodpecker.Secr... method GlobalSecretCreate (line 1160) | func (_mock *MockClient) GlobalSecretCreate(secret *woodpecker.Secret)... method GlobalSecretDelete (line 1222) | func (_mock *MockClient) GlobalSecretDelete(secret string) error { method GlobalSecretList (line 1273) | func (_mock *MockClient) GlobalSecretList(opt woodpecker.SecretListOpt... method GlobalSecretUpdate (line 1335) | func (_mock *MockClient) GlobalSecretUpdate(secret *woodpecker.Secret)... method LogLevel (line 1397) | func (_mock *MockClient) LogLevel() (*woodpecker.LogLevel, error) { method LogsPurge (line 1452) | func (_mock *MockClient) LogsPurge(repoID int64, pipeline int64) error { method Org (line 1509) | func (_mock *MockClient) Org(orgID int64) (*woodpecker.Org, error) { method OrgList (line 1571) | func (_mock *MockClient) OrgList(opt woodpecker.ListOptions) ([]*woodp... method OrgLookup (line 1633) | func (_mock *MockClient) OrgLookup(orgName string) (*woodpecker.Org, e... method OrgRegistry (line 1695) | func (_mock *MockClient) OrgRegistry(orgID int64, registry string) (*w... method OrgRegistryCreate (line 1763) | func (_mock *MockClient) OrgRegistryCreate(orgID int64, registry *wood... method OrgRegistryDelete (line 1831) | func (_mock *MockClient) OrgRegistryDelete(orgID int64, registry strin... method OrgRegistryList (line 1888) | func (_mock *MockClient) OrgRegistryList(orgID int64, opt woodpecker.R... method OrgRegistryUpdate (line 1956) | func (_mock *MockClient) OrgRegistryUpdate(orgID int64, registry *wood... method OrgSecret (line 2024) | func (_mock *MockClient) OrgSecret(orgID int64, secret string) (*woodp... method OrgSecretCreate (line 2092) | func (_mock *MockClient) OrgSecretCreate(orgID int64, secret *woodpeck... method OrgSecretDelete (line 2160) | func (_mock *MockClient) OrgSecretDelete(orgID int64, secret string) e... method OrgSecretList (line 2217) | func (_mock *MockClient) OrgSecretList(orgID int64, opt woodpecker.Sec... method OrgSecretUpdate (line 2285) | func (_mock *MockClient) OrgSecretUpdate(orgID int64, secret *woodpeck... method Pipeline (line 2353) | func (_mock *MockClient) Pipeline(repoID int64, pipeline int64) (*wood... method PipelineApprove (line 2421) | func (_mock *MockClient) PipelineApprove(repoID int64, pipeline int64)... method PipelineCreate (line 2489) | func (_mock *MockClient) PipelineCreate(repoID int64, opts *woodpecker... method PipelineDecline (line 2557) | func (_mock *MockClient) PipelineDecline(repoID int64, pipeline int64)... method PipelineDelete (line 2625) | func (_mock *MockClient) PipelineDelete(repoID int64, pipeline int64) ... method PipelineLast (line 2682) | func (_mock *MockClient) PipelineLast(repoID int64, opt woodpecker.Pip... method PipelineList (line 2750) | func (_mock *MockClient) PipelineList(repoID int64, opt woodpecker.Pip... method PipelineMetadata (line 2818) | func (_mock *MockClient) PipelineMetadata(repoID int64, pipelineNumber... method PipelineQueue (line 2886) | func (_mock *MockClient) PipelineQueue() ([]*woodpecker.Feed, error) { method PipelineStart (line 2941) | func (_mock *MockClient) PipelineStart(repoID int64, num int64, opt wo... method PipelineStop (line 3015) | func (_mock *MockClient) PipelineStop(repoID int64, pipeline int64) er... method QueueInfo (line 3072) | func (_mock *MockClient) QueueInfo() (*woodpecker.Info, error) { method Registry (line 3127) | func (_mock *MockClient) Registry(repoID int64, hostname string) (*woo... method RegistryCreate (line 3195) | func (_mock *MockClient) RegistryCreate(repoID int64, registry *woodpe... method RegistryDelete (line 3263) | func (_mock *MockClient) RegistryDelete(repoID int64, hostname string)... method RegistryList (line 3320) | func (_mock *MockClient) RegistryList(repoID int64, opt woodpecker.Reg... method RegistryUpdate (line 3388) | func (_mock *MockClient) RegistryUpdate(repoID int64, registry *woodpe... method Repo (line 3456) | func (_mock *MockClient) Repo(repoID int64) (*woodpecker.Repo, error) { method RepoChown (line 3518) | func (_mock *MockClient) RepoChown(repoID int64) (*woodpecker.Repo, er... method RepoDel (line 3580) | func (_mock *MockClient) RepoDel(repoID int64) error { method RepoList (line 3631) | func (_mock *MockClient) RepoList(opt woodpecker.RepoListOptions) ([]*... method RepoLookup (line 3693) | func (_mock *MockClient) RepoLookup(repoFullName string) (*woodpecker.... method RepoMove (line 3755) | func (_mock *MockClient) RepoMove(repoID int64, opt woodpecker.RepoMov... method RepoPatch (line 3812) | func (_mock *MockClient) RepoPatch(repoID int64, repo *woodpecker.Repo... method RepoPost (line 3880) | func (_mock *MockClient) RepoPost(opt woodpecker.RepoPostOptions) (*wo... method RepoRepair (line 3942) | func (_mock *MockClient) RepoRepair(repoID int64) error { method Secret (line 3993) | func (_mock *MockClient) Secret(repoID int64, secret string) (*woodpec... method SecretCreate (line 4061) | func (_mock *MockClient) SecretCreate(repoID int64, secret *woodpecker... method SecretDelete (line 4129) | func (_mock *MockClient) SecretDelete(repoID int64, secret string) err... method SecretList (line 4186) | func (_mock *MockClient) SecretList(repoID int64, opt woodpecker.Secre... method SecretUpdate (line 4254) | func (_mock *MockClient) SecretUpdate(repoID int64, secret *woodpecker... method Self (line 4322) | func (_mock *MockClient) Self() (*woodpecker.User, error) { method SetAddress (line 4377) | func (_mock *MockClient) SetAddress(s string) { method SetClient (line 4417) | func (_mock *MockClient) SetClient(client *http.Client) { method SetLogLevel (line 4457) | func (_mock *MockClient) SetLogLevel(logLevel *woodpecker.LogLevel) (*... method StepLogEntries (line 4519) | func (_mock *MockClient) StepLogEntries(repoID int64, pipeline int64, ... method StepLogsPurge (line 4593) | func (_mock *MockClient) StepLogsPurge(repoID int64, pipelineNumber in... method User (line 4656) | func (_mock *MockClient) User(login string, forgeID ...int64) (*woodpe... method UserDel (line 4733) | func (_mock *MockClient) UserDel(login string, forgeID ...int64) error { method UserList (line 4799) | func (_mock *MockClient) UserList(opt woodpecker.UserListOptions) ([]*... method UserPatch (line 4861) | func (_mock *MockClient) UserPatch(user *woodpecker.User) (*woodpecker... method UserPost (line 4923) | func (_mock *MockClient) UserPost(user *woodpecker.User) (*woodpecker.... type MockClient_Expecter (line 33) | type MockClient_Expecter struct method Agent (line 76) | func (_e *MockClient_Expecter) Agent(n interface{}) *MockClient_Agent_... method AgentCreate (line 138) | func (_e *MockClient_Expecter) AgentCreate(agent interface{}) *MockCli... method AgentDelete (line 189) | func (_e *MockClient_Expecter) AgentDelete(n interface{}) *MockClient_... method AgentList (line 250) | func (_e *MockClient_Expecter) AgentList() *MockClient_AgentList_Call { method AgentTasksList (line 306) | func (_e *MockClient_Expecter) AgentTasksList(n interface{}) *MockClie... method AgentUpdate (line 368) | func (_e *MockClient_Expecter) AgentUpdate(agent interface{}) *MockCli... method CronCreate (line 431) | func (_e *MockClient_Expecter) CronCreate(repoID interface{}, cron int... method CronDelete (line 488) | func (_e *MockClient_Expecter) CronDelete(repoID interface{}, cronID i... method CronGet (line 556) | func (_e *MockClient_Expecter) CronGet(repoID interface{}, cronID inte... method CronList (line 624) | func (_e *MockClient_Expecter) CronList(repoID interface{}, opt interf... method CronUpdate (line 692) | func (_e *MockClient_Expecter) CronUpdate(repoID interface{}, cron int... method Deploy (line 761) | func (_e *MockClient_Expecter) Deploy(repoID interface{}, pipeline int... method GlobalRegistry (line 833) | func (_e *MockClient_Expecter) GlobalRegistry(registry interface{}) *M... method GlobalRegistryCreate (line 895) | func (_e *MockClient_Expecter) GlobalRegistryCreate(registry interface... method GlobalRegistryDelete (line 946) | func (_e *MockClient_Expecter) GlobalRegistryDelete(registry interface... method GlobalRegistryList (line 1008) | func (_e *MockClient_Expecter) GlobalRegistryList(opt interface{}) *Mo... method GlobalRegistryUpdate (line 1070) | func (_e *MockClient_Expecter) GlobalRegistryUpdate(registry interface... method GlobalSecret (line 1132) | func (_e *MockClient_Expecter) GlobalSecret(secret interface{}) *MockC... method GlobalSecretCreate (line 1194) | func (_e *MockClient_Expecter) GlobalSecretCreate(secret interface{}) ... method GlobalSecretDelete (line 1245) | func (_e *MockClient_Expecter) GlobalSecretDelete(secret interface{}) ... method GlobalSecretList (line 1307) | func (_e *MockClient_Expecter) GlobalSecretList(opt interface{}) *Mock... method GlobalSecretUpdate (line 1369) | func (_e *MockClient_Expecter) GlobalSecretUpdate(secret interface{}) ... method LogLevel (line 1430) | func (_e *MockClient_Expecter) LogLevel() *MockClient_LogLevel_Call { method LogsPurge (line 1476) | func (_e *MockClient_Expecter) LogsPurge(repoID interface{}, pipeline ... method Org (line 1543) | func (_e *MockClient_Expecter) Org(orgID interface{}) *MockClient_Org_... method OrgList (line 1605) | func (_e *MockClient_Expecter) OrgList(opt interface{}) *MockClient_Or... method OrgLookup (line 1667) | func (_e *MockClient_Expecter) OrgLookup(orgName interface{}) *MockCli... method OrgRegistry (line 1730) | func (_e *MockClient_Expecter) OrgRegistry(orgID interface{}, registry... method OrgRegistryCreate (line 1798) | func (_e *MockClient_Expecter) OrgRegistryCreate(orgID interface{}, re... method OrgRegistryDelete (line 1855) | func (_e *MockClient_Expecter) OrgRegistryDelete(orgID interface{}, re... method OrgRegistryList (line 1923) | func (_e *MockClient_Expecter) OrgRegistryList(orgID interface{}, opt ... method OrgRegistryUpdate (line 1991) | func (_e *MockClient_Expecter) OrgRegistryUpdate(orgID interface{}, re... method OrgSecret (line 2059) | func (_e *MockClient_Expecter) OrgSecret(orgID interface{}, secret int... method OrgSecretCreate (line 2127) | func (_e *MockClient_Expecter) OrgSecretCreate(orgID interface{}, secr... method OrgSecretDelete (line 2184) | func (_e *MockClient_Expecter) OrgSecretDelete(orgID interface{}, secr... method OrgSecretList (line 2252) | func (_e *MockClient_Expecter) OrgSecretList(orgID interface{}, opt in... method OrgSecretUpdate (line 2320) | func (_e *MockClient_Expecter) OrgSecretUpdate(orgID interface{}, secr... method Pipeline (line 2388) | func (_e *MockClient_Expecter) Pipeline(repoID interface{}, pipeline i... method PipelineApprove (line 2456) | func (_e *MockClient_Expecter) PipelineApprove(repoID interface{}, pip... method PipelineCreate (line 2524) | func (_e *MockClient_Expecter) PipelineCreate(repoID interface{}, opts... method PipelineDecline (line 2592) | func (_e *MockClient_Expecter) PipelineDecline(repoID interface{}, pip... method PipelineDelete (line 2649) | func (_e *MockClient_Expecter) PipelineDelete(repoID interface{}, pipe... method PipelineLast (line 2717) | func (_e *MockClient_Expecter) PipelineLast(repoID interface{}, opt in... method PipelineList (line 2785) | func (_e *MockClient_Expecter) PipelineList(repoID interface{}, opt in... method PipelineMetadata (line 2853) | func (_e *MockClient_Expecter) PipelineMetadata(repoID interface{}, pi... method PipelineQueue (line 2919) | func (_e *MockClient_Expecter) PipelineQueue() *MockClient_PipelineQue... method PipelineStart (line 2977) | func (_e *MockClient_Expecter) PipelineStart(repoID interface{}, num i... method PipelineStop (line 3039) | func (_e *MockClient_Expecter) PipelineStop(repoID interface{}, pipeli... method QueueInfo (line 3105) | func (_e *MockClient_Expecter) QueueInfo() *MockClient_QueueInfo_Call { method Registry (line 3162) | func (_e *MockClient_Expecter) Registry(repoID interface{}, hostname i... method RegistryCreate (line 3230) | func (_e *MockClient_Expecter) RegistryCreate(repoID interface{}, regi... method RegistryDelete (line 3287) | func (_e *MockClient_Expecter) RegistryDelete(repoID interface{}, host... method RegistryList (line 3355) | func (_e *MockClient_Expecter) RegistryList(repoID interface{}, opt in... method RegistryUpdate (line 3423) | func (_e *MockClient_Expecter) RegistryUpdate(repoID interface{}, regi... method Repo (line 3490) | func (_e *MockClient_Expecter) Repo(repoID interface{}) *MockClient_Re... method RepoChown (line 3552) | func (_e *MockClient_Expecter) RepoChown(repoID interface{}) *MockClie... method RepoDel (line 3603) | func (_e *MockClient_Expecter) RepoDel(repoID interface{}) *MockClient... method RepoList (line 3665) | func (_e *MockClient_Expecter) RepoList(opt interface{}) *MockClient_R... method RepoLookup (line 3727) | func (_e *MockClient_Expecter) RepoLookup(repoFullName interface{}) *M... method RepoMove (line 3779) | func (_e *MockClient_Expecter) RepoMove(repoID interface{}, opt interf... method RepoPatch (line 3847) | func (_e *MockClient_Expecter) RepoPatch(repoID interface{}, repo inte... method RepoPost (line 3914) | func (_e *MockClient_Expecter) RepoPost(opt interface{}) *MockClient_R... method RepoRepair (line 3965) | func (_e *MockClient_Expecter) RepoRepair(repoID interface{}) *MockCli... method Secret (line 4028) | func (_e *MockClient_Expecter) Secret(repoID interface{}, secret inter... method SecretCreate (line 4096) | func (_e *MockClient_Expecter) SecretCreate(repoID interface{}, secret... method SecretDelete (line 4153) | func (_e *MockClient_Expecter) SecretDelete(repoID interface{}, secret... method SecretList (line 4221) | func (_e *MockClient_Expecter) SecretList(repoID interface{}, opt inte... method SecretUpdate (line 4289) | func (_e *MockClient_Expecter) SecretUpdate(repoID interface{}, secret... method Self (line 4355) | func (_e *MockClient_Expecter) Self() *MockClient_Self_Call { method SetAddress (line 4389) | func (_e *MockClient_Expecter) SetAddress(s interface{}) *MockClient_S... method SetClient (line 4429) | func (_e *MockClient_Expecter) SetClient(client interface{}) *MockClie... method SetLogLevel (line 4491) | func (_e *MockClient_Expecter) SetLogLevel(logLevel interface{}) *Mock... method StepLogEntries (line 4555) | func (_e *MockClient_Expecter) StepLogEntries(repoID interface{}, pipe... method StepLogsPurge (line 4618) | func (_e *MockClient_Expecter) StepLogsPurge(repoID interface{}, pipel... method User (line 4697) | func (_e *MockClient_Expecter) User(login interface{}, forgeID ...inte... method UserDel (line 4763) | func (_e *MockClient_Expecter) UserDel(login interface{}, forgeID ...i... method UserList (line 4833) | func (_e *MockClient_Expecter) UserList(opt interface{}) *MockClient_U... method UserPatch (line 4895) | func (_e *MockClient_Expecter) UserPatch(user interface{}) *MockClient... method UserPost (line 4957) | func (_e *MockClient_Expecter) UserPost(user interface{}) *MockClient_... type MockClient_Agent_Call (line 70) | type MockClient_Agent_Call struct method Run (line 80) | func (_c *MockClient_Agent_Call) Run(run func(n int64)) *MockClient_Ag... method Return (line 93) | func (_c *MockClient_Agent_Call) Return(agent *woodpecker.Agent, err e... method RunAndReturn (line 98) | func (_c *MockClient_Agent_Call) RunAndReturn(run func(n int64) (*wood... type MockClient_AgentCreate_Call (line 132) | type MockClient_AgentCreate_Call struct method Run (line 142) | func (_c *MockClient_AgentCreate_Call) Run(run func(agent *woodpecker.... method Return (line 155) | func (_c *MockClient_AgentCreate_Call) Return(agent1 *woodpecker.Agent... method RunAndReturn (line 160) | func (_c *MockClient_AgentCreate_Call) RunAndReturn(run func(agent *wo... type MockClient_AgentDelete_Call (line 183) | type MockClient_AgentDelete_Call struct method Run (line 193) | func (_c *MockClient_AgentDelete_Call) Run(run func(n int64)) *MockCli... method Return (line 206) | func (_c *MockClient_AgentDelete_Call) Return(err error) *MockClient_A... method RunAndReturn (line 211) | func (_c *MockClient_AgentDelete_Call) RunAndReturn(run func(n int64) ... type MockClient_AgentList_Call (line 245) | type MockClient_AgentList_Call struct method Run (line 254) | func (_c *MockClient_AgentList_Call) Run(run func()) *MockClient_Agent... method Return (line 261) | func (_c *MockClient_AgentList_Call) Return(agents []*woodpecker.Agent... method RunAndReturn (line 266) | func (_c *MockClient_AgentList_Call) RunAndReturn(run func() ([]*woodp... type MockClient_AgentTasksList_Call (line 300) | type MockClient_AgentTasksList_Call struct method Run (line 310) | func (_c *MockClient_AgentTasksList_Call) Run(run func(n int64)) *Mock... method Return (line 323) | func (_c *MockClient_AgentTasksList_Call) Return(tasks []*woodpecker.T... method RunAndReturn (line 328) | func (_c *MockClient_AgentTasksList_Call) RunAndReturn(run func(n int6... type MockClient_AgentUpdate_Call (line 362) | type MockClient_AgentUpdate_Call struct method Run (line 372) | func (_c *MockClient_AgentUpdate_Call) Run(run func(agent *woodpecker.... method Return (line 385) | func (_c *MockClient_AgentUpdate_Call) Return(agent1 *woodpecker.Agent... method RunAndReturn (line 390) | func (_c *MockClient_AgentUpdate_Call) RunAndReturn(run func(agent *wo... type MockClient_CronCreate_Call (line 424) | type MockClient_CronCreate_Call struct method Run (line 435) | func (_c *MockClient_CronCreate_Call) Run(run func(repoID int64, cron ... method Return (line 453) | func (_c *MockClient_CronCreate_Call) Return(cron1 *woodpecker.Cron, e... method RunAndReturn (line 458) | func (_c *MockClient_CronCreate_Call) RunAndReturn(run func(repoID int... type MockClient_CronDelete_Call (line 481) | type MockClient_CronDelete_Call struct method Run (line 492) | func (_c *MockClient_CronDelete_Call) Run(run func(repoID int64, cronI... method Return (line 510) | func (_c *MockClient_CronDelete_Call) Return(err error) *MockClient_Cr... method RunAndReturn (line 515) | func (_c *MockClient_CronDelete_Call) RunAndReturn(run func(repoID int... type MockClient_CronGet_Call (line 549) | type MockClient_CronGet_Call struct method Run (line 560) | func (_c *MockClient_CronGet_Call) Run(run func(repoID int64, cronID i... method Return (line 578) | func (_c *MockClient_CronGet_Call) Return(cron *woodpecker.Cron, err e... method RunAndReturn (line 583) | func (_c *MockClient_CronGet_Call) RunAndReturn(run func(repoID int64,... type MockClient_CronList_Call (line 617) | type MockClient_CronList_Call struct method Run (line 628) | func (_c *MockClient_CronList_Call) Run(run func(repoID int64, opt woo... method Return (line 646) | func (_c *MockClient_CronList_Call) Return(crons []*woodpecker.Cron, e... method RunAndReturn (line 651) | func (_c *MockClient_CronList_Call) RunAndReturn(run func(repoID int64... type MockClient_CronUpdate_Call (line 685) | type MockClient_CronUpdate_Call struct method Run (line 696) | func (_c *MockClient_CronUpdate_Call) Run(run func(repoID int64, cron ... method Return (line 714) | func (_c *MockClient_CronUpdate_Call) Return(cron1 *woodpecker.Cron, e... method RunAndReturn (line 719) | func (_c *MockClient_CronUpdate_Call) RunAndReturn(run func(repoID int... type MockClient_Deploy_Call (line 753) | type MockClient_Deploy_Call struct method Run (line 765) | func (_c *MockClient_Deploy_Call) Run(run func(repoID int64, pipeline ... method Return (line 788) | func (_c *MockClient_Deploy_Call) Return(pipeline1 *woodpecker.Pipelin... method RunAndReturn (line 793) | func (_c *MockClient_Deploy_Call) RunAndReturn(run func(repoID int64, ... type MockClient_GlobalRegistry_Call (line 827) | type MockClient_GlobalRegistry_Call struct method Run (line 837) | func (_c *MockClient_GlobalRegistry_Call) Run(run func(registry string... method Return (line 850) | func (_c *MockClient_GlobalRegistry_Call) Return(registry1 *woodpecker... method RunAndReturn (line 855) | func (_c *MockClient_GlobalRegistry_Call) RunAndReturn(run func(regist... type MockClient_GlobalRegistryCreate_Call (line 889) | type MockClient_GlobalRegistryCreate_Call struct method Run (line 899) | func (_c *MockClient_GlobalRegistryCreate_Call) Run(run func(registry ... method Return (line 912) | func (_c *MockClient_GlobalRegistryCreate_Call) Return(registry1 *wood... method RunAndReturn (line 917) | func (_c *MockClient_GlobalRegistryCreate_Call) RunAndReturn(run func(... type MockClient_GlobalRegistryDelete_Call (line 940) | type MockClient_GlobalRegistryDelete_Call struct method Run (line 950) | func (_c *MockClient_GlobalRegistryDelete_Call) Run(run func(registry ... method Return (line 963) | func (_c *MockClient_GlobalRegistryDelete_Call) Return(err error) *Moc... method RunAndReturn (line 968) | func (_c *MockClient_GlobalRegistryDelete_Call) RunAndReturn(run func(... type MockClient_GlobalRegistryList_Call (line 1002) | type MockClient_GlobalRegistryList_Call struct method Run (line 1012) | func (_c *MockClient_GlobalRegistryList_Call) Run(run func(opt woodpec... method Return (line 1025) | func (_c *MockClient_GlobalRegistryList_Call) Return(registrys []*wood... method RunAndReturn (line 1030) | func (_c *MockClient_GlobalRegistryList_Call) RunAndReturn(run func(op... type MockClient_GlobalRegistryUpdate_Call (line 1064) | type MockClient_GlobalRegistryUpdate_Call struct method Run (line 1074) | func (_c *MockClient_GlobalRegistryUpdate_Call) Run(run func(registry ... method Return (line 1087) | func (_c *MockClient_GlobalRegistryUpdate_Call) Return(registry1 *wood... method RunAndReturn (line 1092) | func (_c *MockClient_GlobalRegistryUpdate_Call) RunAndReturn(run func(... type MockClient_GlobalSecret_Call (line 1126) | type MockClient_GlobalSecret_Call struct method Run (line 1136) | func (_c *MockClient_GlobalSecret_Call) Run(run func(secret string)) *... method Return (line 1149) | func (_c *MockClient_GlobalSecret_Call) Return(secret1 *woodpecker.Sec... method RunAndReturn (line 1154) | func (_c *MockClient_GlobalSecret_Call) RunAndReturn(run func(secret s... type MockClient_GlobalSecretCreate_Call (line 1188) | type MockClient_GlobalSecretCreate_Call struct method Run (line 1198) | func (_c *MockClient_GlobalSecretCreate_Call) Run(run func(secret *woo... method Return (line 1211) | func (_c *MockClient_GlobalSecretCreate_Call) Return(secret1 *woodpeck... method RunAndReturn (line 1216) | func (_c *MockClient_GlobalSecretCreate_Call) RunAndReturn(run func(se... type MockClient_GlobalSecretDelete_Call (line 1239) | type MockClient_GlobalSecretDelete_Call struct method Run (line 1249) | func (_c *MockClient_GlobalSecretDelete_Call) Run(run func(secret stri... method Return (line 1262) | func (_c *MockClient_GlobalSecretDelete_Call) Return(err error) *MockC... method RunAndReturn (line 1267) | func (_c *MockClient_GlobalSecretDelete_Call) RunAndReturn(run func(se... type MockClient_GlobalSecretList_Call (line 1301) | type MockClient_GlobalSecretList_Call struct method Run (line 1311) | func (_c *MockClient_GlobalSecretList_Call) Run(run func(opt woodpecke... method Return (line 1324) | func (_c *MockClient_GlobalSecretList_Call) Return(secrets []*woodpeck... method RunAndReturn (line 1329) | func (_c *MockClient_GlobalSecretList_Call) RunAndReturn(run func(opt ... type MockClient_GlobalSecretUpdate_Call (line 1363) | type MockClient_GlobalSecretUpdate_Call struct method Run (line 1373) | func (_c *MockClient_GlobalSecretUpdate_Call) Run(run func(secret *woo... method Return (line 1386) | func (_c *MockClient_GlobalSecretUpdate_Call) Return(secret1 *woodpeck... method RunAndReturn (line 1391) | func (_c *MockClient_GlobalSecretUpdate_Call) RunAndReturn(run func(se... type MockClient_LogLevel_Call (line 1425) | type MockClient_LogLevel_Call struct method Run (line 1434) | func (_c *MockClient_LogLevel_Call) Run(run func()) *MockClient_LogLev... method Return (line 1441) | func (_c *MockClient_LogLevel_Call) Return(logLevel *woodpecker.LogLev... method RunAndReturn (line 1446) | func (_c *MockClient_LogLevel_Call) RunAndReturn(run func() (*woodpeck... type MockClient_LogsPurge_Call (line 1469) | type MockClient_LogsPurge_Call struct method Run (line 1480) | func (_c *MockClient_LogsPurge_Call) Run(run func(repoID int64, pipeli... method Return (line 1498) | func (_c *MockClient_LogsPurge_Call) Return(err error) *MockClient_Log... method RunAndReturn (line 1503) | func (_c *MockClient_LogsPurge_Call) RunAndReturn(run func(repoID int6... type MockClient_Org_Call (line 1537) | type MockClient_Org_Call struct method Run (line 1547) | func (_c *MockClient_Org_Call) Run(run func(orgID int64)) *MockClient_... method Return (line 1560) | func (_c *MockClient_Org_Call) Return(org *woodpecker.Org, err error) ... method RunAndReturn (line 1565) | func (_c *MockClient_Org_Call) RunAndReturn(run func(orgID int64) (*wo... type MockClient_OrgList_Call (line 1599) | type MockClient_OrgList_Call struct method Run (line 1609) | func (_c *MockClient_OrgList_Call) Run(run func(opt woodpecker.ListOpt... method Return (line 1622) | func (_c *MockClient_OrgList_Call) Return(orgs []*woodpecker.Org, err ... method RunAndReturn (line 1627) | func (_c *MockClient_OrgList_Call) RunAndReturn(run func(opt woodpecke... type MockClient_OrgLookup_Call (line 1661) | type MockClient_OrgLookup_Call struct method Run (line 1671) | func (_c *MockClient_OrgLookup_Call) Run(run func(orgName string)) *Mo... method Return (line 1684) | func (_c *MockClient_OrgLookup_Call) Return(org *woodpecker.Org, err e... method RunAndReturn (line 1689) | func (_c *MockClient_OrgLookup_Call) RunAndReturn(run func(orgName str... type MockClient_OrgRegistry_Call (line 1723) | type MockClient_OrgRegistry_Call struct method Run (line 1734) | func (_c *MockClient_OrgRegistry_Call) Run(run func(orgID int64, regis... method Return (line 1752) | func (_c *MockClient_OrgRegistry_Call) Return(registry1 *woodpecker.Re... method RunAndReturn (line 1757) | func (_c *MockClient_OrgRegistry_Call) RunAndReturn(run func(orgID int... type MockClient_OrgRegistryCreate_Call (line 1791) | type MockClient_OrgRegistryCreate_Call struct method Run (line 1802) | func (_c *MockClient_OrgRegistryCreate_Call) Run(run func(orgID int64,... method Return (line 1820) | func (_c *MockClient_OrgRegistryCreate_Call) Return(registry1 *woodpec... method RunAndReturn (line 1825) | func (_c *MockClient_OrgRegistryCreate_Call) RunAndReturn(run func(org... type MockClient_OrgRegistryDelete_Call (line 1848) | type MockClient_OrgRegistryDelete_Call struct method Run (line 1859) | func (_c *MockClient_OrgRegistryDelete_Call) Run(run func(orgID int64,... method Return (line 1877) | func (_c *MockClient_OrgRegistryDelete_Call) Return(err error) *MockCl... method RunAndReturn (line 1882) | func (_c *MockClient_OrgRegistryDelete_Call) RunAndReturn(run func(org... type MockClient_OrgRegistryList_Call (line 1916) | type MockClient_OrgRegistryList_Call struct method Run (line 1927) | func (_c *MockClient_OrgRegistryList_Call) Run(run func(orgID int64, o... method Return (line 1945) | func (_c *MockClient_OrgRegistryList_Call) Return(registrys []*woodpec... method RunAndReturn (line 1950) | func (_c *MockClient_OrgRegistryList_Call) RunAndReturn(run func(orgID... type MockClient_OrgRegistryUpdate_Call (line 1984) | type MockClient_OrgRegistryUpdate_Call struct method Run (line 1995) | func (_c *MockClient_OrgRegistryUpdate_Call) Run(run func(orgID int64,... method Return (line 2013) | func (_c *MockClient_OrgRegistryUpdate_Call) Return(registry1 *woodpec... method RunAndReturn (line 2018) | func (_c *MockClient_OrgRegistryUpdate_Call) RunAndReturn(run func(org... type MockClient_OrgSecret_Call (line 2052) | type MockClient_OrgSecret_Call struct method Run (line 2063) | func (_c *MockClient_OrgSecret_Call) Run(run func(orgID int64, secret ... method Return (line 2081) | func (_c *MockClient_OrgSecret_Call) Return(secret1 *woodpecker.Secret... method RunAndReturn (line 2086) | func (_c *MockClient_OrgSecret_Call) RunAndReturn(run func(orgID int64... type MockClient_OrgSecretCreate_Call (line 2120) | type MockClient_OrgSecretCreate_Call struct method Run (line 2131) | func (_c *MockClient_OrgSecretCreate_Call) Run(run func(orgID int64, s... method Return (line 2149) | func (_c *MockClient_OrgSecretCreate_Call) Return(secret1 *woodpecker.... method RunAndReturn (line 2154) | func (_c *MockClient_OrgSecretCreate_Call) RunAndReturn(run func(orgID... type MockClient_OrgSecretDelete_Call (line 2177) | type MockClient_OrgSecretDelete_Call struct method Run (line 2188) | func (_c *MockClient_OrgSecretDelete_Call) Run(run func(orgID int64, s... method Return (line 2206) | func (_c *MockClient_OrgSecretDelete_Call) Return(err error) *MockClie... method RunAndReturn (line 2211) | func (_c *MockClient_OrgSecretDelete_Call) RunAndReturn(run func(orgID... type MockClient_OrgSecretList_Call (line 2245) | type MockClient_OrgSecretList_Call struct method Run (line 2256) | func (_c *MockClient_OrgSecretList_Call) Run(run func(orgID int64, opt... method Return (line 2274) | func (_c *MockClient_OrgSecretList_Call) Return(secrets []*woodpecker.... method RunAndReturn (line 2279) | func (_c *MockClient_OrgSecretList_Call) RunAndReturn(run func(orgID i... type MockClient_OrgSecretUpdate_Call (line 2313) | type MockClient_OrgSecretUpdate_Call struct method Run (line 2324) | func (_c *MockClient_OrgSecretUpdate_Call) Run(run func(orgID int64, s... method Return (line 2342) | func (_c *MockClient_OrgSecretUpdate_Call) Return(secret1 *woodpecker.... method RunAndReturn (line 2347) | func (_c *MockClient_OrgSecretUpdate_Call) RunAndReturn(run func(orgID... type MockClient_Pipeline_Call (line 2381) | type MockClient_Pipeline_Call struct method Run (line 2392) | func (_c *MockClient_Pipeline_Call) Run(run func(repoID int64, pipelin... method Return (line 2410) | func (_c *MockClient_Pipeline_Call) Return(pipeline1 *woodpecker.Pipel... method RunAndReturn (line 2415) | func (_c *MockClient_Pipeline_Call) RunAndReturn(run func(repoID int64... type MockClient_PipelineApprove_Call (line 2449) | type MockClient_PipelineApprove_Call struct method Run (line 2460) | func (_c *MockClient_PipelineApprove_Call) Run(run func(repoID int64, ... method Return (line 2478) | func (_c *MockClient_PipelineApprove_Call) Return(pipeline1 *woodpecke... method RunAndReturn (line 2483) | func (_c *MockClient_PipelineApprove_Call) RunAndReturn(run func(repoI... type MockClient_PipelineCreate_Call (line 2517) | type MockClient_PipelineCreate_Call struct method Run (line 2528) | func (_c *MockClient_PipelineCreate_Call) Run(run func(repoID int64, o... method Return (line 2546) | func (_c *MockClient_PipelineCreate_Call) Return(pipeline *woodpecker.... method RunAndReturn (line 2551) | func (_c *MockClient_PipelineCreate_Call) RunAndReturn(run func(repoID... type MockClient_PipelineDecline_Call (line 2585) | type MockClient_PipelineDecline_Call struct method Run (line 2596) | func (_c *MockClient_PipelineDecline_Call) Run(run func(repoID int64, ... method Return (line 2614) | func (_c *MockClient_PipelineDecline_Call) Return(pipeline1 *woodpecke... method RunAndReturn (line 2619) | func (_c *MockClient_PipelineDecline_Call) RunAndReturn(run func(repoI... type MockClient_PipelineDelete_Call (line 2642) | type MockClient_PipelineDelete_Call struct method Run (line 2653) | func (_c *MockClient_PipelineDelete_Call) Run(run func(repoID int64, p... method Return (line 2671) | func (_c *MockClient_PipelineDelete_Call) Return(err error) *MockClien... method RunAndReturn (line 2676) | func (_c *MockClient_PipelineDelete_Call) RunAndReturn(run func(repoID... type MockClient_PipelineLast_Call (line 2710) | type MockClient_PipelineLast_Call struct method Run (line 2721) | func (_c *MockClient_PipelineLast_Call) Run(run func(repoID int64, opt... method Return (line 2739) | func (_c *MockClient_PipelineLast_Call) Return(pipeline *woodpecker.Pi... method RunAndReturn (line 2744) | func (_c *MockClient_PipelineLast_Call) RunAndReturn(run func(repoID i... type MockClient_PipelineList_Call (line 2778) | type MockClient_PipelineList_Call struct method Run (line 2789) | func (_c *MockClient_PipelineList_Call) Run(run func(repoID int64, opt... method Return (line 2807) | func (_c *MockClient_PipelineList_Call) Return(pipelines []*woodpecker... method RunAndReturn (line 2812) | func (_c *MockClient_PipelineList_Call) RunAndReturn(run func(repoID i... type MockClient_PipelineMetadata_Call (line 2846) | type MockClient_PipelineMetadata_Call struct method Run (line 2857) | func (_c *MockClient_PipelineMetadata_Call) Run(run func(repoID int64,... method Return (line 2875) | func (_c *MockClient_PipelineMetadata_Call) Return(bytes []byte, err e... method RunAndReturn (line 2880) | func (_c *MockClient_PipelineMetadata_Call) RunAndReturn(run func(repo... type MockClient_PipelineQueue_Call (line 2914) | type MockClient_PipelineQueue_Call struct method Run (line 2923) | func (_c *MockClient_PipelineQueue_Call) Run(run func()) *MockClient_P... method Return (line 2930) | func (_c *MockClient_PipelineQueue_Call) Return(feeds []*woodpecker.Fe... method RunAndReturn (line 2935) | func (_c *MockClient_PipelineQueue_Call) RunAndReturn(run func() ([]*w... type MockClient_PipelineStart_Call (line 2969) | type MockClient_PipelineStart_Call struct method Run (line 2981) | func (_c *MockClient_PipelineStart_Call) Run(run func(repoID int64, nu... method Return (line 3004) | func (_c *MockClient_PipelineStart_Call) Return(pipeline *woodpecker.P... method RunAndReturn (line 3009) | func (_c *MockClient_PipelineStart_Call) RunAndReturn(run func(repoID ... type MockClient_PipelineStop_Call (line 3032) | type MockClient_PipelineStop_Call struct method Run (line 3043) | func (_c *MockClient_PipelineStop_Call) Run(run func(repoID int64, pip... method Return (line 3061) | func (_c *MockClient_PipelineStop_Call) Return(err error) *MockClient_... method RunAndReturn (line 3066) | func (_c *MockClient_PipelineStop_Call) RunAndReturn(run func(repoID i... type MockClient_QueueInfo_Call (line 3100) | type MockClient_QueueInfo_Call struct method Run (line 3109) | func (_c *MockClient_QueueInfo_Call) Run(run func()) *MockClient_Queue... method Return (line 3116) | func (_c *MockClient_QueueInfo_Call) Return(info *woodpecker.Info, err... method RunAndReturn (line 3121) | func (_c *MockClient_QueueInfo_Call) RunAndReturn(run func() (*woodpec... type MockClient_Registry_Call (line 3155) | type MockClient_Registry_Call struct method Run (line 3166) | func (_c *MockClient_Registry_Call) Run(run func(repoID int64, hostnam... method Return (line 3184) | func (_c *MockClient_Registry_Call) Return(registry *woodpecker.Regist... method RunAndReturn (line 3189) | func (_c *MockClient_Registry_Call) RunAndReturn(run func(repoID int64... type MockClient_RegistryCreate_Call (line 3223) | type MockClient_RegistryCreate_Call struct method Run (line 3234) | func (_c *MockClient_RegistryCreate_Call) Run(run func(repoID int64, r... method Return (line 3252) | func (_c *MockClient_RegistryCreate_Call) Return(registry1 *woodpecker... method RunAndReturn (line 3257) | func (_c *MockClient_RegistryCreate_Call) RunAndReturn(run func(repoID... type MockClient_RegistryDelete_Call (line 3280) | type MockClient_RegistryDelete_Call struct method Run (line 3291) | func (_c *MockClient_RegistryDelete_Call) Run(run func(repoID int64, h... method Return (line 3309) | func (_c *MockClient_RegistryDelete_Call) Return(err error) *MockClien... method RunAndReturn (line 3314) | func (_c *MockClient_RegistryDelete_Call) RunAndReturn(run func(repoID... type MockClient_RegistryList_Call (line 3348) | type MockClient_RegistryList_Call struct method Run (line 3359) | func (_c *MockClient_RegistryList_Call) Run(run func(repoID int64, opt... method Return (line 3377) | func (_c *MockClient_RegistryList_Call) Return(registrys []*woodpecker... method RunAndReturn (line 3382) | func (_c *MockClient_RegistryList_Call) RunAndReturn(run func(repoID i... type MockClient_RegistryUpdate_Call (line 3416) | type MockClient_RegistryUpdate_Call struct method Run (line 3427) | func (_c *MockClient_RegistryUpdate_Call) Run(run func(repoID int64, r... method Return (line 3445) | func (_c *MockClient_RegistryUpdate_Call) Return(registry1 *woodpecker... method RunAndReturn (line 3450) | func (_c *MockClient_RegistryUpdate_Call) RunAndReturn(run func(repoID... type MockClient_Repo_Call (line 3484) | type MockClient_Repo_Call struct method Run (line 3494) | func (_c *MockClient_Repo_Call) Run(run func(repoID int64)) *MockClien... method Return (line 3507) | func (_c *MockClient_Repo_Call) Return(repo *woodpecker.Repo, err erro... method RunAndReturn (line 3512) | func (_c *MockClient_Repo_Call) RunAndReturn(run func(repoID int64) (*... type MockClient_RepoChown_Call (line 3546) | type MockClient_RepoChown_Call struct method Run (line 3556) | func (_c *MockClient_RepoChown_Call) Run(run func(repoID int64)) *Mock... method Return (line 3569) | func (_c *MockClient_RepoChown_Call) Return(repo *woodpecker.Repo, err... method RunAndReturn (line 3574) | func (_c *MockClient_RepoChown_Call) RunAndReturn(run func(repoID int6... type MockClient_RepoDel_Call (line 3597) | type MockClient_RepoDel_Call struct method Run (line 3607) | func (_c *MockClient_RepoDel_Call) Run(run func(repoID int64)) *MockCl... method Return (line 3620) | func (_c *MockClient_RepoDel_Call) Return(err error) *MockClient_RepoD... method RunAndReturn (line 3625) | func (_c *MockClient_RepoDel_Call) RunAndReturn(run func(repoID int64)... type MockClient_RepoList_Call (line 3659) | type MockClient_RepoList_Call struct method Run (line 3669) | func (_c *MockClient_RepoList_Call) Run(run func(opt woodpecker.RepoLi... method Return (line 3682) | func (_c *MockClient_RepoList_Call) Return(repos []*woodpecker.Repo, e... method RunAndReturn (line 3687) | func (_c *MockClient_RepoList_Call) RunAndReturn(run func(opt woodpeck... type MockClient_RepoLookup_Call (line 3721) | type MockClient_RepoLookup_Call struct method Run (line 3731) | func (_c *MockClient_RepoLookup_Call) Run(run func(repoFullName string... method Return (line 3744) | func (_c *MockClient_RepoLookup_Call) Return(repo *woodpecker.Repo, er... method RunAndReturn (line 3749) | func (_c *MockClient_RepoLookup_Call) RunAndReturn(run func(repoFullNa... type MockClient_RepoMove_Call (line 3772) | type MockClient_RepoMove_Call struct method Run (line 3783) | func (_c *MockClient_RepoMove_Call) Run(run func(repoID int64, opt woo... method Return (line 3801) | func (_c *MockClient_RepoMove_Call) Return(err error) *MockClient_Repo... method RunAndReturn (line 3806) | func (_c *MockClient_RepoMove_Call) RunAndReturn(run func(repoID int64... type MockClient_RepoPatch_Call (line 3840) | type MockClient_RepoPatch_Call struct method Run (line 3851) | func (_c *MockClient_RepoPatch_Call) Run(run func(repoID int64, repo *... method Return (line 3869) | func (_c *MockClient_RepoPatch_Call) Return(repo1 *woodpecker.Repo, er... method RunAndReturn (line 3874) | func (_c *MockClient_RepoPatch_Call) RunAndReturn(run func(repoID int6... type MockClient_RepoPost_Call (line 3908) | type MockClient_RepoPost_Call struct method Run (line 3918) | func (_c *MockClient_RepoPost_Call) Run(run func(opt woodpecker.RepoPo... method Return (line 3931) | func (_c *MockClient_RepoPost_Call) Return(repo *woodpecker.Repo, err ... method RunAndReturn (line 3936) | func (_c *MockClient_RepoPost_Call) RunAndReturn(run func(opt woodpeck... type MockClient_RepoRepair_Call (line 3959) | type MockClient_RepoRepair_Call struct method Run (line 3969) | func (_c *MockClient_RepoRepair_Call) Run(run func(repoID int64)) *Moc... method Return (line 3982) | func (_c *MockClient_RepoRepair_Call) Return(err error) *MockClient_Re... method RunAndReturn (line 3987) | func (_c *MockClient_RepoRepair_Call) RunAndReturn(run func(repoID int... type MockClient_Secret_Call (line 4021) | type MockClient_Secret_Call struct method Run (line 4032) | func (_c *MockClient_Secret_Call) Run(run func(repoID int64, secret st... method Return (line 4050) | func (_c *MockClient_Secret_Call) Return(secret1 *woodpecker.Secret, e... method RunAndReturn (line 4055) | func (_c *MockClient_Secret_Call) RunAndReturn(run func(repoID int64, ... type MockClient_SecretCreate_Call (line 4089) | type MockClient_SecretCreate_Call struct method Run (line 4100) | func (_c *MockClient_SecretCreate_Call) Run(run func(repoID int64, sec... method Return (line 4118) | func (_c *MockClient_SecretCreate_Call) Return(secret1 *woodpecker.Sec... method RunAndReturn (line 4123) | func (_c *MockClient_SecretCreate_Call) RunAndReturn(run func(repoID i... type MockClient_SecretDelete_Call (line 4146) | type MockClient_SecretDelete_Call struct method Run (line 4157) | func (_c *MockClient_SecretDelete_Call) Run(run func(repoID int64, sec... method Return (line 4175) | func (_c *MockClient_SecretDelete_Call) Return(err error) *MockClient_... method RunAndReturn (line 4180) | func (_c *MockClient_SecretDelete_Call) RunAndReturn(run func(repoID i... type MockClient_SecretList_Call (line 4214) | type MockClient_SecretList_Call struct method Run (line 4225) | func (_c *MockClient_SecretList_Call) Run(run func(repoID int64, opt w... method Return (line 4243) | func (_c *MockClient_SecretList_Call) Return(secrets []*woodpecker.Sec... method RunAndReturn (line 4248) | func (_c *MockClient_SecretList_Call) RunAndReturn(run func(repoID int... type MockClient_SecretUpdate_Call (line 4282) | type MockClient_SecretUpdate_Call struct method Run (line 4293) | func (_c *MockClient_SecretUpdate_Call) Run(run func(repoID int64, sec... method Return (line 4311) | func (_c *MockClient_SecretUpdate_Call) Return(secret1 *woodpecker.Sec... method RunAndReturn (line 4316) | func (_c *MockClient_SecretUpdate_Call) RunAndReturn(run func(repoID i... type MockClient_Self_Call (line 4350) | type MockClient_Self_Call struct method Run (line 4359) | func (_c *MockClient_Self_Call) Run(run func()) *MockClient_Self_Call { method Return (line 4366) | func (_c *MockClient_Self_Call) Return(user *woodpecker.User, err erro... method RunAndReturn (line 4371) | func (_c *MockClient_Self_Call) RunAndReturn(run func() (*woodpecker.U... type MockClient_SetAddress_Call (line 4383) | type MockClient_SetAddress_Call struct method Run (line 4393) | func (_c *MockClient_SetAddress_Call) Run(run func(s string)) *MockCli... method Return (line 4406) | func (_c *MockClient_SetAddress_Call) Return() *MockClient_SetAddress_... method RunAndReturn (line 4411) | func (_c *MockClient_SetAddress_Call) RunAndReturn(run func(s string))... type MockClient_SetClient_Call (line 4423) | type MockClient_SetClient_Call struct method Run (line 4433) | func (_c *MockClient_SetClient_Call) Run(run func(client *http.Client)... method Return (line 4446) | func (_c *MockClient_SetClient_Call) Return() *MockClient_SetClient_Ca... method RunAndReturn (line 4451) | func (_c *MockClient_SetClient_Call) RunAndReturn(run func(client *htt... type MockClient_SetLogLevel_Call (line 4485) | type MockClient_SetLogLevel_Call struct method Run (line 4495) | func (_c *MockClient_SetLogLevel_Call) Run(run func(logLevel *woodpeck... method Return (line 4508) | func (_c *MockClient_SetLogLevel_Call) Return(logLevel1 *woodpecker.Lo... method RunAndReturn (line 4513) | func (_c *MockClient_SetLogLevel_Call) RunAndReturn(run func(logLevel ... type MockClient_StepLogEntries_Call (line 4547) | type MockClient_StepLogEntries_Call struct method Run (line 4559) | func (_c *MockClient_StepLogEntries_Call) Run(run func(repoID int64, p... method Return (line 4582) | func (_c *MockClient_StepLogEntries_Call) Return(logEntrys []*woodpeck... method RunAndReturn (line 4587) | func (_c *MockClient_StepLogEntries_Call) RunAndReturn(run func(repoID... type MockClient_StepLogsPurge_Call (line 4610) | type MockClient_StepLogsPurge_Call struct method Run (line 4622) | func (_c *MockClient_StepLogsPurge_Call) Run(run func(repoID int64, pi... method Return (line 4645) | func (_c *MockClient_StepLogsPurge_Call) Return(err error) *MockClient... method RunAndReturn (line 4650) | func (_c *MockClient_StepLogsPurge_Call) RunAndReturn(run func(repoID ... type MockClient_User_Call (line 4690) | type MockClient_User_Call struct method Run (line 4702) | func (_c *MockClient_User_Call) Run(run func(login string, forgeID ...... method Return (line 4722) | func (_c *MockClient_User_Call) Return(user *woodpecker.User, err erro... method RunAndReturn (line 4727) | func (_c *MockClient_User_Call) RunAndReturn(run func(login string, fo... type MockClient_UserDel_Call (line 4756) | type MockClient_UserDel_Call struct method Run (line 4768) | func (_c *MockClient_UserDel_Call) Run(run func(login string, forgeID ... method Return (line 4788) | func (_c *MockClient_UserDel_Call) Return(err error) *MockClient_UserD... method RunAndReturn (line 4793) | func (_c *MockClient_UserDel_Call) RunAndReturn(run func(login string,... type MockClient_UserList_Call (line 4827) | type MockClient_UserList_Call struct method Run (line 4837) | func (_c *MockClient_UserList_Call) Run(run func(opt woodpecker.UserLi... method Return (line 4850) | func (_c *MockClient_UserList_Call) Return(users []*woodpecker.User, e... method RunAndReturn (line 4855) | func (_c *MockClient_UserList_Call) RunAndReturn(run func(opt woodpeck... type MockClient_UserPatch_Call (line 4889) | type MockClient_UserPatch_Call struct method Run (line 4899) | func (_c *MockClient_UserPatch_Call) Run(run func(user *woodpecker.Use... method Return (line 4912) | func (_c *MockClient_UserPatch_Call) Return(user1 *woodpecker.User, er... method RunAndReturn (line 4917) | func (_c *MockClient_UserPatch_Call) RunAndReturn(run func(user *woodp... type MockClient_UserPost_Call (line 4951) | type MockClient_UserPost_Call struct method Run (line 4961) | func (_c *MockClient_UserPost_Call) Run(run func(user *woodpecker.User... method Return (line 4974) | func (_c *MockClient_UserPost_Call) Return(user1 *woodpecker.User, err... method RunAndReturn (line 4979) | func (_c *MockClient_UserPost_Call) RunAndReturn(run func(user *woodpe... FILE: woodpecker-go/woodpecker/org.go constant pathOrg (line 23) | pathOrg = "%s/api/orgs/%d" constant pathOrgLookup (line 24) | pathOrgLookup = "%s/api/orgs/lookup/%s" constant pathOrgList (line 25) | pathOrgList = "%s/api/orgs" constant pathOrgSecrets (line 26) | pathOrgSecrets = "%s/api/orgs/%d/secrets" constant pathOrgSecret (line 27) | pathOrgSecret = "%s/api/orgs/%d/secrets/%s" constant pathOrgRegistries (line 28) | pathOrgRegistries = "%s/api/orgs/%d/registries" constant pathOrgRegistry (line 29) | pathOrgRegistry = "%s/api/orgs/%d/registries/%s" method Org (line 33) | func (c *client) Org(orgID int64) (*Org, error) { method OrgLookup (line 41) | func (c *client) OrgLookup(name string) (*Org, error) { method OrgList (line 48) | func (c *client) OrgList(opt ListOptions) ([]*Org, error) { method OrgSecret (line 57) | func (c *client) OrgSecret(orgID int64, secret string) (*Secret, error) { method OrgSecretList (line 65) | func (c *client) OrgSecretList(orgID int64, opt SecretListOptions) ([]*S... method OrgSecretCreate (line 74) | func (c *client) OrgSecretCreate(orgID int64, in *Secret) (*Secret, erro... method OrgSecretUpdate (line 82) | func (c *client) OrgSecretUpdate(orgID int64, in *Secret) (*Secret, erro... method OrgSecretDelete (line 90) | func (c *client) OrgSecretDelete(orgID int64, secret string) error { method OrgRegistry (line 96) | func (c *client) OrgRegistry(orgID int64, registry string) (*Registry, e... method OrgRegistryList (line 104) | func (c *client) OrgRegistryList(orgID int64, opt RegistryListOptions) (... method OrgRegistryCreate (line 113) | func (c *client) OrgRegistryCreate(orgID int64, in *Registry) (*Registry... method OrgRegistryUpdate (line 121) | func (c *client) OrgRegistryUpdate(orgID int64, in *Registry) (*Registry... method OrgRegistryDelete (line 129) | func (c *client) OrgRegistryDelete(orgID int64, registry string) error { FILE: woodpecker-go/woodpecker/pipeline.go constant pathPipelineQueue (line 24) | pathPipelineQueue = "%s/api/pipelines" constant pathPipelineMetadata (line 25) | pathPipelineMetadata = "%s/api/repos/%d/pipelines/%d/metadata" method PipelineQueue (line 29) | func (c *client) PipelineQueue() ([]*Feed, error) { method PipelineMetadata (line 37) | func (c *client) PipelineMetadata(repoID int64, pipelineNumber int) ([]b... FILE: woodpecker-go/woodpecker/queue.go constant pathQueue (line 19) | pathQueue = "%s/api/queue" method QueueInfo (line 22) | func (c *client) QueueInfo() (*Info, error) { FILE: woodpecker-go/woodpecker/queue_test.go function TestClient_QueueInfo (line 26) | func TestClient_QueueInfo(t *testing.T) { FILE: woodpecker-go/woodpecker/repo.go constant pathRepoPost (line 26) | pathRepoPost = "%s/api/repos" constant pathRepo (line 27) | pathRepo = "%s/api/repos/%d" constant pathRepoLookup (line 28) | pathRepoLookup = "%s/api/repos/lookup/%s" constant pathRepoMove (line 29) | pathRepoMove = "%s/api/repos/%d/move" constant pathChown (line 30) | pathChown = "%s/api/repos/%d/chown" constant pathRepair (line 31) | pathRepair = "%s/api/repos/%d/repair" constant pathPipelines (line 32) | pathPipelines = "%s/api/repos/%d/pipelines" constant pathPipeline (line 33) | pathPipeline = "%s/api/repos/%d/pipelines/%v" constant pathPipelineLogs (line 34) | pathPipelineLogs = "%s/api/repos/%d/logs/%d" constant pathStepLogs (line 35) | pathStepLogs = "%s/api/repos/%d/logs/%d/%d" constant pathApprove (line 36) | pathApprove = "%s/api/repos/%d/pipelines/%d/approve" constant pathDecline (line 37) | pathDecline = "%s/api/repos/%d/pipelines/%d/decline" constant pathStop (line 38) | pathStop = "%s/api/repos/%d/pipelines/%d/cancel" constant pathRepoSecrets (line 39) | pathRepoSecrets = "%s/api/repos/%d/secrets" constant pathRepoSecret (line 40) | pathRepoSecret = "%s/api/repos/%d/secrets/%s" constant pathRepoRegistries (line 41) | pathRepoRegistries = "%s/api/repos/%d/registries" constant pathRepoRegistry (line 42) | pathRepoRegistry = "%s/api/repos/%d/registries/%s" constant pathRepoCrons (line 43) | pathRepoCrons = "%s/api/repos/%d/cron" constant pathRepoCron (line 44) | pathRepoCron = "%s/api/repos/%d/cron/%d" type PipelineListOptions (line 47) | type PipelineListOptions struct method QueryEncode (line 91) | func (opt *PipelineListOptions) QueryEncode() string { type CronListOptions (line 57) | type CronListOptions struct type RegistryListOptions (line 61) | type RegistryListOptions struct type SecretListOptions (line 65) | type SecretListOptions struct type DeployOptions (line 69) | type DeployOptions struct method QueryEncode (line 115) | func (opt *DeployOptions) QueryEncode() string { type PipelineStartOptions (line 74) | type PipelineStartOptions struct method QueryEncode (line 125) | func (opt *PipelineStartOptions) QueryEncode() string { type PipelineLastOptions (line 78) | type PipelineLastOptions struct method QueryEncode (line 131) | func (opt *PipelineLastOptions) QueryEncode() string { type RepoPostOptions (line 82) | type RepoPostOptions struct method QueryEncode (line 140) | func (opt *RepoPostOptions) QueryEncode() string { type RepoMoveOptions (line 86) | type RepoMoveOptions struct method QueryEncode (line 147) | func (opt *RepoMoveOptions) QueryEncode() string { method Repo (line 154) | func (c *client) Repo(repoID int64) (*Repo, error) { method RepoLookup (line 162) | func (c *client) RepoLookup(fullName string) (*Repo, error) { method RepoPost (line 170) | func (c *client) RepoPost(opt RepoPostOptions) (*Repo, error) { method RepoChown (line 179) | func (c *client) RepoChown(repoID int64) (*Repo, error) { method RepoRepair (line 187) | func (c *client) RepoRepair(repoID int64) error { method RepoPatch (line 193) | func (c *client) RepoPatch(repoID int64, in *RepoPatch) (*Repo, error) { method RepoDel (line 201) | func (c *client) RepoDel(repoID int64) error { method RepoMove (line 208) | func (c *client) RepoMove(repoID int64, opt RepoMoveOptions) error { method Registry (line 215) | func (c *client) Registry(repoID int64, hostname string) (*Registry, err... method RegistryList (line 223) | func (c *client) RegistryList(repoID int64, opt RegistryListOptions) ([]... method RegistryCreate (line 232) | func (c *client) RegistryCreate(repoID int64, in *Registry) (*Registry, ... method RegistryUpdate (line 240) | func (c *client) RegistryUpdate(repoID int64, in *Registry) (*Registry, ... method RegistryDelete (line 248) | func (c *client) RegistryDelete(repoID int64, hostname string) error { method Secret (line 254) | func (c *client) Secret(repoID int64, secret string) (*Secret, error) { method SecretList (line 262) | func (c *client) SecretList(repoID int64, opt SecretListOptions) ([]*Sec... method SecretCreate (line 271) | func (c *client) SecretCreate(repoID int64, in *Secret) (*Secret, error) { method SecretUpdate (line 279) | func (c *client) SecretUpdate(repoID int64, in *Secret) (*Secret, error) { method SecretDelete (line 287) | func (c *client) SecretDelete(repoID int64, secret string) error { method CronList (line 293) | func (c *client) CronList(repoID int64, opt CronListOptions) ([]*Cron, e... method CronCreate (line 301) | func (c *client) CronCreate(repoID int64, in *Cron) (*Cron, error) { method CronUpdate (line 308) | func (c *client) CronUpdate(repoID int64, in *Cron) (*Cron, error) { method CronDelete (line 316) | func (c *client) CronDelete(repoID, cronID int64) error { method CronGet (line 322) | func (c *client) CronGet(repoID, cronID int64) (*Cron, error) { method Pipeline (line 329) | func (c *client) Pipeline(repoID, pipeline int64) (*Pipeline, error) { method PipelineLast (line 337) | func (c *client) PipelineLast(repoID int64, opt PipelineLastOptions) (*P... method PipelineList (line 347) | func (c *client) PipelineList(repoID int64, opt PipelineListOptions) ([]... method PipelineDelete (line 356) | func (c *client) PipelineDelete(repoID, pipeline int64) error { method PipelineCreate (line 363) | func (c *client) PipelineCreate(repoID int64, options *PipelineOptions) ... method PipelineStart (line 371) | func (c *client) PipelineStart(repoID, pipeline int64, opt PipelineStart... method PipelineStop (line 380) | func (c *client) PipelineStop(repoID, pipeline int64) error { method PipelineApprove (line 387) | func (c *client) PipelineApprove(repoID, pipeline int64) (*Pipeline, err... method PipelineDecline (line 395) | func (c *client) PipelineDecline(repoID, pipeline int64) (*Pipeline, err... method LogsPurge (line 403) | func (c *client) LogsPurge(repoID, pipeline int64) error { method Deploy (line 411) | func (c *client) Deploy(repoID, pipeline int64, opt DeployOptions) (*Pip... method StepLogEntries (line 420) | func (c *client) StepLogEntries(repoID, num, step int64) ([]*LogEntry, e... method StepLogsPurge (line 428) | func (c *client) StepLogsPurge(repoID, pipelineNumber, stepID int64) err... FILE: woodpecker-go/woodpecker/repo_test.go function TestPipelineList (line 27) | func TestPipelineList(t *testing.T) { function TestClientDeploy (line 104) | func TestClientDeploy(t *testing.T) { function TestClientPipelineStart (line 181) | func TestClientPipelineStart(t *testing.T) { function TestClient_PipelineLast (line 258) | func TestClient_PipelineLast(t *testing.T) { function TestClientRepoPost (line 329) | func TestClientRepoPost(t *testing.T) { function TestClientRepoMove (line 400) | func TestClientRepoMove(t *testing.T) { FILE: woodpecker-go/woodpecker/types.go type ApprovalMode (line 17) | type ApprovalMode method Valid (line 26) | func (mode ApprovalMode) Valid() bool { type User (line 40) | type User struct type TrustedConfiguration (line 51) | type TrustedConfiguration struct type Repo (line 58) | type Repo struct type TrustedConfigurationPatch (line 81) | type TrustedConfigurationPatch struct type RepoPatch (line 88) | type RepoPatch struct type PipelineError (line 100) | type PipelineError struct type Pipeline (line 108) | type Pipeline struct type Workflow (line 139) | type Workflow struct type Step (line 154) | type Step struct type Registry (line 168) | type Registry struct type Secret (line 178) | type Secret struct type Feed (line 190) | type Feed struct type Version (line 212) | type Version struct type QueueStats (line 218) | type QueueStats struct type Info (line 227) | type Info struct type LogLevel (line 236) | type LogLevel struct type LogEntry (line 241) | type LogEntry struct type Cron (line 251) | type Cron struct type PipelineOptions (line 264) | type PipelineOptions struct type Agent (line 270) | type Agent struct type Task (line 289) | type Task struct type Org (line 299) | type Org struct FILE: woodpecker-go/woodpecker/user.go constant pathSelf (line 23) | pathSelf = "%s/api/user" constant pathRepos (line 24) | pathRepos = "%s/api/user/repos" constant pathUsers (line 25) | pathUsers = "%s/api/users" constant pathUser (line 26) | pathUser = "%s/api/users/%s?forge_id=%d" type RepoListOptions (line 29) | type RepoListOptions struct method QueryEncode (line 38) | func (opt *RepoListOptions) QueryEncode() string { type UserListOptions (line 33) | type UserListOptions struct method Self (line 47) | func (c *client) Self() (*User, error) { method User (line 56) | func (c *client) User(login string, forgeID ...int64) (*User, error) { method UserList (line 66) | func (c *client) UserList(opt UserListOptions) ([]*User, error) { method UserPost (line 75) | func (c *client) UserPost(in *User) (*User, error) { method UserPatch (line 83) | func (c *client) UserPatch(in *User) (*User, error) { method UserDel (line 95) | func (c *client) UserDel(login string, forgeID ...int64) error { method RepoList (line 104) | func (c *client) RepoList(opt RepoListOptions) ([]*Repo, error) { FILE: woodpecker-go/woodpecker/user_test.go function TestClient_UserList (line 26) | func TestClient_UserList(t *testing.T) { function TestClient_UserPost (line 82) | func TestClient_UserPost(t *testing.T) { function TestClient_UserPatch (line 139) | func TestClient_UserPatch(t *testing.T) { function TestClient_UserDel (line 221) | func TestClient_UserDel(t *testing.T) { function TestClient_RepoList (line 283) | func TestClient_RepoList(t *testing.T) {