Documentation
¶
Overview ¶
Package fixtures contains test datadog package fixtures.
Package fixtures contains test datadog package fixtures.
Index ¶
- Variables
- func AssertEqualFS(t *testing.T, expected fs.FS, actual fs.FS)
- type Fixture
- type Server
- func (s *Server) Client() *http.Client
- func (s *Server) Close()
- func (s *Server) ConfigFS(f Fixture) fs.FS
- func (s *Server) ExtensionsFS(f Fixture) map[string]fs.FS
- func (s *Server) PackageFS(f Fixture) fs.FS
- func (s *Server) PackageLayoutURL(f Fixture) string
- func (s *Server) PackageURL(f Fixture) string
- func (s *Server) URL() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // FixtureSimpleV1 is a simple package fixture with version v1. FixtureSimpleV1 = Fixture{ Package: "simple", Version: "v1", // contains filtered or unexported fields } // FixtureSimpleV1WithExtension is a simple package fixture with version v1 and an extension. FixtureSimpleV1WithExtension = Fixture{ Package: "simple", Version: "v1", // contains filtered or unexported fields } // FixtureSimpleV2 is a simple package fixture with version v2. FixtureSimpleV2 = Fixture{ Package: "simple", Version: "v2", // contains filtered or unexported fields } // FixtureSimpleV1Linux2Amd128 is a simple package fixture with version v1 for linux/amd128. FixtureSimpleV1Linux2Amd128 = Fixture{ Package: "simple", Version: "v1", // contains filtered or unexported fields } )
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a test fixtures server.
func (*Server) ExtensionsFS ¶ added in v0.77.0
ExtensionsFS returns the extensions FS for the given fixture.
func (*Server) PackageLayoutURL ¶
PackageLayoutURL returns the package layout URL for the given fixture.
func (*Server) PackageURL ¶
PackageURL returns the package URL for the given fixture.
Click to show internal directories.
Click to hide internal directories.