rendering

package
v0.0.0-...-dc0ecbe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type MCOARendererOptions

type MCOARendererOptions struct {
	DisableCMAORender bool
}

type MCORenderer

type MCORenderer struct {
	// contains filtered or unexported fields
}

func NewMCORenderer

func NewMCORenderer(multipleClusterMonitoring *obv1beta2.MultiClusterObservability, kubeClient client.Client, imageClient imagev1client.ImageV1Interface) *MCORenderer

func (*MCORenderer) HasImagestream

func (r *MCORenderer) HasImagestream() bool

func (*MCORenderer) MCOAResources

func (r *MCORenderer) MCOAResources(namespace string, labels map[string]string) ([]*unstructured.Unstructured, error)

func (*MCORenderer) NamespaceAndLabels

func (r *MCORenderer) NamespaceAndLabels() (string, map[string]string)

func (*MCORenderer) Render

func (r *MCORenderer) Render() ([]*unstructured.Unstructured, error)

func (*MCORenderer) RenderThanosConfig

func (r *MCORenderer) RenderThanosConfig(res *resource.Resource,
	namespace string, labels map[string]string) (*unstructured.Unstructured, error)

func (*MCORenderer) WithRendererOptions

func (r *MCORenderer) WithRendererOptions(options *RendererOptions) *MCORenderer

type RendererOptions

type RendererOptions struct {
	MCOAOptions MCOARendererOptions
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL