Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
Renderer is the renderers.Renderer implementation for the kubernetesmetadata extension.
func (*Renderer) GetDependencyIDs ¶
func (r *Renderer) GetDependencyIDs(ctx context.Context, resource v1.DataModelInterface) ([]resources.ID, []resources.ID, error)
GetDependencyIDs gets the IDs of the resources that the given resource depends on.
func (*Renderer) Render ¶
func (r *Renderer) Render(ctx context.Context, dm v1.DataModelInterface, options renderers.RenderOptions) (renderers.RendererOutput, error)
Render checks if the given DataModelInterface is a ContainerResource, extracts the KubernetesMetadata extension, and processes annotations and labels for Kubernetes resources. It returns an error if the DataModelInterface is not a ContainerResource.
Click to show internal directories.
Click to hide internal directories.