Help us shape the future of Go! Take the 2026 Go Developer Survey

clients

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package clients provides a way to create clients from the Grafana Crossplane providerConfig using the Grafana Terraform provider

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	GrafanaAPI       *goapi.GrafanaHTTPAPI
	GrafanaCloudAPI  *gcom.APIClient
	SMAPI            *SMAPI.Client
	MLAPI            *mlapi.Client
	OnCallClient     *onCallAPI.Client
	SLOClient        *slo.APIClient
	AssertsAPIClient *assertsapi.APIClient
	K6APIClient      *k6.APIClient
}

Client struct with all known clients (~copy/paste from TF provider)

func NewClientsFromProviderConfig

func NewClientsFromProviderConfig(pc *v1beta1.ProviderConfig, credentials map[string]any) (*Client, error)

NewClientsFromProviderConfig creates a Client struct from a Crossplane ProviderConfig/credentials

Jump to

Keyboard shortcuts

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