execution

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(project, region, jobName string) ([]model.Execution, error)

List returns a list of executions for the given project, region and job.

Types

type Client

type Client interface {
	ListExecutions(ctx context.Context, project, region, jobName string) ([]*runpb.Execution, error)
}

Client defines the interface for Cloud Run Execution operations.

type ExecutionIteratorWrapper

type ExecutionIteratorWrapper interface {
	Next() (*runpb.Execution, error)
}

type ExecutionsClientWrapper

type ExecutionsClientWrapper interface {
	ListExecutions(ctx context.Context, req *runpb.ListExecutionsRequest, opts ...gax.CallOption) ExecutionIteratorWrapper
	Close() error
}

Interfaces for mocking

type GCPClient

type GCPClient struct{}

GCPClient is the Google Cloud Platform implementation of Client.

func (*GCPClient) ListExecutions

func (c *GCPClient) ListExecutions(ctx context.Context, project, region, jobName string) ([]*runpb.Execution, error)

ListExecutions lists executions for a project, region and job.

type GCPExecutionIteratorWrapper

type GCPExecutionIteratorWrapper struct {
	// contains filtered or unexported fields
}

func (*GCPExecutionIteratorWrapper) Next

type GCPExecutionsClientWrapper

type GCPExecutionsClientWrapper struct {
	// contains filtered or unexported fields
}

Real implementations

func (*GCPExecutionsClientWrapper) Close

func (w *GCPExecutionsClientWrapper) Close() error

func (*GCPExecutionsClientWrapper) ListExecutions

Jump to

Keyboard shortcuts

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