github.com/opentofu/opentofu@v1.7.1/internal/addrs/moveendpointkind_string.go (about)

     1  // Code generated by "stringer -type MoveEndpointKind"; DO NOT EDIT.
     2  
     3  package addrs
     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[MoveEndpointModule-77]
    12  	_ = x[MoveEndpointResource-82]
    13  }
    14  
    15  const (
    16  	_MoveEndpointKind_name_0 = "MoveEndpointModule"
    17  	_MoveEndpointKind_name_1 = "MoveEndpointResource"
    18  )
    19  
    20  func (i MoveEndpointKind) String() string {
    21  	switch {
    22  	case i == 77:
    23  		return _MoveEndpointKind_name_0
    24  	case i == 82:
    25  		return _MoveEndpointKind_name_1
    26  	default:
    27  		return "MoveEndpointKind(" + strconv.FormatInt(int64(i), 10) + ")"
    28  	}
    29  }