Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
catalog
Package main provides a CLI driven tool to generate the test catalog.
|
Package main provides a CLI driven tool to generate the test catalog. |
catalog/cmd
Package cmd provides a CLI implementation for generating the test catalog in JSON or markdown.
|
Package cmd provides a CLI implementation for generating the test catalog in JSON or markdown. |
claim
Package main provides a CLI driven tool to append test suite result to existing claim file.
|
Package main provides a CLI driven tool to append test suite result to existing claim file. |
generic
Package main introduces an executable (jsontest) used to run JSON based tests.
|
Package main introduces an executable (jsontest) used to run JSON based tests. |
oc
Package main provides an example of spawning an OpenShift client and using it to ping a target IP address.
|
Package main provides an example of spawning an OpenShift client and using it to ping a target IP address. |
ping
Package main provides an example of pinging a target IP address.
|
Package main provides an example of pinging a target IP address. |
ssh
Package main provides an example of establishing an SSH session
|
Package main provides an example of establishing an SSH session |
internal
|
|
api
Package api provides client to make rest api call to RH catalog and container published image database.
|
Package api provides client to make rest api call to RH catalog and container published image database. |
pkg
|
|
config
Package config provides test-network-function configuration along with a config pool for aggregating configuration.
|
Package config provides test-network-function configuration along with a config pool for aggregating configuration. |
junit
Package junit provides utility conversion methods for encoding JUnit XML results to generic JSON.
|
Package junit provides utility conversion methods for encoding JUnit XML results to generic JSON. |
tnf
Package tnf contains the core Test runner interfaces.
|
Package tnf contains the core Test runner interfaces. |
tnf/config
Package config provides configurations handler for cnf test framework.
|
Package config provides configurations handler for cnf test framework. |
tnf/dependencies
Package dependencies provides constants related to test runtime dependencies.
|
Package dependencies provides constants related to test runtime dependencies. |
tnf/handlers
Package handlers provides a variety of Test Handler implementations.
|
Package handlers provides a variety of Test Handler implementations. |
tnf/handlers/base/redhat
Package redhat provides a tnf.Test implementation which tests whether a container is based on Red Hat technologies.
|
Package redhat provides a tnf.Test implementation which tests whether a container is based on Red Hat technologies. |
tnf/handlers/container
Package container provides functionality to test pod and container level checks.
|
Package container provides functionality to test pod and container level checks. |
tnf/handlers/generic
Package generic provides a simplified interface for creating a tnf.Test and corresponding reel.Handler from generic JSON input.
|
Package generic provides a simplified interface for creating a tnf.Test and corresponding reel.Handler from generic JSON input. |
tnf/handlers/generic/assertion
Package assertion defines the ability for users to include assertions on the regular expression matched in ReelMatch.
|
Package assertion defines the ability for users to include assertions on the regular expression matched in ReelMatch. |
tnf/handlers/generic/condition
Package condition defines the Condition Evaluate contract.
|
Package condition defines the Condition Evaluate contract. |
tnf/handlers/generic/condition/intcondition
Package intcondition exposes some common integer condition implementations.
|
Package intcondition exposes some common integer condition implementations. |
tnf/handlers/generic/condition/stringcondition
Package stringcondition exposes some common string condition implementations.
|
Package stringcondition exposes some common string condition implementations. |
tnf/handlers/hostname
Package hostname provides a hostname discovery test utilizing the `hostname` Unix command.
|
Package hostname provides a hostname discovery test utilizing the `hostname` Unix command. |
tnf/handlers/ipaddr
Package ipaddr provides an ip address polling test utilizing the `ip` Unix command.
|
Package ipaddr provides an ip address polling test utilizing the `ip` Unix command. |
tnf/handlers/node
Package node provides a tnf.Test implementation for getting OpenShift node information for a cluster.
|
Package node provides a tnf.Test implementation for getting OpenShift node information for a cluster. |
tnf/handlers/operator
Package operator provides functionality to run tests on operators.
|
Package operator provides functionality to run tests on operators. |
tnf/handlers/ping
Package ping provides a test ICMPv4 implementation using the `ping` Unix command.
|
Package ping provides a test ICMPv4 implementation using the `ping` Unix command. |
tnf/identifier
Package identifier provides a test identifier definition for tnf.Test implementations and a catalog of known tests.
|
Package identifier provides a test identifier definition for tnf.Test implementations and a catalog of known tests. |
tnf/interactive
Package interactive provides common implementations of the expect.Expecter interface including oc, shell, and ssh.
|
Package interactive provides common implementations of the expect.Expecter interface including oc, shell, and ssh. |
tnf/interactive/mocks
Package mock_expect is a generated GoMock package.
|
Package mock_expect is a generated GoMock package. |
tnf/reel
Package reel runs a target subprocess with programmatic control over interaction with it.
|
Package reel runs a target subprocess with programmatic control over interaction with it. |
tnf/testcases
Package testcases defines various test case templates configurations.
|
Package testcases defines various test case templates configurations. |
tnf/testcases/data/cnf
Package cnf defines various test case templates definitions.
|
Package cnf defines various test case templates definitions. |
tnf/testcases/data/operator
Package operator defines various test case templates definitions.
|
Package operator defines various test case templates definitions. |
Package suite provides the entrypoint for running ginkgo tests and producing a claim file.
|
Package suite provides the entrypoint for running ginkgo tests and producing a claim file. |
container
Package container provides Ginkgo tests used to validate container CNF facets.
|
Package container provides Ginkgo tests used to validate container CNF facets. |
generic
Package generic contains generally applicable tests, and utilities for managing their configuration.
|
Package generic contains generally applicable tests, and utilities for managing their configuration. |
operator
Package operator provides Ginkgo tests used to validate operator CNF facets.
|
Package operator provides Ginkgo tests used to validate operator CNF facets. |
Click to show internal directories.
Click to hide internal directories.