Documentation ¶
Index ¶
- func MCOAEnabled(cr *obv1beta2.MultiClusterObservability) bool
- type MCOARendererOptions
- type MCORenderer
- func (r *MCORenderer) HasImagestream() bool
- func (r *MCORenderer) MCOAResources(namespace string, labels map[string]string) ([]*unstructured.Unstructured, error)
- func (r *MCORenderer) NamespaceAndLabels() (string, map[string]string)
- func (r *MCORenderer) Render() ([]*unstructured.Unstructured, error)
- func (r *MCORenderer) RenderThanosConfig(res *resource.Resource, namespace string, labels map[string]string) (*unstructured.Unstructured, error)
- func (r *MCORenderer) WithRendererOptions(options *RendererOptions) *MCORenderer
- type RendererOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MCOAEnabled ¶
func MCOAEnabled(cr *obv1beta2.MultiClusterObservability) bool
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
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.