mirror of https://github.com/fluxcd/cli-utils.git
31 lines
945 B
Go
31 lines
945 B
Go
// Copyright 2021 The Kubernetes Authors.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Code generated by "stringer -type=ApplyEventOperation"; DO NOT EDIT.
|
|
|
|
package event
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[ApplyUnspecified-0]
|
|
_ = x[ServersideApplied-1]
|
|
_ = x[Created-2]
|
|
_ = x[Unchanged-3]
|
|
_ = x[Configured-4]
|
|
}
|
|
|
|
const _ApplyEventOperation_name = "ApplyUnspecifiedServersideAppliedCreatedUnchangedConfigured"
|
|
|
|
var _ApplyEventOperation_index = [...]uint8{0, 16, 33, 40, 49, 59}
|
|
|
|
func (i ApplyEventOperation) String() string {
|
|
if i < 0 || i >= ApplyEventOperation(len(_ApplyEventOperation_index)-1) {
|
|
return "ApplyEventOperation(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _ApplyEventOperation_name[_ApplyEventOperation_index[i]:_ApplyEventOperation_index[i+1]]
|
|
}
|