petstore

package
v0.0.0-...-3736fb9 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider is the entry point for defining the Terraform provider, and will create a new Pet Store provider.

Types

type PetType

type PetType string
const (
	DogPetType     PetType = "dog"
	CatPetType     PetType = "cat"
	BirdPetType    PetType = "bird"
	ReptilePetType PetType = "reptile"
)

Directories

Path Synopsis
Client provides an API client to the petstore service.
Client provides an API client to the petstore service.
internal/server/errors
Package errors is a replacement for the golang standard library "errors".
Package errors is a replacement for the golang standard library "errors".
internal/server/log
Package log is a replacement for the standard library log package that logs to OTEL spans contained in Context objects.
Package log is a replacement for the standard library log package that logs to OTEL spans contained in Context objects.
internal/server/storage/mem
Package mem contains an in-memory storage implementation of storage.Data.
Package mem contains an in-memory storage implementation of storage.Data.
internal/server/telemetry/metrics
Package metrics provides setup of metrics that can be used internally to measure various application states.
Package metrics provides setup of metrics that can be used internally to measure various application states.
internal/server/telemetry/tracing
Package tracing provides functions for starting and stopping our Open Telemetry tracing.
Package tracing provides functions for starting and stopping our Open Telemetry tracing.
internal/server/telemetry/tracing/sampler
Package sampler offers a Sampler that looks for a TraceID.Valid() == true or a gRPC metadata key called "trace" and if they exist will sample.
Package sampler offers a Sampler that looks for a TraceID.Valid() == true or a gRPC metadata key called "trace" and if they exist will sample.

Jump to

Keyboard shortcuts

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