pinpoint

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package pinpoint includes all proto/service definitions for the Pinpoint service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractJobID

func ExtractJobID(id string) (string, error)

func FileDescriptorSet

func FileDescriptorSet() *descriptorpb.FileDescriptorSet

FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.

Will not return nil.

Do NOT modify the returned descriptor.

func LegacyJobID

func LegacyJobID(jobName string) (string, error)

LegacyJobID is the inverse of LegacyJobName, turning a fully-qualified job name into a LegacyJobID.

func LegacyJobName

func LegacyJobName(jobID string) string

LegacyJobName takes an ID (e.g. just a string of hex digits) and turns it into a fully-qualified job name compatible with the legacy pinpoint service.

TODO(chowski): reuse this function throughout the codebase instead of continuing to hard-code the logic in multiple places.

Types

This section is empty.

Directories

Path Synopsis
Package assertions contains GoConvey assertions used by pinpoint.
Package assertions contains GoConvey assertions used by pinpoint.
cli
bin
convert
Package convert contains code to convert from the Legacy JSON API to the new Proto API, and vice-versa.
Package convert contains code to convert from the Legacy JSON API to the new Proto API, and vice-versa.

Jump to

Keyboard shortcuts

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