Documentation
¶
Index ¶
- Constants
- func DestroyAllSharedProviders(ctx context.Context, runtime Runtime) error
- func DestroyProvider(ctx context.Context, runtime Runtime, m application.Manifest) error
- func EnsureProviderFiles(m application.Manifest) (ProviderFiles, Placement, error)
- func ExistingProviderFiles(m application.Manifest) (ProviderFiles, Placement, error)
- func NetworkEndpoint(p Placement) string
- func ProviderEndpoint(files ProviderFiles) (string, error)
- func StopProvider(ctx context.Context, runtime Runtime, m application.Manifest) error
- func VerifyTrace(ctx context.Context, m application.Manifest, traceID string) 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) Verify(ctx context.Context, _ capability.Resource, _ capability.Binding) error
- type Placement
- type ProviderFiles
- type Runtime
Constants ¶
View Source
const ( ProviderImage = "docker.io/grafana/tempo:3.0.2" ProviderService = "tempo" )
Variables ¶
This section is empty.
Functions ¶
func DestroyProvider ¶
func EnsureProviderFiles ¶
func EnsureProviderFiles(m application.Manifest) (ProviderFiles, Placement, error)
func ExistingProviderFiles ¶
func ExistingProviderFiles(m application.Manifest) (ProviderFiles, Placement, error)
func NetworkEndpoint ¶
func ProviderEndpoint ¶
func ProviderEndpoint(files ProviderFiles) (string, error)
func StopProvider ¶
func VerifyTrace ¶
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
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) 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)
type ProviderFiles ¶
Click to show internal directories.
Click to hide internal directories.