bin

package
v0.5.49 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package bin contains code to extract data from a Service Weaver binary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAntipodeAgents added in v0.5.48

func ReadAntipodeAgents(file string) ([]codegen.ComponentAntipodeAgents, error)

ReadAntipodeAgents reads the sets of Antipode agents associated with each component in the specified binary.

func ReadComponentGraph

func ReadComponentGraph(file string) ([]string, graph.Graph, error)

ReadComponentGraph reads component graph information from the specified binary. It returns a slice of components and a component graph whose nodes are indices into that slice.

func ReadListeners

func ReadListeners(file string) ([]codegen.ComponentListeners, error)

ReadListeners reads the sets of listeners associated with each component in the specified binary.

Types

type Versions

type Versions struct {
	ModuleVersion   string         // Service Weaver library's module version
	DeployerVersion version.SemVer // see version.DeployerVersion
}

func ReadVersions

func ReadVersions(filename string) (Versions, error)

ReadVersions reads the module version and deployer API version from the specified binary.

Jump to

Keyboard shortcuts

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