Documentation
¶
Overview ¶
Package model provides domain models for the opampcommander application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶ added in v0.1.24
type Condition struct {
// Type is the type of the condition.
Type ConditionType
// LastTransitionTime is the last time the condition transitioned.
LastTransitionTime time.Time
// Status is the status of the condition.
Status ConditionStatus
// Reason is the identifier of the user or system that triggered the condition.
Reason string
// Message is a human readable message indicating details about the condition.
Message string
}
Condition represents a condition of a resource.
type ConditionStatus ¶ added in v0.1.24
type ConditionStatus string
ConditionStatus represents the status of a condition.
const ( // ConditionStatusTrue represents a true condition status. ConditionStatusTrue ConditionStatus = "True" // ConditionStatusFalse represents a false condition status. ConditionStatusFalse ConditionStatus = "False" // ConditionStatusUnknown represents an unknown condition status. ConditionStatusUnknown ConditionStatus = "Unknown" )
type ConditionType ¶ added in v0.1.24
type ConditionType string
ConditionType represents the type of a condition.
const ( // ConditionTypeCreated represents the condition when the resource was created. ConditionTypeCreated ConditionType = "Created" // ConditionTypeUpdated represents the condition when the resource was updated. ConditionTypeUpdated ConditionType = "Updated" // ConditionTypeDeleted represents the condition when the resource was deleted. ConditionTypeDeleted ConditionType = "Deleted" // ConditionTypeAlive represents the condition when the server is alive. ConditionTypeAlive ConditionType = "Alive" )
type GetOptions ¶ added in v0.1.30
type GetOptions struct {
IncludeDeleted bool
}
GetOptions is a struct that holds options for getting a single resource.
type ListOptions ¶ added in v0.1.9
ListOptions is a struct that holds options for listing resources.
type ListResponse ¶ added in v0.1.9
ListResponse is a generic struct that represents a paginated response for listing resources.
Click to show internal directories.
Click to hide internal directories.