Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func YamlRenderString ¶
Types ¶
type Resource ¶
type Resource struct { VersionsMap map[string]*ResourceVersion Versions []*ResourceVersion }
func NewResource ¶
func NewResource() *Resource
func (*Resource) CreateOrGetVersion ¶
func (r *Resource) CreateOrGetVersion(version string) *ResourceVersion
func (*Resource) TableColumnDefinition ¶
func (r *Resource) TableColumnDefinition() []metav1.TableColumnDefinition
type ResourceVersion ¶
type ResourceVersion struct { Version string Timestamp time.Time EventType watch.EventType Object *unstructured.Unstructured Table *metav1.Table }
func NewResourceVersion ¶
func NewResourceVersion(version string, timestamp time.Time) *ResourceVersion
Click to show internal directories.
Click to hide internal directories.