Documentation ¶
Index ¶
- type AzureClient
- func (_m *AzureClient) Create(ctx context.Context, path string, reader io.Reader, mimeType string) (string, error)
- func (_m *AzureClient) CreateUsingSASURL(ctx context.Context, sasURL string, reader io.Reader, mimeType string) (string, error)
- func (_m *AzureClient) Exists(ctx context.Context, path string) (bool, error)
- func (_m *AzureClient) Find(ctx context.Context, path string) (io.ReadCloser, error)
- func (_m *AzureClient) FindUsingSASUrl(ctx context.Context, sasURL string) (io.ReadCloser, error)
- func (_m *AzureClient) GetSASURL(ctx context.Context, containerPath string, containerType core.ContainerType) (string, error)
- type ExecutionManager
- func (_m *ExecutionManager) ExecuteInternalCommands(ctx context.Context, commandType core.CommandType, commands []string, ...) error
- func (_m *ExecutionManager) ExecuteUserCommands(ctx context.Context, commandType core.CommandType, payload *core.Payload, ...) error
- func (_m *ExecutionManager) GetEnvVariables(envMap map[string]string, secretData map[string]string) ([]string, error)
- func (_m *ExecutionManager) StoreCommandLogs(ctx context.Context, blobPath string, reader io.Reader) <-chan error
- type Reader
- type SecretParser
- func (_m *SecretParser) Expired(token *core.Oauth) bool
- func (_m *SecretParser) GetOauthSecret(filepath string) (*core.Oauth, error)
- func (_m *SecretParser) GetRepoSecret(_a0 string) (map[string]string, error)
- func (_m *SecretParser) SubstituteSecret(command string, secretData map[string]string) (string, error)
- type TASConfigManager
- type ZstdCompressor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureClient ¶
AzureClient is an autogenerated mock type for the AzureClient type
func (*AzureClient) Create ¶
func (_m *AzureClient) Create(ctx context.Context, path string, reader io.Reader, mimeType string) (string, error)
Create provides a mock function with given fields: ctx, path, reader, mimeType
func (*AzureClient) CreateUsingSASURL ¶
func (_m *AzureClient) CreateUsingSASURL(ctx context.Context, sasURL string, reader io.Reader, mimeType string) (string, error)
CreateUsingSASURL provides a mock function with given fields: ctx, sasURL, reader, mimeType
func (*AzureClient) Find ¶
func (_m *AzureClient) Find(ctx context.Context, path string) (io.ReadCloser, error)
Find provides a mock function with given fields: ctx, path
func (*AzureClient) FindUsingSASUrl ¶
func (_m *AzureClient) FindUsingSASUrl(ctx context.Context, sasURL string) (io.ReadCloser, error)
FindUsingSASUrl provides a mock function with given fields: ctx, sasURL
func (*AzureClient) GetSASURL ¶
func (_m *AzureClient) GetSASURL(ctx context.Context, containerPath string, containerType core.ContainerType) (string, error)
GetSASURL provides a mock function with given fields: ctx, containerPath, containerType
type ExecutionManager ¶
ExecutionManager is an autogenerated mock type for the ExecutionManager type
func (*ExecutionManager) ExecuteInternalCommands ¶
func (_m *ExecutionManager) ExecuteInternalCommands(ctx context.Context, commandType core.CommandType, commands []string, cwd string, envMap map[string]string, secretData map[string]string) error
ExecuteInternalCommands provides a mock function with given fields: ctx, commandType, commands, cwd, envMap, secretData
func (*ExecutionManager) ExecuteUserCommands ¶
func (_m *ExecutionManager) ExecuteUserCommands(ctx context.Context, commandType core.CommandType, payload *core.Payload, runConfig *core.Run, secretData map[string]string) error
ExecuteUserCommands provides a mock function with given fields: ctx, commandType, payload, runConfig, secretData
func (*ExecutionManager) GetEnvVariables ¶
func (_m *ExecutionManager) GetEnvVariables(envMap map[string]string, secretData map[string]string) ([]string, error)
GetEnvVariables provides a mock function with given fields: envMap, secretData
func (*ExecutionManager) StoreCommandLogs ¶
func (_m *ExecutionManager) StoreCommandLogs(ctx context.Context, blobPath string, reader io.Reader) <-chan error
StoreCommandLogs provides a mock function with given fields: ctx, blobPath, reader
type SecretParser ¶
SecretParser is an autogenerated mock type for the SecretParser type
func (*SecretParser) Expired ¶
func (_m *SecretParser) Expired(token *core.Oauth) bool
Expired provides a mock function with given fields: token
func (*SecretParser) GetOauthSecret ¶
func (_m *SecretParser) GetOauthSecret(filepath string) (*core.Oauth, error)
GetOauthSecret provides a mock function with given fields: filepath
func (*SecretParser) GetRepoSecret ¶
func (_m *SecretParser) GetRepoSecret(_a0 string) (map[string]string, error)
GetRepoSecret provides a mock function with given fields: _a0
func (*SecretParser) SubstituteSecret ¶
func (_m *SecretParser) SubstituteSecret(command string, secretData map[string]string) (string, error)
SubstituteSecret provides a mock function with given fields: command, secretData
type TASConfigManager ¶
TASConfigManager is an autogenerated mock type for the TASConfigManager type
type ZstdCompressor ¶
ZstdCompressor is an autogenerated mock type for the ZstdCompressor type
func (*ZstdCompressor) Compress ¶
func (_m *ZstdCompressor) Compress(ctx context.Context, compressedFileName string, preservePath bool, workingDirectory string, filesToCompress ...string) error
Compress provides a mock function with given fields: ctx, compressedFileName, preservePath, workingDirectory, filesToCompress
func (*ZstdCompressor) Decompress ¶
func (_m *ZstdCompressor) Decompress(ctx context.Context, filePath string, preservePath bool, workingDirectory string) error
Decompress provides a mock function with given fields: ctx, filePath, preservePath, workingDirectory