github.com/rancher/types@v0.0.0-20220328215343-4370ff10ecd5/condition/constants.go (about)

     1  package condition
     2  
     3  import (
     4  	cond "github.com/rancher/norman/condition"
     5  )
     6  
     7  const (
     8  	// transition type
     9  
    10  	Created      cond.Cond = "Created"
    11  	RunCompleted cond.Cond = "RunCompleted"
    12  
    13  	// done type
    14  
    15  	Completed cond.Cond = "Completed"
    16  	Ready     cond.Cond = "Ready"
    17  
    18  	// error type
    19  
    20  	Failed cond.Cond = "Failed"
    21  
    22  	// generic type
    23  	// these will not trigger any state change on the object
    24  
    25  	Alerted cond.Cond = "Alerted"
    26  )