...

Source file src/sigs.k8s.io/cli-utils/pkg/apis/actuation/reconcilestatus_string.go

Documentation: sigs.k8s.io/cli-utils/pkg/apis/actuation

     1  // Code generated by "stringer -type=ReconcileStatus -linecomment"; DO NOT EDIT.
     2  
     3  package actuation
     4  
     5  import "strconv"
     6  
     7  func _() {
     8  	// An "invalid array index" compiler error signifies that the constant values have changed.
     9  	// Re-run the stringer command to generate them again.
    10  	var x [1]struct{}
    11  	_ = x[ReconcilePending-0]
    12  	_ = x[ReconcileSucceeded-1]
    13  	_ = x[ReconcileSkipped-2]
    14  	_ = x[ReconcileFailed-3]
    15  	_ = x[ReconcileTimeout-4]
    16  }
    17  
    18  const _ReconcileStatus_name = "PendingSucceededSkippedFailedTimeout"
    19  
    20  var _ReconcileStatus_index = [...]uint8{0, 7, 16, 23, 29, 36}
    21  
    22  func (i ReconcileStatus) String() string {
    23  	if i < 0 || i >= ReconcileStatus(len(_ReconcileStatus_index)-1) {
    24  		return "ReconcileStatus(" + strconv.FormatInt(int64(i), 10) + ")"
    25  	}
    26  	return _ReconcileStatus_name[_ReconcileStatus_index[i]:_ReconcileStatus_index[i+1]]
    27  }
    28  

View as plain text