Documentation ¶
Index ¶
- func Error(reason string, err error) error
- type Cond
- func (c Cond) CreateUnknownIfNotExists(obj interface{})
- func (c Cond) False(obj interface{})
- func (c Cond) GetLastUpdated(obj interface{}) string
- func (c Cond) GetMessage(obj interface{}) string
- func (c Cond) GetReason(obj interface{}) string
- func (c Cond) GetStatus(obj interface{}) string
- func (c Cond) IsFalse(obj interface{}) bool
- func (c Cond) IsTrue(obj interface{}) bool
- func (c Cond) IsUnknown(obj interface{}) bool
- func (c Cond) LastUpdated(obj interface{}, ts string)
- func (c Cond) MatchesError(obj interface{}, reason string, err error) bool
- func (c Cond) Message(obj interface{}, message string)
- func (c Cond) Reason(obj interface{}, reason string)
- func (c Cond) SetError(obj interface{}, reason string, err error)
- func (c Cond) SetMessageIfBlank(obj interface{}, message string)
- func (c Cond) SetStatus(obj interface{}, status string)
- func (c Cond) SetStatusBool(obj interface{}, val bool)
- func (c Cond) True(obj interface{})
- func (c Cond) Unknown(obj interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cond ¶
type Cond string
func (Cond) CreateUnknownIfNotExists ¶
func (c Cond) CreateUnknownIfNotExists(obj interface{})
func (Cond) GetLastUpdated ¶
func (Cond) GetMessage ¶
func (Cond) LastUpdated ¶
func (Cond) MatchesError ¶
func (Cond) SetMessageIfBlank ¶
func (Cond) SetStatusBool ¶
Click to show internal directories.
Click to hide internal directories.