Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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.
type GCPExecutionIteratorWrapper ¶
type GCPExecutionIteratorWrapper struct {
// contains filtered or unexported fields
}
type GCPExecutionsClientWrapper ¶
type GCPExecutionsClientWrapper struct {
// contains filtered or unexported fields
}
Real implementations
func (*GCPExecutionsClientWrapper) Close ¶
func (w *GCPExecutionsClientWrapper) Close() error
func (*GCPExecutionsClientWrapper) ListExecutions ¶
func (w *GCPExecutionsClientWrapper) ListExecutions(ctx context.Context, req *runpb.ListExecutionsRequest, opts ...gax.CallOption) ExecutionIteratorWrapper
Click to show internal directories.
Click to hide internal directories.