Documentation
¶
Index ¶
- Constants
- func DestroyAllSharedProviders(ctx context.Context, runtime Runtime) error
- func DestroyAllSharedProvidersAt(ctx context.Context, runtime Runtime, dataDir, namespace string) error
- func DestroyProvider(ctx context.Context, runtime Runtime, m application.Manifest) error
- func DestroyProviderAt(ctx context.Context, runtime Runtime, m application.Manifest, ...) error
- func EnsureProviderFiles(ctx context.Context, issuer serviceaccess.Issuer, m application.Manifest) (ProviderFiles, Placement, error)
- func EnsureProviderFilesAt(ctx context.Context, issuer serviceaccess.Issuer, dataDir, namespace string, ...) (ProviderFiles, Placement, error)
- func ExistingProviderFiles(m application.Manifest) (ProviderFiles, Placement, error)
- func ExistingProviderFilesAt(dataDir, namespace string, m application.Manifest) (ProviderFiles, Placement, error)
- func ExistingRuntimeInventoryAt(dataDir, namespace string, m application.Manifest, ...) (ProviderFiles, Placement, []bhruntime.ProjectResource, error)
- func ExistingRuntimeUpgradeRequiredAt(dataDir, namespace string, m application.Manifest, ...) (bool, error)
- func NetworkEndpoint(p Placement) string
- func ProviderEndpoint(files ProviderFiles) (string, error)
- func RetireRuntimeAt(ctx context.Context, provider bhruntime.RuntimeServiceRetirementProvider, ...) (bhruntime.RuntimeRetirement, error)
- func StopProvider(ctx context.Context, runtime Runtime, m application.Manifest) error
- func StopProviderAt(ctx context.Context, runtime Runtime, m application.Manifest, ...) error
- func VerifyTrace(ctx context.Context, m application.Manifest, traceID string) error
- func VerifyTraceAt(ctx context.Context, m application.Manifest, ...) error
- type Driver
- func (d *Driver) Bind(context.Context, capability.Resource, capability.Binding) error
- func (d *Driver) Descriptor() capability.Provider
- func (d *Driver) Preflight(_ context.Context, resource capability.Resource, _ capability.Binding) error
- func (d *Driver) Provision(ctx context.Context, _ capability.Resource, _ capability.Binding) error
- func (d *Driver) RotateAccessPKI(ctx context.Context) error
- func (d *Driver) RotateStorageCredentials(ctx context.Context) error
- func (d *Driver) Verify(ctx context.Context, _ capability.Resource, _ capability.Binding) error
- type Placement
- func PlacementFor(m application.Manifest) (Placement, error)
- func PlacementForAt(dataDir, namespace string, m application.Manifest) (Placement, error)
- func Provision(ctx context.Context, runtime Runtime, issuer serviceaccess.Issuer, ...) (Placement, error)
- func ProvisionAt(ctx context.Context, runtime Runtime, issuer serviceaccess.Issuer, ...) (Placement, error)
- type ProviderFiles
- type Runtime
- type TempoInstance
- type TempoRealization
Constants ¶
View Source
const ( ProviderImage = "docker.io/grafana/tempo:3.1.0" ProviderService = "tempo" )
Variables ¶
This section is empty.
Functions ¶
func DestroyAllSharedProvidersAt ¶ added in v0.4.15
func DestroyProvider ¶
func DestroyProviderAt ¶ added in v0.4.15
func EnsureProviderFiles ¶
func EnsureProviderFiles(ctx context.Context, issuer serviceaccess.Issuer, m application.Manifest) (ProviderFiles, Placement, error)
func EnsureProviderFilesAt ¶ added in v0.4.15
func EnsureProviderFilesAt(ctx context.Context, issuer serviceaccess.Issuer, dataDir, namespace string, m application.Manifest) (ProviderFiles, Placement, error)
func ExistingProviderFiles ¶
func ExistingProviderFiles(m application.Manifest) (ProviderFiles, Placement, error)
func ExistingProviderFilesAt ¶ added in v0.4.15
func ExistingProviderFilesAt(dataDir, namespace string, m application.Manifest) (ProviderFiles, Placement, error)
func ExistingRuntimeInventoryAt ¶ added in v0.4.25
func ExistingRuntimeInventoryAt(dataDir, namespace string, m application.Manifest, placement capability.ProviderPlacement) (ProviderFiles, Placement, []bhruntime.ProjectResource, error)
func ExistingRuntimeUpgradeRequiredAt ¶ added in v0.4.25
func ExistingRuntimeUpgradeRequiredAt(dataDir, namespace string, m application.Manifest, placement capability.ProviderPlacement) (bool, error)
Read the existing protected renderer. A retained previous image is a planned provider update, never an implicit change authorized by a generic apply.
func NetworkEndpoint ¶
func ProviderEndpoint ¶
func ProviderEndpoint(files ProviderFiles) (string, error)
func RetireRuntimeAt ¶ added in v0.4.25
func RetireRuntimeAt(ctx context.Context, provider bhruntime.RuntimeServiceRetirementProvider, dataDir, namespace string, m application.Manifest, placement capability.ProviderPlacement) (bhruntime.RuntimeRetirement, error)
func StopProvider ¶
func StopProviderAt ¶ added in v0.4.15
func VerifyTrace ¶
func VerifyTraceAt ¶ added in v0.4.15
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func NewDriver ¶
func NewDriver(runtime Runtime, app application.Manifest, issuer serviceaccess.Issuer) *Driver
func NewDriverAt ¶ added in v0.4.15
func NewDriverAt(runtime Runtime, app application.Manifest, issuer serviceaccess.Issuer, dataDir, namespace string) *Driver
func NewDriverWithRealization ¶ added in v0.4.19
func NewDriverWithRealization(realization TempoRealization, app application.Manifest) *Driver
func (*Driver) Bind ¶
func (d *Driver) Bind(context.Context, capability.Resource, capability.Binding) error
func (*Driver) Descriptor ¶
func (d *Driver) Descriptor() capability.Provider
func (*Driver) Preflight ¶
func (d *Driver) Preflight(_ context.Context, resource capability.Resource, _ capability.Binding) error
func (*Driver) Provision ¶
func (d *Driver) Provision(ctx context.Context, _ capability.Resource, _ capability.Binding) error
func (*Driver) RotateAccessPKI ¶ added in v0.4.21
RotateAccessPKI rotates Tempo's stable HTTPS/mTLS query identity with overlap-safe trust replacement and explicit old-CA retirement.
func (*Driver) RotateStorageCredentials ¶ added in v0.4.21
RotateStorageCredentials rotates Tempo's provider-owned S3 identity using the same overlap-safe platform-bucket contract as Loki.
func (*Driver) Verify ¶
func (d *Driver) Verify(ctx context.Context, _ capability.Resource, _ capability.Binding) error
type Placement ¶
type Placement struct {
Scope capability.ProviderScope
Project string
Network string
Volume string
Dir string
SharingBoundary string
OwnerApplication string
}
func PlacementFor ¶
func PlacementFor(m application.Manifest) (Placement, error)
func PlacementForAt ¶ added in v0.4.15
func PlacementForAt(dataDir, namespace string, m application.Manifest) (Placement, error)
func Provision ¶
func Provision(ctx context.Context, runtime Runtime, issuer serviceaccess.Issuer, m application.Manifest) (Placement, error)
func ProvisionAt ¶ added in v0.4.15
func ProvisionAt(ctx context.Context, runtime Runtime, issuer serviceaccess.Issuer, m application.Manifest, dataDir, namespace string) (Placement, error)
type ProviderFiles ¶
type TempoInstance ¶ added in v0.4.19
Click to show internal directories.
Click to hide internal directories.