sessiondata

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	SessionID   sdktypes.SessionID      `json:"session_id"`
	ProjectID   sdktypes.ProjectID      `json:"project_id"`
	Session     sdktypes.Session        `json:"session"`
	Env         sdktypes.Env            `json:"env"`
	EnvVars     []sdktypes.EnvVar       `json:"env_vars"`
	Build       sdktypes.Build          `json:"build"`
	BuildFile   *sdkbuildfile.BuildFile `json:"build_file"`
	Triggers    []sdktypes.Trigger      `json:"mappings"`
	Connections []sdktypes.Connection   `json:"connections"`
}

func Get

func Get(ctx context.Context, z *zap.Logger, svcs *sessionsvcs.Svcs, sessionID sdktypes.SessionID) (*Data, error)

Get session related data using local activities in order not to expose data to Temporal.

Jump to

Keyboard shortcuts

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