discovery

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LokiInstance

type LokiInstance struct {
	Namespace string `json:"lokiNamespace"`
	Name      string `json:"lokiName"`
	Status    string `json:"status"`
	// contains filtered or unexported fields
}

func FindInstanceByName

func FindInstanceByName(instances []LokiInstance, namespace, name string) (LokiInstance, error)

func ListInstances

func ListInstances(ctx context.Context, k8sClient dynamic.Interface, useRoute bool) ([]LokiInstance, error)

func (*LokiInstance) GetURL

func (l *LokiInstance) GetURL() string

type LokiStack

type LokiStack struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              LokiStackSpec   `json:"spec"`
	Status            LokiStackStatus `json:"status"`
}

LokiStack represents the LokiStack CR.

type LokiStackSpec

type LokiStackSpec struct {
	Tenants *LokiStackTenants `json:"tenants,omitempty"`
}

type LokiStackStatus

type LokiStackStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

type LokiStackTenants

type LokiStackTenants struct {
	Mode string `json:"mode,omitempty"`
}

type Route

type Route struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              RouteSpec `json:"spec"`
}

Route represents the OpenShift Route CR.

type RouteSpec

type RouteSpec struct {
	Host string `json:"host,omitempty"`
}

Jump to

Keyboard shortcuts

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