package
0.10.0
Repository: https://github.com/go-vela/mock.git
Documentation: pkg.go.dev

# Functions

FakeHandler returns an http.Handler that is capable of handling Vela API requests and returning mock responses.

# Constants

BuildLogsResp represents a JSON return for build logs.
BuildQueueResp represents a JSON return for build queue.
BuildResp represents a JSON return for a single build.
BuildsResp represents a JSON return for one to many builds.
CompileResp represents a YAML return for an compiled pipeline.
DeploymentResp represents a JSON return for a single build.
DeploymentsResp represents a JSON return for one to many builds.
ExpandResp represents a YAML return for an expanded pipeline.
HookResp represents a JSON return for a single hook.
HooksResp represents a JSON return for one to many hooks.
LogResp represents a JSON return for a single log.
PipelineResp represents a YAML return for a single pipeline.
RepoResp represents a JSON return for a single repo.
ReposResp represents a JSON return for one to many repos.
SecretResp represents a JSON return for a single secret.
SecretsResp represents a JSON return for one to many secrets.
ServiceResp represents a JSON return for a single service.
ServicesResp represents a JSON return for one to many services.
StepResp represents a JSON return for a single step.
StepsResp represents a JSON return for one to many steps.
TemplateResp represents a YAML return for templates in a pipeline.
TokenRefreshResp represents a JSON return for a token refresh.
UserResp represents a JSON return for a single user.
UsersResp represents a JSON return for one to many users.
WorkerResp represents a JSON return for a single worker.
WorkersResp represents a JSON return for one to many workers.