package
80.0.0
Repository: https://github.com/taskcluster/taskcluster.git
Documentation: pkg.go.dev

# README

Mock Services Design

This package contains mock service implementations for worker tests.

Design goals:

  1. All tests runnable against mocks or a real deployed cluster
  2. Tests to run against mocks by default, but configurable to run against a real taskcluster deployment
  3. Mocks to service HTTP requests on localhost, emulating a real worker environment, in order to maximise test coverage of worker code
  4. All worker required network services to be mocked, including AWS S3 upload (for artifact publishing), cloud metadata endpoints and taskcluster HTTP endpoints
  5. Tests requiring external conditions hard to trigger in a real deployment may bypass requirement for compatibility with a real taskcluster deployment

At the current time, the following are NOT design goals, due to the increased complexity to implement. These may become design goals in the future.

  1. Mock services to be usable by both generic-worker and docker-worker tests
  2. Sharable tests between generic-worker and docker-worker

# Packages

No description provided by the author
The interfaces in this package contain the methods of each taskcluster service, allowing the use of fakes that provide the same methods.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author