github.com/andresvia/terraform@v0.6.15-0.20160412045437-d51c75946785/command/counthookaction_string.go (about)

     1  // Code generated by "stringer -type=countHookAction hook_count_action.go"; DO NOT EDIT
     2  
     3  package command
     4  
     5  import "fmt"
     6  
     7  const _countHookAction_name = "countHookActionAddcountHookActionChangecountHookActionRemove"
     8  
     9  var _countHookAction_index = [...]uint8{0, 18, 39, 60}
    10  
    11  func (i countHookAction) String() string {
    12  	if i >= countHookAction(len(_countHookAction_index)-1) {
    13  		return fmt.Sprintf("countHookAction(%d)", i)
    14  	}
    15  	return _countHookAction_name[_countHookAction_index[i]:_countHookAction_index[i+1]]
    16  }