Documentation
¶
Overview ¶
Package claim provides a test-network-definition claim schema.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Claim ¶
type Claim struct {
// Tests within test-network-function often require configuration. For example, the generic test suite requires listing all CNF containers. This information is used to derive per-container IP address information, which is then used as input to the connectivity test suite. Test suites within test-network-function may use multiple configurations, but each with a unique name.
Configurations map[string]interface{} `json:"configurations"`
Metadata *Metadata `json:"metadata"`
// An OpenShift cluster is composed of an arbitrary number of Nodes used for platform and application services. Since a claim must be reproducible, a variety of per-Node information must be collected and stored in the claim. Node names are unique within a given OpenShift cluster.
Nodes map[string]interface{} `json:"nodes"`
// The test-network-function test results. Results are a JSON representation of the JUnit output.
Results map[string]interface{} `json:"results"`
Versions *Versions `json:"versions"`
}
Claim
func (*Claim) MarshalJSON ¶
func (*Claim) UnmarshalJSON ¶
type Metadata ¶
type Metadata struct {
// The UTC end time of a claim evaluation. This is recorded when the test-network-function test suite completes.
EndTime string `json:"endTime"`
// The UTC start time of a claim evaluation. This is recorded when the test-network-function test suite is invoked.
StartTime string `json:"startTime"`
}
Metadata
func (*Metadata) MarshalJSON ¶
func (*Metadata) UnmarshalJSON ¶
type Root ¶
type Root struct {
Claim *Claim `json:"claim"`
}
Root A test-network-function claim is an attestation of the tests performed, the results and the various configurations. Since a claim must be reproducible, it also includes an overview of the systems under test and their physical configurations.
func (*Root) MarshalJSON ¶
func (*Root) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.