Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceTimestamp ¶
type ResourceTimestamp interface { // CreationTimestamp is a timestamp representing the server time when this object was created. CreationTimestamp() time.Time // DeletionTimestamp is a timestamp at which this resource will be deleted. This field is set by the server when a // graceful deletion is requested. DeletionTimestamp() *time.Time }
ResourceTimestamp provides methods to access the creation and deletion timestamps of a Resource.
func NewResourceTimestamp ¶
func NewResourceTimestamp(creation time.Time, deletion *time.Time) ResourceTimestamp
NewResourceTimestamp is used to initialize a new ResourceTimestamp implementation.
Click to show internal directories.
Click to hide internal directories.