Documentation
¶
Overview ¶
Package virtual provides functions/resources to define virtual fields (fields which don't exist in k8s but should be visible in the API) on resources
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransformBuilder ¶
type TransformBuilder struct {
// contains filtered or unexported fields
}
TransformBuilder builds transform functions for specified GVKs through GetTransformFunc
func NewTransformBuilder ¶
func NewTransformBuilder(cache common.SummaryCache) *TransformBuilder
NewTransformBuilder returns a TransformBuilder using the given summary cache
func (*TransformBuilder) GetTransformFunc ¶
func (t *TransformBuilder) GetTransformFunc(gvk schema.GroupVersionKind) cache.TransformFunc
GetTransformFunc returns the func to transform a raw object into a fixed object, if needed
Directories
¶
Path | Synopsis |
---|---|
Package common provides cache.TransformFunc's which are common to all types
|
Package common provides cache.TransformFunc's which are common to all types |
Package common provides cache.TransformFunc's for /v1 Event objects
|
Package common provides cache.TransformFunc's for /v1 Event objects |
Click to show internal directories.
Click to hide internal directories.