...

Source file src/sigs.k8s.io/gateway-api/conformance/apis/v1alpha1/result.go

Documentation: sigs.k8s.io/gateway-api/conformance/apis/v1alpha1

     1  /*
     2  Copyright 2023 The Kubernetes Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  package v1alpha1
    18  
    19  // Result is a simple high-level summary describing the conclusion of a test
    20  // run.
    21  type Result string
    22  
    23  var (
    24  	// Success indicates that the test run concluded in all required tests
    25  	// passing.
    26  	Success Result = "success"
    27  
    28  	// Partial indicates that the test run concluded in some of the required
    29  	// tests passing without any failures, but some were skipped.
    30  	Partial Result = "partial"
    31  
    32  	// Failure indicates that the test run concluded in one ore more tests
    33  	// failing to complete successfully.
    34  	Failure Result = "failure"
    35  )
    36  

View as plain text