actionsdotnetactcompat

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 29 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertDefaults

func ConvertDefaults(jobDefaults []protocol.TemplateToken) (model.Defaults, error)

func ConvertEnvironment

func ConvertEnvironment(environmentVariables []protocol.TemplateToken) (map[string]string, error)

func ConvertMatrixInstance

func ConvertMatrixInstance(contextData map[string]protocol.PipelineContextData) (map[string]interface{}, error)

func ConvertServiceContainer

func ConvertServiceContainer(jobServiceContainers *protocol.TemplateToken) (map[string]*model.ContainerSpec, error)

func ConvertSteps

func ConvertSteps(jobSteps []protocol.ActionStep) ([]*model.Step, error)

Types

type ActRunner

type ActRunner struct {
	actionsrunner.WorkerRunnerEnvironment
}

func (*ActRunner) ExecWorker

func (arunner *ActRunner) ExecWorker(run *actionsrunner.RunRunner, wc actionsrunner.WorkerContext,
	jobreq *protocol.AgentJobRequestMessage, src []byte,
) error

type ActionCacheBase added in v0.11.0

type ActionCacheBase struct {
	VssConnection *protocol.VssConnection
	Plan          *protocol.TaskOrchestrationPlanReference
	GHToken       string
	HttpClient    *http.Client
	CacheDir      string
	// contains filtered or unexported fields
}

func (*ActionCacheBase) GetTarArchive added in v0.11.0

func (cache *ActionCacheBase) GetTarArchive(ctx context.Context, cacheDir, sha, includePrefix string) (io.ReadCloser, error)

GetTarArchive implements runner.ActionCache.

type JobLoggerFactory added in v0.6.0

type JobLoggerFactory struct {
	Logger *logrus.Logger
}

func (*JobLoggerFactory) WithJobLogger added in v0.6.0

func (factory *JobLoggerFactory) WithJobLogger() *logrus.Logger

type LaunchActionCache added in v0.11.0

type LaunchActionCache struct {
	ActionCacheBase
	LaunchEndpoint string
	JobID          string
}

func (*LaunchActionCache) Fetch added in v0.11.0

func (cache *LaunchActionCache) Fetch(ctx context.Context, cacheDir, url, ref, token string) (string, error)

Fetch implements runner.ActionCache.

type VssActionCache added in v0.11.0

type VssActionCache struct {
	ActionCacheBase
}

func (*VssActionCache) Fetch added in v0.11.0

func (cache *VssActionCache) Fetch(ctx context.Context, cacheDir, url, ref, token string) (string, error)

Fetch implements runner.ActionCache.

Jump to

Keyboard shortcuts

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