SYMBOL INDEX (10688 symbols across 823 files) FILE: apps/gitlab-runner-helper/main.go function init (line 17) | func init() { function main (line 21) | func main() { function newCommands (line 55) | func newCommands() []cli.Command { FILE: cache/adapter.go type PresignedURL (line 16) | type PresignedURL struct type GoCloudURL (line 21) | type GoCloudURL struct type Adapter (line 27) | type Adapter interface type Factory (line 35) | type Factory type FactoriesMap (line 37) | type FactoriesMap struct method Register (line 42) | func (m *FactoriesMap) Register(typeName string, factory Factory) error { method Find (line 60) | func (m *FactoriesMap) Find(typeName string) (Factory, error) { function Factories (line 74) | func Factories() *FactoriesMap { function RegisterCollector (line 85) | func RegisterCollector(c prometheus.Collector) { function Collectors (line 92) | func Collectors() []prometheus.Collector { function getCreateAdapter (line 98) | func getCreateAdapter(cacheConfig *cacheconfig.Config, timeout time.Dura... FILE: cache/adapter_test.go type factorizeTestCase (line 16) | type factorizeTestCase struct function prepareMockedFactoriesMap (line 23) | func prepareMockedFactoriesMap() func() { function makeTestFactory (line 32) | func makeTestFactory(test factorizeTestCase) Factory { function TestCreateAdapter (line 42) | func TestCreateAdapter(t *testing.T) { function TestDoubledRegistration (line 101) | func TestDoubledRegistration(t *testing.T) { FILE: cache/azure/adapter.go type signedURLGenerator (line 17) | type signedURLGenerator type blobTokenGenerator (line 18) | type blobTokenGenerator type azureAdapter (line 20) | type azureAdapter struct method GetDownloadURL (line 31) | func (a *azureAdapter) GetDownloadURL(ctx context.Context) cache.Presi... method GetHeadURL (line 36) | func (a *azureAdapter) GetHeadURL(ctx context.Context) cache.Presigned... method GetUploadURL (line 43) | func (a *azureAdapter) GetUploadURL(ctx context.Context) cache.Presign... method WithMetadata (line 49) | func (a *azureAdapter) WithMetadata(metadata map[string]string) {} method GetGoCloudURL (line 51) | func (a *azureAdapter) GetGoCloudURL(ctx context.Context, upload bool)... method getEnv (line 81) | func (a *azureAdapter) getEnv(ctx context.Context, upload bool) (map[s... method generateSASToken (line 97) | func (a *azureAdapter) generateSASToken(ctx context.Context, upload bo... method getSigner (line 122) | func (a *azureAdapter) getSigner() sasSigner { function New (line 138) | func New(config *cacheconfig.Config, timeout time.Duration, objectName s... function init (line 161) | func init() { FILE: cache/azure/adapter_test.go function defaultAzureCache (line 30) | func defaultAzureCache() *cacheconfig.Config { type adapterOperationInvalidConfigTestCase (line 44) | type adapterOperationInvalidConfigTestCase struct function prepareMockedCredentialsResolverInitializer (line 57) | func prepareMockedCredentialsResolverInitializer(tc adapterOperationInva... function prepareMockedCredentialsResolverForInvalidConfig (line 72) | func prepareMockedCredentialsResolverForInvalidConfig(t *testing.T, adap... function testGoCloudURLWithInvalidConfig (line 94) | func testGoCloudURLWithInvalidConfig( function testUploadEnvWithInvalidConfig (line 121) | func testUploadEnvWithInvalidConfig( function TestAdapterOperation_InvalidConfig (line 139) | func TestAdapterOperation_InvalidConfig(t *testing.T) { type adapterOperationTestCase (line 220) | type adapterOperationTestCase struct function prepareMockedSignedURLGenerator (line 227) | func prepareMockedSignedURLGenerator( function TestAdapterOperation (line 246) | func TestAdapterOperation(t *testing.T) { FILE: cache/azure/azure.go constant DefaultAzureServer (line 19) | DefaultAzureServer = "blob.core.windows.net" type sasSigner (line 21) | type sasSigner interface type accountKeySigner (line 27) | type accountKeySigner struct method ServiceURL (line 197) | func (s *accountKeySigner) ServiceURL() string { method Prepare (line 201) | func (s *accountKeySigner) Prepare(ctx context.Context, o *signedURLOp... method Sign (line 205) | func (s *accountKeySigner) Sign(values sas.BlobSignatureValues) (sas.Q... type userDelegationKeySigner (line 32) | type userDelegationKeySigner struct method ServiceURL (line 215) | func (s *userDelegationKeySigner) ServiceURL() string { method Prepare (line 219) | func (s *userDelegationKeySigner) Prepare(ctx context.Context, o *sign... method Sign (line 230) | func (s *userDelegationKeySigner) Sign(values sas.BlobSignatureValues)... method retrieveUserCredentials (line 240) | func (s *userDelegationKeySigner) retrieveUserCredentials(ctx context.... type userDelegationKeyOption (line 40) | type userDelegationKeyOption type signedURLOptions (line 42) | type signedURLOptions struct function withBlobServiceEndpoint (line 51) | func withBlobServiceEndpoint(endpoint string) userDelegationKeyOption { function withBlobServiceTransport (line 59) | func withBlobServiceTransport(transport *http.Transport) userDelegationK... function withDefaultCredentialTransporter (line 65) | func withDefaultCredentialTransporter(transporter policy.Transporter) us... type transportAdapter (line 72) | type transportAdapter struct method Do (line 76) | func (t *transportAdapter) Do(req *http.Request) (*http.Response, erro... function presignedURL (line 80) | func presignedURL(ctx context.Context, name string, o *signedURLOptions)... function getSASToken (line 103) | func getSASToken(ctx context.Context, name string, o *signedURLOptions) ... function getBlobServiceURL (line 112) | func getBlobServiceURL(config *cacheconfig.CacheAzureConfig) string { function newAccountKeySigner (line 120) | func newAccountKeySigner(config *cacheconfig.CacheAzureConfig) (sasSigne... function newUserDelegationKeySigner (line 141) | func newUserDelegationKeySigner(config *cacheconfig.CacheAzureConfig, op... function getSASQueryParameters (line 168) | func getSASQueryParameters(ctx context.Context, name string, o *signedUR... function generateBlobSignatureValues (line 179) | func generateBlobSignatureValues(name string, o *signedURLOptions) sas.B... FILE: cache/azure/azure_test.go type azureSigningTest (line 22) | type azureSigningTest struct constant mockClientInfo (line 35) | mockClientInfo = "my-client" constant mockIDToken (line 36) | mockIDToken = "my-idt" type mockSTS (line 39) | type mockSTS struct method Do (line 43) | func (m *mockSTS) Do(req *http.Request) (*http.Response, error) { function TestAccountKeySigning (line 66) | func TestAccountKeySigning(t *testing.T) { function TestUserDelegationSigning (line 158) | func TestUserDelegationSigning(t *testing.T) { FILE: cache/azure/credentials_resolver.go type credentialsResolver (line 10) | type credentialsResolver interface type defaultCredentialsResolver (line 15) | type defaultCredentialsResolver struct method Resolve (line 19) | func (cr *defaultCredentialsResolver) Resolve() error { method Credentials (line 23) | func (cr *defaultCredentialsResolver) Credentials() *cacheconfig.Cache... method Signer (line 27) | func (cr *defaultCredentialsResolver) Signer() (sasSigner, error) { method readCredentialsFromConfig (line 41) | func (cr *defaultCredentialsResolver) readCredentialsFromConfig() error { function newDefaultCredentialsResolver (line 49) | func newDefaultCredentialsResolver(config *cacheconfig.CacheAzureConfig)... FILE: cache/azure/credentials_resolver_test.go type credentialsResolverTestCase (line 13) | type credentialsResolverTestCase struct type signerTestCase (line 20) | type signerTestCase struct function getCredentialsConfig (line 26) | func getCredentialsConfig(accountName string, accountKey string) *cachec... function getExpectedCredentials (line 36) | func getExpectedCredentials(accountName string, accountKey string) *cach... function TestDefaultCredentialsResolver (line 43) | func TestDefaultCredentialsResolver(t *testing.T) { function TestSigner (line 84) | func TestSigner(t *testing.T) { FILE: cache/azure/mocks.go function newMockSasSigner (line 16) | func newMockSasSigner(t interface { type mockSasSigner (line 29) | type mockSasSigner struct method EXPECT (line 37) | func (_m *mockSasSigner) EXPECT() *mockSasSigner_Expecter { method Prepare (line 42) | func (_mock *mockSasSigner) Prepare(ctx context.Context, o *signedURLO... method ServiceURL (line 99) | func (_mock *mockSasSigner) ServiceURL() string { method Sign (line 143) | func (_mock *mockSasSigner) Sign(values sas.BlobSignatureValues) (sas.... type mockSasSigner_Expecter (line 33) | type mockSasSigner_Expecter struct method Prepare (line 66) | func (_e *mockSasSigner_Expecter) Prepare(ctx interface{}, o interface... method ServiceURL (line 121) | func (_e *mockSasSigner_Expecter) ServiceURL() *mockSasSigner_ServiceU... method Sign (line 175) | func (_e *mockSasSigner_Expecter) Sign(values interface{}) *mockSasSig... type mockSasSigner_Prepare_Call (line 59) | type mockSasSigner_Prepare_Call struct method Run (line 70) | func (_c *mockSasSigner_Prepare_Call) Run(run func(ctx context.Context... method Return (line 88) | func (_c *mockSasSigner_Prepare_Call) Return(err error) *mockSasSigner... method RunAndReturn (line 93) | func (_c *mockSasSigner_Prepare_Call) RunAndReturn(run func(ctx contex... type mockSasSigner_ServiceURL_Call (line 116) | type mockSasSigner_ServiceURL_Call struct method Run (line 125) | func (_c *mockSasSigner_ServiceURL_Call) Run(run func()) *mockSasSigne... method Return (line 132) | func (_c *mockSasSigner_ServiceURL_Call) Return(s string) *mockSasSign... method RunAndReturn (line 137) | func (_c *mockSasSigner_ServiceURL_Call) RunAndReturn(run func() strin... type mockSasSigner_Sign_Call (line 169) | type mockSasSigner_Sign_Call struct method Run (line 179) | func (_c *mockSasSigner_Sign_Call) Run(run func(values sas.BlobSignatu... method Return (line 192) | func (_c *mockSasSigner_Sign_Call) Return(queryParameters sas.QueryPar... method RunAndReturn (line 197) | func (_c *mockSasSigner_Sign_Call) RunAndReturn(run func(values sas.Bl... function newMockCredentialsResolver (line 204) | func newMockCredentialsResolver(t interface { type mockCredentialsResolver (line 217) | type mockCredentialsResolver struct method EXPECT (line 225) | func (_m *mockCredentialsResolver) EXPECT() *mockCredentialsResolver_E... method Resolve (line 230) | func (_mock *mockCredentialsResolver) Resolve() error { method Signer (line 274) | func (_mock *mockCredentialsResolver) Signer() (sasSigner, error) { type mockCredentialsResolver_Expecter (line 221) | type mockCredentialsResolver_Expecter struct method Resolve (line 252) | func (_e *mockCredentialsResolver_Expecter) Resolve() *mockCredentials... method Signer (line 307) | func (_e *mockCredentialsResolver_Expecter) Signer() *mockCredentialsR... type mockCredentialsResolver_Resolve_Call (line 247) | type mockCredentialsResolver_Resolve_Call struct method Run (line 256) | func (_c *mockCredentialsResolver_Resolve_Call) Run(run func()) *mockC... method Return (line 263) | func (_c *mockCredentialsResolver_Resolve_Call) Return(err error) *moc... method RunAndReturn (line 268) | func (_c *mockCredentialsResolver_Resolve_Call) RunAndReturn(run func(... type mockCredentialsResolver_Signer_Call (line 302) | type mockCredentialsResolver_Signer_Call struct method Run (line 311) | func (_c *mockCredentialsResolver_Signer_Call) Run(run func()) *mockCr... method Return (line 318) | func (_c *mockCredentialsResolver_Signer_Call) Return(sasSignerMoqPara... method RunAndReturn (line 323) | func (_c *mockCredentialsResolver_Signer_Call) RunAndReturn(run func()... FILE: cache/cache.go type nopAdapter (line 15) | type nopAdapter struct method GetDownloadURL (line 17) | func (nopAdapter) GetDownloadURL(context.Context) PresignedURL { retur... method GetHeadURL (line 18) | func (nopAdapter) GetHeadURL(context.Context) PresignedURL { retur... method WithMetadata (line 19) | func (nopAdapter) WithMetadata(map[string]string) {} method GetUploadURL (line 20) | func (nopAdapter) GetUploadURL(context.Context) PresignedURL { retur... method GetGoCloudURL (line 21) | func (nopAdapter) GetGoCloudURL(ctx context.Context, upload bool) (GoC... function GetAdapter (line 27) | func GetAdapter(config *cacheconfig.Config, timeout time.Duration, short... FILE: cache/cache_test.go type cacheOperationTest (line 20) | type cacheOperationTest struct function prepareFakeCreateAdapter (line 31) | func prepareFakeCreateAdapter(t *testing.T, operationName string, tc cac... function prepareFakeConfig (line 64) | func prepareFakeConfig(tc cacheOperationTest) *cacheconfig.Config { function testCacheOperation (line 77) | func testCacheOperation( function TestCacheOperations (line 106) | func TestCacheOperations(t *testing.T) { function defaultCacheConfig (line 175) | func defaultCacheConfig() *cacheconfig.Config { type generateObjectNameTestCase (line 181) | type generateObjectNameTestCase struct function TestGenerateObjectName (line 191) | func TestGenerateObjectName(t *testing.T) { FILE: cache/cacheconfig/cacheconfig.go type Config (line 13) | type Config struct method GetPath (line 24) | func (c *Config) GetPath() string { method GetShared (line 28) | func (c *Config) GetShared() bool { type CacheS3Config (line 32) | type CacheS3Config struct method AuthType (line 68) | func (c *CacheS3Config) AuthType() S3AuthType { method EncryptionType (line 87) | func (c *CacheS3Config) EncryptionType() S3EncryptionType { method GetEndpoint (line 105) | func (c *CacheS3Config) GetEndpoint() string { method GetEndpointURL (line 130) | func (c *CacheS3Config) GetEndpointURL() *url.URL { method PathStyleEnabled (line 149) | func (c *CacheS3Config) PathStyleEnabled() bool { method DualStackEnabled (line 163) | func (c *CacheS3Config) DualStackEnabled() bool { type S3AuthType (line 52) | type S3AuthType constant S3AuthTypeAccessKey (line 55) | S3AuthTypeAccessKey S3AuthType = "access-key" constant S3AuthTypeIAM (line 56) | S3AuthTypeIAM S3AuthType = "iam" type S3EncryptionType (line 59) | type S3EncryptionType constant S3EncryptionTypeNone (line 62) | S3EncryptionTypeNone S3EncryptionType = "" constant S3EncryptionTypeAes256 (line 63) | S3EncryptionTypeAes256 S3EncryptionType = "S3" constant S3EncryptionTypeKms (line 64) | S3EncryptionTypeKms S3EncryptionType = "KMS" constant S3EncryptionTypeDsseKms (line 65) | S3EncryptionTypeDsseKms S3EncryptionType = "DSSE-KMS" type CacheGCSCredentials (line 170) | type CacheGCSCredentials struct type CacheGCSConfig (line 175) | type CacheGCSConfig struct type CacheAzureCredentials (line 182) | type CacheAzureCredentials struct type CacheAzureConfig (line 187) | type CacheAzureConfig struct FILE: cache/cacheconfig/cacheconfig_test.go function TestCacheGCSConfig_UniverseDomain (line 16) | func TestCacheGCSConfig_UniverseDomain(t *testing.T) { function TestCacheS3Config_AuthType (line 64) | func TestCacheS3Config_AuthType(t *testing.T) { function TestCacheS3Config_DualStack (line 199) | func TestCacheS3Config_DualStack(t *testing.T) { function TestCacheS3Config_Encryption (line 228) | func TestCacheS3Config_Encryption(t *testing.T) { function TestCacheS3Config_Endpoint (line 282) | func TestCacheS3Config_Endpoint(t *testing.T) { FILE: cache/cachekey/cachekey.go function Sanitize (line 27) | func Sanitize(cacheKey string) (string, error) { FILE: cache/cachekey/cachekey_test.go function TestSanitize (line 13) | func TestSanitize(t *testing.T) { function TestSanitizeInvariants (line 120) | func TestSanitizeInvariants(t *testing.T) { function TestSanitizeIdempotent (line 149) | func TestSanitizeIdempotent(t *testing.T) { FILE: cache/credentials_adapter.go type CredentialsAdapter (line 10) | type CredentialsAdapter interface function CredentialsFactories (line 16) | func CredentialsFactories() *CredentialsFactoriesMap { type CredentialsFactory (line 20) | type CredentialsFactory type CredentialsFactoriesMap (line 22) | type CredentialsFactoriesMap struct method Register (line 27) | func (m *CredentialsFactoriesMap) Register(typeName string, factory Cr... method Find (line 45) | func (m *CredentialsFactoriesMap) Find(typeName string) (CredentialsFa... function CreateCredentialsAdapter (line 57) | func CreateCredentialsAdapter(cacheConfig *cacheconfig.Config) (Credenti... FILE: cache/credentials_adapter_test.go type credentialsFactoryTestCase (line 13) | type credentialsFactoryTestCase struct function prepareMockedCredentialsFactoriesMap (line 20) | func prepareMockedCredentialsFactoriesMap() func() { function makeTestCredentialsFactory (line 29) | func makeTestCredentialsFactory(test credentialsFactoryTestCase) Credent... function TestCreateCredentialsAdapter (line 39) | func TestCreateCredentialsAdapter(t *testing.T) { function TestCredentialsFactoryDoubledRegistration (line 98) | func TestCredentialsFactoryDoubledRegistration(t *testing.T) { FILE: cache/gcs/adapter.go type signedURLGenerator (line 18) | type signedURLGenerator type gcsAdapter (line 20) | type gcsAdapter struct method GetDownloadURL (line 31) | func (a *gcsAdapter) GetDownloadURL(ctx context.Context) cache.Presign... method GetHeadURL (line 35) | func (a *gcsAdapter) GetHeadURL(ctx context.Context) cache.PresignedURL { method GetUploadURL (line 39) | func (a *gcsAdapter) GetUploadURL(ctx context.Context) cache.Presigned... method GetUploadHeaders (line 46) | func (a *gcsAdapter) GetUploadHeaders() http.Header { method GetGoCloudURL (line 60) | func (a *gcsAdapter) GetGoCloudURL(_ context.Context, _ bool) (cache.G... method WithMetadata (line 64) | func (a *gcsAdapter) WithMetadata(metadata map[string]string) { method presignURL (line 68) | func (a *gcsAdapter) presignURL(ctx context.Context, method string, co... function New (line 118) | func New(config *cacheconfig.Config, timeout time.Duration, objectName s... function init (line 141) | func init() { FILE: cache/gcs/adapter_test.go function defaultGCSCache (line 59) | func defaultGCSCache() *cacheconfig.Config { type adapterOperationInvalidConfigTestCase (line 68) | type adapterOperationInvalidConfigTestCase struct function prepareMockedCredentialsResolverInitializer (line 80) | func prepareMockedCredentialsResolverInitializer(t *testing.T, tc adapte... function prepareMockedCredentialsResolverForInvalidConfig (line 95) | func prepareMockedCredentialsResolverForInvalidConfig(t *testing.T, adap... function testAdapterOperationWithInvalidConfig (line 117) | func testAdapterOperationWithInvalidConfig( function TestAdapterOperation_InvalidConfig (line 137) | func TestAdapterOperation_InvalidConfig(t *testing.T) { type adapterOperationTestCase (line 204) | type adapterOperationTestCase struct function mockSignBytesFunc (line 214) | func mockSignBytesFunc(_ context.Context) func([]byte) ([]byte, error) { function prepareMockedCredentialsResolver (line 220) | func prepareMockedCredentialsResolver(t *testing.T, adapter *gcsAdapter,... function prepareMockedSignedURLGenerator (line 237) | func prepareMockedSignedURLGenerator( function testAdapterOperation (line 260) | func testAdapterOperation( function TestAdapterOperation (line 290) | func TestAdapterOperation(t *testing.T) { FILE: cache/gcs/credentials_resolver.go type credentialsResolver (line 17) | type credentialsResolver interface type IamCredentialsClient (line 23) | type IamCredentialsClient interface type MetadataClient (line 31) | type MetadataClient interface constant TypeServiceAccount (line 35) | TypeServiceAccount = "service_account" type credentialsFile (line 37) | type credentialsFile struct type defaultCredentialsResolver (line 43) | type defaultCredentialsResolver struct method Credentials (line 50) | func (cr *defaultCredentialsResolver) Credentials() *cacheconfig.Cache... method Resolve (line 54) | func (cr *defaultCredentialsResolver) Resolve() error { method SignBytesFunc (line 65) | func (cr *defaultCredentialsResolver) SignBytesFunc(ctx context.Contex... method readCredentialsFromFile (line 86) | func (cr *defaultCredentialsResolver) readCredentialsFromFile() error { method readCredentialsFromConfig (line 110) | func (cr *defaultCredentialsResolver) readCredentialsFromConfig() error { method readAccessIDFromMetadataServer (line 121) | func (cr *defaultCredentialsResolver) readAccessIDFromMetadataServer()... method iamCredentialsClient (line 130) | func (cr *defaultCredentialsResolver) iamCredentialsClient(ctx context... function newDefaultCredentialsResolver (line 142) | func newDefaultCredentialsResolver(config *cacheconfig.CacheGCSConfig) (... FILE: cache/gcs/credentials_resolver_test.go type credentialsResolverTestCase (line 22) | type credentialsResolverTestCase struct function getCredentialsConfig (line 33) | func getCredentialsConfig(accessID string, privateKey string) *cacheconf... function getCredentialsFileContent (line 42) | func getCredentialsFileContent(fileType string, clientEmail string, priv... function getExpectedCredentials (line 50) | func getExpectedCredentials(accessID string, privateKey string) *cacheco... function TestDefaultCredentialsResolver (line 57) | func TestDefaultCredentialsResolver(t *testing.T) { type signBytesOperationTestCase (line 167) | type signBytesOperationTestCase struct function TestSignBytesOperation (line 172) | func TestSignBytesOperation(t *testing.T) { FILE: cache/gcs/mocks.go function newMockCredentialsResolver (line 18) | func newMockCredentialsResolver(t interface { type mockCredentialsResolver (line 31) | type mockCredentialsResolver struct method EXPECT (line 39) | func (_m *mockCredentialsResolver) EXPECT() *mockCredentialsResolver_E... method Credentials (line 44) | func (_mock *mockCredentialsResolver) Credentials() *cacheconfig.Cache... method Resolve (line 90) | func (_mock *mockCredentialsResolver) Resolve() error { method SignBytesFunc (line 134) | func (_mock *mockCredentialsResolver) SignBytesFunc(context1 context.C... type mockCredentialsResolver_Expecter (line 35) | type mockCredentialsResolver_Expecter struct method Credentials (line 68) | func (_e *mockCredentialsResolver_Expecter) Credentials() *mockCredent... method Resolve (line 112) | func (_e *mockCredentialsResolver_Expecter) Resolve() *mockCredentials... method SignBytesFunc (line 159) | func (_e *mockCredentialsResolver_Expecter) SignBytesFunc(context1 int... type mockCredentialsResolver_Credentials_Call (line 63) | type mockCredentialsResolver_Credentials_Call struct method Run (line 72) | func (_c *mockCredentialsResolver_Credentials_Call) Run(run func()) *m... method Return (line 79) | func (_c *mockCredentialsResolver_Credentials_Call) Return(cacheGCSCre... method RunAndReturn (line 84) | func (_c *mockCredentialsResolver_Credentials_Call) RunAndReturn(run f... type mockCredentialsResolver_Resolve_Call (line 107) | type mockCredentialsResolver_Resolve_Call struct method Run (line 116) | func (_c *mockCredentialsResolver_Resolve_Call) Run(run func()) *mockC... method Return (line 123) | func (_c *mockCredentialsResolver_Resolve_Call) Return(err error) *moc... method RunAndReturn (line 128) | func (_c *mockCredentialsResolver_Resolve_Call) RunAndReturn(run func(... type mockCredentialsResolver_SignBytesFunc_Call (line 153) | type mockCredentialsResolver_SignBytesFunc_Call struct method Run (line 163) | func (_c *mockCredentialsResolver_SignBytesFunc_Call) Run(run func(con... method Return (line 176) | func (_c *mockCredentialsResolver_SignBytesFunc_Call) Return(fn func([... method RunAndReturn (line 181) | func (_c *mockCredentialsResolver_SignBytesFunc_Call) RunAndReturn(run... function NewMockIamCredentialsClient (line 188) | func NewMockIamCredentialsClient(t interface { type MockIamCredentialsClient (line 201) | type MockIamCredentialsClient struct method EXPECT (line 209) | func (_m *MockIamCredentialsClient) EXPECT() *MockIamCredentialsClient... method SignBlob (line 214) | func (_mock *MockIamCredentialsClient) SignBlob(context1 context.Conte... type MockIamCredentialsClient_Expecter (line 205) | type MockIamCredentialsClient_Expecter struct method SignBlob (line 258) | func (_e *MockIamCredentialsClient_Expecter) SignBlob(context1 interfa... type MockIamCredentialsClient_SignBlob_Call (line 250) | type MockIamCredentialsClient_SignBlob_Call struct method Run (line 263) | func (_c *MockIamCredentialsClient_SignBlob_Call) Run(run func(context... method Return (line 290) | func (_c *MockIamCredentialsClient_SignBlob_Call) Return(signBlobRespo... method RunAndReturn (line 295) | func (_c *MockIamCredentialsClient_SignBlob_Call) RunAndReturn(run fun... function NewMockMetadataClient (line 302) | func NewMockMetadataClient(t interface { type MockMetadataClient (line 315) | type MockMetadataClient struct method EXPECT (line 323) | func (_m *MockMetadataClient) EXPECT() *MockMetadataClient_Expecter { method Email (line 328) | func (_mock *MockMetadataClient) Email(serviceAccount string) (string,... type MockMetadataClient_Expecter (line 319) | type MockMetadataClient_Expecter struct method Email (line 360) | func (_e *MockMetadataClient_Expecter) Email(serviceAccount interface{... type MockMetadataClient_Email_Call (line 354) | type MockMetadataClient_Email_Call struct method Run (line 364) | func (_c *MockMetadataClient_Email_Call) Run(run func(serviceAccount s... method Return (line 377) | func (_c *MockMetadataClient_Email_Call) Return(s string, err error) *... method RunAndReturn (line 382) | func (_c *MockMetadataClient_Email_Call) RunAndReturn(run func(service... FILE: cache/gcsv2/adapter.go type gcsAdapter (line 19) | type gcsAdapter struct method GetDownloadURL (line 27) | func (a *gcsAdapter) GetDownloadURL(ctx context.Context) cache.Presign... method GetHeadURL (line 36) | func (a *gcsAdapter) GetHeadURL(ctx context.Context) cache.PresignedURL { method GetUploadURL (line 45) | func (a *gcsAdapter) GetUploadURL(ctx context.Context) cache.Presigned... method GetUploadHeaders (line 54) | func (a *gcsAdapter) GetUploadHeaders() http.Header { method GetGoCloudURL (line 68) | func (a *gcsAdapter) GetGoCloudURL(_ context.Context, _ bool) (cache.G... method WithMetadata (line 72) | func (a *gcsAdapter) WithMetadata(metadata map[string]string) { method presignURL (line 76) | func (a *gcsAdapter) presignURL(ctx context.Context, method string, co... function New (line 134) | func New(config *cacheconfig.Config, timeout time.Duration, objectName s... function init (line 148) | func init() { FILE: cache/gcsv2/adapter_test.go function TestNew (line 46) | func TestNew(t *testing.T) { function TestAdapter (line 60) | func TestAdapter(t *testing.T) { FILE: cache/mocks.go function NewMockAdapter (line 15) | func NewMockAdapter(t interface { type MockAdapter (line 28) | type MockAdapter struct method EXPECT (line 36) | func (_m *MockAdapter) EXPECT() *MockAdapter_Expecter { method GetDownloadURL (line 41) | func (_mock *MockAdapter) GetDownloadURL(context1 context.Context) Pre... method GetGoCloudURL (line 92) | func (_mock *MockAdapter) GetGoCloudURL(ctx context.Context, upload bo... method GetHeadURL (line 158) | func (_mock *MockAdapter) GetHeadURL(context1 context.Context) Presign... method GetUploadURL (line 209) | func (_mock *MockAdapter) GetUploadURL(context1 context.Context) Presi... method WithMetadata (line 260) | func (_mock *MockAdapter) WithMetadata(stringToString map[string]strin... type MockAdapter_Expecter (line 32) | type MockAdapter_Expecter struct method GetDownloadURL (line 64) | func (_e *MockAdapter_Expecter) GetDownloadURL(context1 interface{}) *... method GetGoCloudURL (line 125) | func (_e *MockAdapter_Expecter) GetGoCloudURL(ctx interface{}, upload ... method GetHeadURL (line 181) | func (_e *MockAdapter_Expecter) GetHeadURL(context1 interface{}) *Mock... method GetUploadURL (line 232) | func (_e *MockAdapter_Expecter) GetUploadURL(context1 interface{}) *Mo... method WithMetadata (line 272) | func (_e *MockAdapter_Expecter) WithMetadata(stringToString interface{... type MockAdapter_GetDownloadURL_Call (line 58) | type MockAdapter_GetDownloadURL_Call struct method Run (line 68) | func (_c *MockAdapter_GetDownloadURL_Call) Run(run func(context1 conte... method Return (line 81) | func (_c *MockAdapter_GetDownloadURL_Call) Return(presignedURL Presign... method RunAndReturn (line 86) | func (_c *MockAdapter_GetDownloadURL_Call) RunAndReturn(run func(conte... type MockAdapter_GetGoCloudURL_Call (line 118) | type MockAdapter_GetGoCloudURL_Call struct method Run (line 129) | func (_c *MockAdapter_GetGoCloudURL_Call) Run(run func(ctx context.Con... method Return (line 147) | func (_c *MockAdapter_GetGoCloudURL_Call) Return(goCloudURL GoCloudURL... method RunAndReturn (line 152) | func (_c *MockAdapter_GetGoCloudURL_Call) RunAndReturn(run func(ctx co... type MockAdapter_GetHeadURL_Call (line 175) | type MockAdapter_GetHeadURL_Call struct method Run (line 185) | func (_c *MockAdapter_GetHeadURL_Call) Run(run func(context1 context.C... method Return (line 198) | func (_c *MockAdapter_GetHeadURL_Call) Return(presignedURL PresignedUR... method RunAndReturn (line 203) | func (_c *MockAdapter_GetHeadURL_Call) RunAndReturn(run func(context1 ... type MockAdapter_GetUploadURL_Call (line 226) | type MockAdapter_GetUploadURL_Call struct method Run (line 236) | func (_c *MockAdapter_GetUploadURL_Call) Run(run func(context1 context... method Return (line 249) | func (_c *MockAdapter_GetUploadURL_Call) Return(presignedURL Presigned... method RunAndReturn (line 254) | func (_c *MockAdapter_GetUploadURL_Call) RunAndReturn(run func(context... type MockAdapter_WithMetadata_Call (line 266) | type MockAdapter_WithMetadata_Call struct method Run (line 276) | func (_c *MockAdapter_WithMetadata_Call) Run(run func(stringToString m... method Return (line 289) | func (_c *MockAdapter_WithMetadata_Call) Return() *MockAdapter_WithMet... method RunAndReturn (line 294) | func (_c *MockAdapter_WithMetadata_Call) RunAndReturn(run func(stringT... function NewMockCredentialsAdapter (line 301) | func NewMockCredentialsAdapter(t interface { type MockCredentialsAdapter (line 314) | type MockCredentialsAdapter struct method EXPECT (line 322) | func (_m *MockCredentialsAdapter) EXPECT() *MockCredentialsAdapter_Exp... method GetCredentials (line 327) | func (_mock *MockCredentialsAdapter) GetCredentials() map[string]string { type MockCredentialsAdapter_Expecter (line 318) | type MockCredentialsAdapter_Expecter struct method GetCredentials (line 351) | func (_e *MockCredentialsAdapter_Expecter) GetCredentials() *MockCrede... type MockCredentialsAdapter_GetCredentials_Call (line 346) | type MockCredentialsAdapter_GetCredentials_Call struct method Run (line 355) | func (_c *MockCredentialsAdapter_GetCredentials_Call) Run(run func()) ... method Return (line 362) | func (_c *MockCredentialsAdapter_GetCredentials_Call) Return(stringToS... method RunAndReturn (line 367) | func (_c *MockCredentialsAdapter_GetCredentials_Call) RunAndReturn(run... FILE: cache/s3/adapter.go type s3Adapter (line 17) | type s3Adapter struct method GetDownloadURL (line 25) | func (a *s3Adapter) GetDownloadURL(ctx context.Context) cache.Presigne... method GetHeadURL (line 38) | func (a *s3Adapter) GetHeadURL(ctx context.Context) cache.PresignedURL { method GetUploadURL (line 51) | func (a *s3Adapter) GetUploadURL(ctx context.Context) cache.PresignedU... method GetUploadHeaders (line 68) | func (a *s3Adapter) GetUploadHeaders() http.Header { method GetGoCloudURL (line 109) | func (a *s3Adapter) GetGoCloudURL(_ context.Context, _ bool) (cache.Go... method WithMetadata (line 113) | func (a *s3Adapter) WithMetadata(metadata map[string]string) { function New (line 117) | func New(config *cacheconfig.Config, timeout time.Duration, objectName s... function init (line 138) | func init() { FILE: cache/s3/adapter_test.go constant bucketName (line 24) | bucketName = "test" constant objectName (line 25) | objectName = "key" constant bucketLocation (line 26) | bucketLocation = "location" function defaultCacheFactory (line 29) | func defaultCacheFactory() *cacheconfig.Config { function defaultCacheFactoryEncryptionAES (line 41) | func defaultCacheFactoryEncryptionAES() *cacheconfig.Config { function defaultCacheFactoryEncryptionKMS (line 47) | func defaultCacheFactoryEncryptionKMS() *cacheconfig.Config { type cacheOperationTest (line 54) | type cacheOperationTest struct function onFakeMinioURLGenerator (line 64) | func onFakeMinioURLGenerator(t *testing.T, tc cacheOperationTest) { function testCacheOperation (line 92) | func testCacheOperation( function TestCacheOperation (line 144) | func TestCacheOperation(t *testing.T) { function TestCacheOperationEncryptionAES (line 198) | func TestCacheOperationEncryptionAES(t *testing.T) { function TestCacheOperationEncryptionKMS (line 259) | func TestCacheOperationEncryptionKMS(t *testing.T) { function TestNoConfiguration (line 321) | func TestNoConfiguration(t *testing.T) { FILE: cache/s3/bucket_location_tripper.go type bucketLocationTripper (line 10) | type bucketLocationTripper struct method RoundTrip (line 20) | func (b *bucketLocationTripper) RoundTrip(req *http.Request) (res *htt... method CancelRequest (line 33) | func (b *bucketLocationTripper) CancelRequest(req *http.Request) { FILE: cache/s3/credentials_adapter.go type s3CredentialsAdapter (line 10) | type s3CredentialsAdapter struct method GetCredentials (line 14) | func (a *s3CredentialsAdapter) GetCredentials() map[string]string { function NewS3CredentialsAdapter (line 28) | func NewS3CredentialsAdapter(config *cacheconfig.Config) (cache.Credenti... function init (line 41) | func init() { FILE: cache/s3/credentials_adapter_test.go function TestGetCredentials (line 13) | func TestGetCredentials(t *testing.T) { FILE: cache/s3/minio.go constant DefaultAWSS3Server (line 18) | DefaultAWSS3Server = "s3.amazonaws.com" type minioClient (line 22) | type minioClient interface FILE: cache/s3/minio_test.go type minioClientInitializationTest (line 19) | type minioClientInitializationTest struct function TestMinioClientInitialization (line 28) | func TestMinioClientInitialization(t *testing.T) { type minioClientInitializationTestS3Accelerate (line 94) | type minioClientInitializationTestS3Accelerate struct function TestMinioClientInitializationWithAccelerate (line 102) | func TestMinioClientInitializationWithAccelerate(t *testing.T) { function insecureCacheFactory (line 158) | func insecureCacheFactory() *cacheconfig.Config { function emptyCredentialsCacheFactory (line 165) | func emptyCredentialsCacheFactory() *cacheconfig.Config { function emptyServerAddressFactory (line 174) | func emptyServerAddressFactory() *cacheconfig.Config { function emptyAccessKeyFactory (line 182) | func emptyAccessKeyFactory() *cacheconfig.Config { function emptySecretKeyFactory (line 190) | func emptySecretKeyFactory() *cacheconfig.Config { function onlyServerAddressFactory (line 198) | func onlyServerAddressFactory() *cacheconfig.Config { function serverAddressAccelerateFactory (line 205) | func serverAddressAccelerateFactory(serverAddress string) *cacheconfig.C... function onlyAccessKeyFactory (line 212) | func onlyAccessKeyFactory() *cacheconfig.Config { function onlySecretKeyFactory (line 219) | func onlySecretKeyFactory() *cacheconfig.Config { function runOnFakeMinio (line 226) | func runOnFakeMinio(t *testing.T, test minioClientInitializationTest) fu... function runOnFakeMinioWithAccelerateEndpoint (line 254) | func runOnFakeMinioWithAccelerateEndpoint(t *testing.T, accelerated bool... function runOnFakeMinioWithCredentials (line 273) | func runOnFakeMinioWithCredentials(t *testing.T, test minioClientInitial... FILE: cache/s3/mocks.go function newMockMinioClient (line 18) | func newMockMinioClient(t interface { type mockMinioClient (line 31) | type mockMinioClient struct method EXPECT (line 39) | func (_m *mockMinioClient) EXPECT() *mockMinioClient_Expecter { method PresignHeader (line 44) | func (_mock *mockMinioClient) PresignHeader(ctx context.Context, metho... type mockMinioClient_Expecter (line 35) | type mockMinioClient_Expecter struct method PresignHeader (line 84) | func (_e *mockMinioClient_Expecter) PresignHeader(ctx interface{}, met... type mockMinioClient_PresignHeader_Call (line 72) | type mockMinioClient_PresignHeader_Call struct method Run (line 88) | func (_c *mockMinioClient_PresignHeader_Call) Run(run func(ctx context... method Return (line 131) | func (_c *mockMinioClient_PresignHeader_Call) Return(uRL *url.URL, err... method RunAndReturn (line 136) | func (_c *mockMinioClient_PresignHeader_Call) RunAndReturn(run func(ct... FILE: cache/s3v2/adapter.go type s3Adapter (line 17) | type s3Adapter struct method GetDownloadURL (line 25) | func (a *s3Adapter) GetDownloadURL(ctx context.Context) cache.Presigne... method GetHeadURL (line 35) | func (a *s3Adapter) GetHeadURL(ctx context.Context) cache.PresignedURL { method GetUploadURL (line 45) | func (a *s3Adapter) GetUploadURL(ctx context.Context) cache.PresignedU... method WithMetadata (line 64) | func (a *s3Adapter) WithMetadata(metadata map[string]string) { method getARNForGoCloud (line 68) | func (a *s3Adapter) getARNForGoCloud(upload bool) string { method GetGoCloudURL (line 80) | func (a *s3Adapter) GetGoCloudURL(ctx context.Context, upload bool) (c... method presignURL (line 151) | func (a *s3Adapter) presignURL(ctx context.Context, method string) (ca... function New (line 163) | func New(config *cacheconfig.Config, timeout time.Duration, objectName s... function init (line 184) | func init() { FILE: cache/s3v2/adapter_test.go constant bucketName (line 24) | bucketName = "test" constant objectName (line 25) | objectName = "key" constant bucketLocation (line 26) | bucketLocation = "location" function defaultCacheFactory (line 29) | func defaultCacheFactory() *cacheconfig.Config { type cacheOperationTest (line 41) | type cacheOperationTest struct function onFakeS3URLGenerator (line 52) | func onFakeS3URLGenerator(t *testing.T, tc cacheOperationTest) { function testCacheOperation (line 85) | func testCacheOperation( function TestCacheOperation (line 132) | func TestCacheOperation(t *testing.T) { function TestNoConfiguration (line 184) | func TestNoConfiguration(t *testing.T) { function TestGoCloudURLWithRoleARN (line 194) | func TestGoCloudURLWithRoleARN(t *testing.T) { function TestGoCloudURLWithUploadRoleARN (line 390) | func TestGoCloudURLWithUploadRoleARN(t *testing.T) { FILE: cache/s3v2/mocks.go function newMockS3Presigner (line 17) | func newMockS3Presigner(t interface { type mockS3Presigner (line 30) | type mockS3Presigner struct method EXPECT (line 38) | func (_m *mockS3Presigner) EXPECT() *mockS3Presigner_Expecter { method FetchCredentialsForRole (line 43) | func (_mock *mockS3Presigner) FetchCredentialsForRole(ctx context.Cont... method PresignURL (line 135) | func (_mock *mockS3Presigner) PresignURL(ctx context.Context, method s... method ServerSideEncryptionType (line 225) | func (_mock *mockS3Presigner) ServerSideEncryptionType() string { type mockS3Presigner_Expecter (line 34) | type mockS3Presigner_Expecter struct method FetchCredentialsForRole (line 82) | func (_e *mockS3Presigner_Expecter) FetchCredentialsForRole(ctx interf... method PresignURL (line 172) | func (_e *mockS3Presigner_Expecter) PresignURL(ctx interface{}, method... method ServerSideEncryptionType (line 247) | func (_e *mockS3Presigner_Expecter) ServerSideEncryptionType() *mockS3... type mockS3Presigner_FetchCredentialsForRole_Call (line 71) | type mockS3Presigner_FetchCredentialsForRole_Call struct method Run (line 86) | func (_c *mockS3Presigner_FetchCredentialsForRole_Call) Run(run func(c... method Return (line 124) | func (_c *mockS3Presigner_FetchCredentialsForRole_Call) Return(stringT... method RunAndReturn (line 129) | func (_c *mockS3Presigner_FetchCredentialsForRole_Call) RunAndReturn(r... type mockS3Presigner_PresignURL_Call (line 161) | type mockS3Presigner_PresignURL_Call struct method Run (line 176) | func (_c *mockS3Presigner_PresignURL_Call) Run(run func(ctx context.Co... method Return (line 214) | func (_c *mockS3Presigner_PresignURL_Call) Return(presignedURL cache.P... method RunAndReturn (line 219) | func (_c *mockS3Presigner_PresignURL_Call) RunAndReturn(run func(ctx c... type mockS3Presigner_ServerSideEncryptionType_Call (line 242) | type mockS3Presigner_ServerSideEncryptionType_Call struct method Run (line 251) | func (_c *mockS3Presigner_ServerSideEncryptionType_Call) Run(run func(... method Return (line 258) | func (_c *mockS3Presigner_ServerSideEncryptionType_Call) Return(s stri... method RunAndReturn (line 263) | func (_c *mockS3Presigner_ServerSideEncryptionType_Call) RunAndReturn(... FILE: cache/s3v2/s3.go constant DEFAULT_AWS_S3_ENDPOINT (line 29) | DEFAULT_AWS_S3_ENDPOINT = "https://s3.amazonaws.com" constant fallbackBucketLocation (line 30) | fallbackBucketLocation = "us-east-1" constant defaultAssumeRoleMaxConcurrency (line 32) | defaultAssumeRoleMaxConcurrency = 5 constant assumeRoleCredCacheSize (line 75) | assumeRoleCredCacheSize = 1000 constant assumeRoleCredCacheTTL (line 81) | assumeRoleCredCacheTTL = time.Hour type cachedCredential (line 98) | type cachedCredential struct function assumeRoleCacheKey (line 104) | func assumeRoleCacheKey(roleARN, bucketName, objectName string, upload b... function FlushCredentialCache (line 115) | func FlushCredentialCache() { type s3Presigner (line 119) | type s3Presigner interface type s3Client (line 132) | type s3Client struct method PresignURL (line 156) | func (c *s3Client) PresignURL(ctx context.Context, method generateSessionPolicy (line 215) | func (c *s3Client) generateSessionPolicy(bucketName, objectName string... method cachedCreds (line 263) | func (c *s3Client) cachedCreds(credKey string, minValidity time.Durati... method acquireAssumeRoleSem (line 278) | func (c *s3Client) acquireAssumeRoleSem(ctx context.Context) (func(), ... method FetchCredentialsForRole (line 296) | func (c *s3Client) FetchCredentialsForRole(ctx context.Context, roleAR... method ServerSideEncryptionType (line 398) | func (c *s3Client) ServerSideEncryptionType() string { type s3ClientOption (line 142) | type s3ClientOption function withSTSEndpoint (line 144) | func withSTSEndpoint(endpoint string) s3ClientOption { function withAssumeRoleSem (line 150) | func withAssumeRoleSem(sem chan struct{}) s3ClientOption { function s3EncryptionType (line 402) | func s3EncryptionType(encryptionType cacheconfig.S3EncryptionType) string { function newRawS3Client (line 415) | func newRawS3Client(s3Config *cacheconfig.CacheS3Config) (*aws.Config, *... function detectBucketLocation (line 482) | func detectBucketLocation(s3Config *cacheconfig.CacheS3Config, optFuncs ... type clientInit (line 538) | type clientInit struct function buildS3Client (line 548) | func buildS3Client(s3Config *cacheconfig.CacheS3Config, options ...s3Cli... FILE: cache/s3v2/s3_test.go type sessionPolicy (line 32) | type sessionPolicy struct type policyStatement (line 37) | type policyStatement struct function setupMockS3Server (line 43) | func setupMockS3Server(t *testing.T) *cacheconfig.CacheS3Config { function TestS3ClientCaching (line 77) | func TestS3ClientCaching(t *testing.T) { function TestNewS3ClientOptions (line 112) | func TestNewS3ClientOptions(t *testing.T) { function TestS3Client_PresignURL (line 300) | func TestS3Client_PresignURL(t *testing.T) { function TestS3Client_PresignURL_UnknownMethodError (line 411) | func TestS3Client_PresignURL_UnknownMethodError(t *testing.T) { function newMockSTSHandler (line 422) | func newMockSTSHandler(expectedKms bool, expectedDurationSecs int, s3Par... function TestFetchCredentialsForRole (line 549) | func TestFetchCredentialsForRole(t *testing.T) { function histogramSampleCount (line 706) | func histogramSampleCount(t *testing.T, h prometheus.Histogram) uint64 { function TestFetchCredentialsForRole_ConcurrencyLimit (line 715) | func TestFetchCredentialsForRole_ConcurrencyLimit(t *testing.T) { function TestFetchCredentialsForRole_ContextCancelledWaitingForSemaphore (line 796) | func TestFetchCredentialsForRole_ContextCancelledWaitingForSemaphore(t *... function TestFetchCredentialsForRole_Metrics (line 825) | func TestFetchCredentialsForRole_Metrics(t *testing.T) { function TestDetectBucketLocation (line 866) | func TestDetectBucketLocation(t *testing.T) { function TestFetchCredentialsForRole_CacheHit (line 933) | func TestFetchCredentialsForRole_CacheHit(t *testing.T) { function TestFetchCredentialsForRole_CacheExpiry (line 987) | func TestFetchCredentialsForRole_CacheExpiry(t *testing.T) { function TestFetchCredentialsForRole_NoErrorCaching (line 1036) | func TestFetchCredentialsForRole_NoErrorCaching(t *testing.T) { function TestFlushCredentialCache (line 1063) | func TestFlushCredentialCache(t *testing.T) { function TestFetchCredentialsForRole_CacheMetrics (line 1084) | func TestFetchCredentialsForRole_CacheMetrics(t *testing.T) { function TestFetchCredentialsForRole_CacheDisabled (line 1128) | func TestFetchCredentialsForRole_CacheDisabled(t *testing.T) { function TestChecksumDefaults (line 1173) | func TestChecksumDefaults(t *testing.T) { function TestFetchCredentialsForRole_FailureMetric (line 1246) | func TestFetchCredentialsForRole_FailureMetric(t *testing.T) { FILE: cache/test/adapter.go type testAdapter (line 14) | type testAdapter struct method GetDownloadURL (line 20) | func (t *testAdapter) GetDownloadURL(ctx context.Context) cache.Presig... method GetHeadURL (line 24) | func (t *testAdapter) GetHeadURL(ctx context.Context) cache.PresignedU... method GetUploadURL (line 28) | func (t *testAdapter) GetUploadURL(ctx context.Context) cache.Presigne... method GetUploadHeaders (line 32) | func (t *testAdapter) GetUploadHeaders() http.Header { method GetGoCloudURL (line 43) | func (t *testAdapter) GetGoCloudURL(ctx context.Context, _ bool) (cach... method WithMetadata (line 64) | func (t *testAdapter) WithMetadata(metadata map[string]string) { method getUploadEnv (line 68) | func (t *testAdapter) getUploadEnv(_ context.Context) map[string]string { method getURL (line 75) | func (t *testAdapter) getURL(operation string) *url.URL { function New (line 83) | func New(_ *cacheconfig.Config, _ time.Duration, objectName string) (cac... function NewGoCloudAdapter (line 87) | func NewGoCloudAdapter(_ *cacheconfig.Config, _ time.Duration, objectNam... function init (line 91) | func init() { FILE: commands/builds_helper.go constant concurrencyIncreaseFactor (line 21) | concurrencyIncreaseFactor = 1.1 constant concurrencyDecreaseFactor (line 22) | concurrencyDecreaseFactor = 0.95 type statePermutation (line 67) | type statePermutation struct function newStatePermutationFromBuild (line 76) | func newStatePermutationFromBuild(build *common.Build) statePermutation { type runnerCounter (line 87) | type runnerCounter struct type buildsHelper (line 100) | type buildsHelper struct method getRunnerCounter (line 117) | func (b *buildsHelper) getRunnerCounter(runner *common.RunnerConfig) *... method findSessionByURL (line 131) | func (b *buildsHelper) findSessionByURL(url string) (*session.Session,... method acquireBuild (line 158) | func (b *buildsHelper) acquireBuild(runner *common.RunnerConfig) bool { method releaseBuild (line 173) | func (b *buildsHelper) releaseBuild(runner *common.RunnerConfig) bool { method acquireRequest (line 185) | func (b *buildsHelper) acquireRequest(runner *common.RunnerConfig) bool { method releaseRequest (line 210) | func (b *buildsHelper) releaseRequest(runner *common.RunnerConfig, has... method addBuild (line 234) | func (b *buildsHelper) addBuild(build *common.Build) { method evaluateJobQueuingDuration (line 295) | func (b *buildsHelper) evaluateJobQueuingDuration(runner *common.Runne... method removeBuild (line 344) | func (b *buildsHelper) removeBuild(deleteBuild *common.Build) bool { method buildsCount (line 366) | func (b *buildsHelper) buildsCount() int { method statesAndStages (line 373) | func (b *buildsHelper) statesAndStages() map[statePermutation]int { method runnersCounters (line 401) | func (b *buildsHelper) runnersCounters() map[string]*runnerCounter { method initializeBuildStageMetrics (line 413) | func (b *buildsHelper) initializeBuildStageMetrics(build *common.Build) { method handleOnBuildStageStart (line 436) | func (b *buildsHelper) handleOnBuildStageStart(build *common.Build, st... method handleOnBuildStageEnd (line 442) | func (b *buildsHelper) handleOnBuildStageEnd(build *common.Build, stag... method handleOnJobExecutionModeDispatched (line 457) | func (b *buildsHelper) handleOnJobExecutionModeDispatched(mode common.... method Describe (line 466) | func (b *buildsHelper) Describe(ch chan<- *prometheus.Desc) { method Collect (line 485) | func (b *buildsHelper) Collect(ch chan<- prometheus.Metric) { method ListJobsHandler (line 554) | func (b *buildsHelper) ListJobsHandler(w http.ResponseWriter, r *http.... function newBuildsHelper (line 575) | func newBuildsHelper() buildsHelper { FILE: commands/builds_helper_integration_test.go function TestBuildsHelperCollect (line 21) | func TestBuildsHelperCollect(t *testing.T) { FILE: commands/builds_helper_test.go constant testToken (line 27) | testToken = "testoken" constant testName (line 28) | testName = "qwerty123" function TestBuildsHelperAcquireRequestWithLimit (line 31) | func TestBuildsHelperAcquireRequestWithLimit(t *testing.T) { function TestBuildsHelperAcquireRequestWithAdaptiveLimit (line 50) | func TestBuildsHelperAcquireRequestWithAdaptiveLimit(t *testing.T) { function TestBuildsHelperAcquireRequestWithDefault (line 75) | func TestBuildsHelperAcquireRequestWithDefault(t *testing.T) { function TestBuildsHelperAcquireBuildWithLimit (line 103) | func TestBuildsHelperAcquireBuildWithLimit(t *testing.T) { function TestBuildsHelperAcquireBuildUnlimited (line 122) | func TestBuildsHelperAcquireBuildUnlimited(t *testing.T) { function TestBuildsHelperFindSessionByURL (line 141) | func TestBuildsHelperFindSessionByURL(t *testing.T) { function TestBuildsHelper_ListJobsHandler (line 180) | func TestBuildsHelper_ListJobsHandler(t *testing.T) { function TestRestrictHTTPMethods (line 236) | func TestRestrictHTTPMethods(t *testing.T) { function TestBuildsHelper_evaluateJobQueuingDuration (line 263) | func TestBuildsHelper_evaluateJobQueuingDuration(t *testing.T) { function TestJobExecutionModeTotal (line 405) | func TestJobExecutionModeTotal(t *testing.T) { function TestPrepareStageMetrics (line 477) | func TestPrepareStageMetrics(t *testing.T) { function TestPrepareStageMetricsNoFF (line 518) | func TestPrepareStageMetricsNoFF(t *testing.T) { function TestEnsureJobsTotalIsZero (line 541) | func TestEnsureJobsTotalIsZero(t *testing.T) { FILE: commands/config.go function GetDefaultConfigFile (line 10) | func GetDefaultConfigFile() string { function GetDefaultCertificateDirectory (line 14) | func GetDefaultCertificateDirectory() string { function init (line 18) | func init() { FILE: commands/config_unix.go function getDefaultConfigDirectory (line 14) | func getDefaultConfigDirectory() string { FILE: commands/config_windows.go function getDefaultConfigDirectory (line 7) | func getDefaultConfigDirectory() string { FILE: commands/constants.go constant osTypeLinux (line 4) | osTypeLinux = "linux" constant osTypeDarwin (line 5) | osTypeDarwin = "darwin" constant osTypeWindows (line 6) | osTypeWindows = "windows" constant osTypeFreeBSD (line 7) | osTypeFreeBSD = "freebsd" FILE: commands/fleeting/fleeting.go type runnerFleetingPlugin (line 21) | type runnerFleetingPlugin struct function getPlugins (line 26) | func getPlugins(context *cli.Context) []runnerFleetingPlugin { function install (line 49) | func install(clictx *cli.Context) { function list (line 74) | func list(clictx *cli.Context) { function login (line 90) | func login(clictx *cli.Context) error { function NewCommand (line 112) | func NewCommand() cli.Command { FILE: commands/fleeting/fleeting_integration_test.go function init (line 15) | func init() { function TestInstall (line 24) | func TestInstall(t *testing.T) { FILE: commands/health_helper.go type healthData (line 13) | type healthData struct type healthHelper (line 18) | type healthHelper struct method getHealth (line 37) | func (mr *healthHelper) getHealth(id string) *healthData { method isHealthy (line 53) | func (mr *healthHelper) isHealthy(runner *common.RunnerConfig) bool { method runnerHealthCheckFailures (line 80) | func (mr *healthHelper) runnerHealthCheckFailures(runner *common.Runne... method markHealth (line 84) | func (mr *healthHelper) markHealth(runner *common.RunnerConfig, health... method Describe (line 112) | func (mr *healthHelper) Describe(ch chan<- *prometheus.Desc) { method Collect (line 116) | func (mr *healthHelper) Collect(ch chan<- prometheus.Metric) { function newHealthHelper (line 25) | func newHealthHelper() healthHelper { FILE: commands/helpers/archive/archive.go type CompressionLevel (line 18) | type CompressionLevel constant FastestCompression (line 23) | FastestCompression CompressionLevel = -2 constant FastCompression (line 24) | FastCompression CompressionLevel = -1 constant DefaultCompression (line 25) | DefaultCompression CompressionLevel = 0 constant SlowCompression (line 26) | SlowCompression CompressionLevel = 1 constant SlowestCompression (line 27) | SlowestCompression CompressionLevel = 2 type Format (line 31) | type Format constant Raw (line 35) | Raw Format = "raw" constant Gzip (line 36) | Gzip Format = "gzip" constant Zip (line 37) | Zip Format = "zip" constant ZipZstd (line 38) | ZipZstd Format = "zipzstd" constant TarZstd (line 39) | TarZstd Format = "tarzstd" type Archiver (line 48) | type Archiver interface type Extractor (line 53) | type Extractor interface type NewArchiverFunc (line 59) | type NewArchiverFunc type NewExtractorFunc (line 63) | type NewExtractorFunc function Register (line 67) | func Register( function NewArchiver (line 90) | func NewArchiver(format Format, w io.Writer, dir string, level Compressi... function NewExtractor (line 102) | func NewExtractor(format Format, r io.ReaderAt, size int64, dir string) ... FILE: commands/helpers/archive/archive_test.go function TestDefaultRegistration (line 20) | func TestDefaultRegistration(t *testing.T) { function TestRegister (line 52) | func TestRegister(t *testing.T) { function TestRegisterOverride (line 64) | func TestRegisterOverride(t *testing.T) { FILE: commands/helpers/archive/fastzip/options_test.go function TestOptionFromEnvValidation (line 16) | func TestOptionFromEnvValidation(t *testing.T) { function TestArchiverOptionFromEnv (line 36) | func TestArchiverOptionFromEnv(t *testing.T) { function TestExtractorOptionFromEnv (line 57) | func TestExtractorOptionFromEnv(t *testing.T) { function archiveTestDir (line 90) | func archiveTestDir(t *testing.T, fn func(string, string, error)) { function tempEnvOption (line 111) | func tempEnvOption(option, value string) func() { FILE: commands/helpers/archive/fastzip/zip_fastzip_archiver.go function init (line 33) | func init() { constant archiverConcurrency (line 38) | archiverConcurrency = "FASTZIP_ARCHIVER_CONCURRENCY" constant archiverBufferSize (line 39) | archiverBufferSize = "FASTZIP_ARCHIVER_BUFFER_SIZE" constant archiverStagingDir (line 41) | archiverStagingDir = "ARCHIVER_STAGING_DIR" type archiver (line 45) | type archiver struct method Archive (line 72) | func (a *archiver) Archive(ctx context.Context, files map[string]os.Fi... function NewArchiver (line 53) | func NewArchiver(w io.Writer, dir string, level archive.CompressionLevel... function NewZstdArchiver (line 62) | func NewZstdArchiver(w io.Writer, dir string, level archive.CompressionL... function getArchiverOptionsFromEnvironment (line 115) | func getArchiverOptionsFromEnvironment() ([]fastzip.ArchiverOption, erro... FILE: commands/helpers/archive/fastzip/zip_fastzip_extractor.go constant extractorConcurrency (line 16) | extractorConcurrency = "FASTZIP_EXTRACTOR_CONCURRENCY" type extractor (line 20) | type extractor struct method Extract (line 33) | func (e *extractor) Extract(ctx context.Context) error { function NewExtractor (line 27) | func NewExtractor(r io.ReaderAt, size int64, dir string) (archive.Extrac... function getExtractorOptionsFromEnvironment (line 48) | func getExtractorOptionsFromEnvironment() ([]fastzip.ExtractorOption, er... FILE: commands/helpers/archive/gziplegacy/gzip_legacy_archiver.go function init (line 13) | func init() { type archiver (line 18) | type archiver struct method Archive (line 29) | func (a *archiver) Archive(ctx context.Context, files map[string]os.Fi... function NewArchiver (line 24) | func NewArchiver(w io.Writer, dir string, level archive.CompressionLevel... FILE: commands/helpers/archive/mocks.go function NewMockArchiver (line 16) | func NewMockArchiver(t interface { type MockArchiver (line 29) | type MockArchiver struct method EXPECT (line 37) | func (_m *MockArchiver) EXPECT() *MockArchiver_Expecter { method Archive (line 42) | func (_mock *MockArchiver) Archive(ctx context.Context, files map[stri... type MockArchiver_Expecter (line 33) | type MockArchiver_Expecter struct method Archive (line 66) | func (_e *MockArchiver_Expecter) Archive(ctx interface{}, files interf... type MockArchiver_Archive_Call (line 59) | type MockArchiver_Archive_Call struct method Run (line 70) | func (_c *MockArchiver_Archive_Call) Run(run func(ctx context.Context,... method Return (line 88) | func (_c *MockArchiver_Archive_Call) Return(err error) *MockArchiver_A... method RunAndReturn (line 93) | func (_c *MockArchiver_Archive_Call) RunAndReturn(run func(ctx context... function NewMockExtractor (line 100) | func NewMockExtractor(t interface { type MockExtractor (line 113) | type MockExtractor struct method EXPECT (line 121) | func (_m *MockExtractor) EXPECT() *MockExtractor_Expecter { method Extract (line 126) | func (_mock *MockExtractor) Extract(ctx context.Context) error { type MockExtractor_Expecter (line 117) | type MockExtractor_Expecter struct method Extract (line 149) | func (_e *MockExtractor_Expecter) Extract(ctx interface{}) *MockExtrac... type MockExtractor_Extract_Call (line 143) | type MockExtractor_Extract_Call struct method Run (line 153) | func (_c *MockExtractor_Extract_Call) Run(run func(ctx context.Context... method Return (line 166) | func (_c *MockExtractor_Extract_Call) Return(err error) *MockExtractor... method RunAndReturn (line 171) | func (_c *MockExtractor_Extract_Call) RunAndReturn(run func(ctx contex... FILE: commands/helpers/archive/raw/raw_archiver.go function init (line 12) | func init() { type archiver (line 22) | type archiver struct method Archive (line 35) | func (a *archiver) Archive(ctx context.Context, files map[string]os.Fi... function NewArchiver (line 28) | func NewArchiver(w io.Writer, dir string, level archive.CompressionLevel... FILE: commands/helpers/archive/tarzstd/ops_unix.go function lchmod (line 13) | func lchmod(name string, mode os.FileMode) error { function lchtimes (line 31) | func lchtimes(name string, mode os.FileMode, atime, mtime time.Time) err... function lchown (line 49) | func lchown(name string, uid, gid int) error { FILE: commands/helpers/archive/tarzstd/ops_windows.go function lchmod (line 10) | func lchmod(name string, mode os.FileMode) error { function lchtimes (line 18) | func lchtimes(name string, mode os.FileMode, atime, mtime time.Time) err... function lchown (line 26) | func lchown(name string, uid, gid int) error { FILE: commands/helpers/archive/tarzstd/tarzstd_archiver.go function init (line 17) | func init() { constant irregularModes (line 21) | irregularModes = os.ModeSocket | os.ModeDevice | os.ModeCharDevice | os.... type archiver (line 32) | type archiver struct method Archive (line 46) | func (a *archiver) Archive(ctx context.Context, files map[string]os.Fi... function NewArchiver (line 39) | func NewArchiver(w io.Writer, dir string, level archive.CompressionLevel... FILE: commands/helpers/archive/tarzstd/tarzstd_extractor.go type extractor (line 18) | type extractor struct method Extract (line 33) | func (e *extractor) Extract(ctx context.Context) error { method updateFileMetadata (line 127) | func (e *extractor) updateFileMetadata(path string, hdr *tar.Header) e... function NewExtractor (line 25) | func NewExtractor(r io.ReaderAt, size int64, dir string) (archive.Extrac... FILE: commands/helpers/archive/ziplegacy/zip_legacy_archiver.go function init (line 16) | func init() { type archiver (line 24) | type archiver struct method Archive (line 35) | func (a *archiver) Archive(ctx context.Context, files map[string]os.Fi... function NewArchiver (line 30) | func NewArchiver(w io.Writer, dir string, level archive.CompressionLevel... FILE: commands/helpers/archive/ziplegacy/zip_legacy_extractor.go type extractor (line 13) | type extractor struct method Extract (line 26) | func (e *extractor) Extract(ctx context.Context) error { function NewExtractor (line 20) | func NewExtractor(r io.ReaderAt, size int64, dir string) (archive.Extrac... FILE: commands/helpers/archiver.go function init (line 19) | func init() { function GetCompressionLevel (line 41) | func GetCompressionLevel(name string) archive.CompressionLevel { FILE: commands/helpers/archiver_test.go function TestCompressionLevel (line 18) | func TestCompressionLevel(t *testing.T) { function TestArchiver (line 36) | func TestArchiver(t *testing.T) { function TestZipArchiveExtract (line 88) | func TestZipArchiveExtract(t *testing.T) { FILE: commands/helpers/artifact_metadata.go constant artifactsStatementFormat (line 27) | artifactsStatementFormat = "%v-metadata.json" constant attestationTypeFormat (line 28) | attestationTypeFormat = "https://gitlab.com/gitlab-org/gitlab-runner... constant attestationRunnerIDFormat (line 29) | attestationRunnerIDFormat = "%v/-/runners/%v" type artifactStatementGenerator (line 32) | type artifactStatementGenerator struct method generateStatementToFile (line 58) | func (g *artifactStatementGenerator) generateStatementToFile(opts gene... method generateSLSAv1Predicate (line 106) | func (g *artifactStatementGenerator) generateSLSAv1Predicate(jobId int... method externalParams (line 143) | func (g *artifactStatementGenerator) externalParams(jobName, repoURL s... method internalParams (line 160) | func (g *artifactStatementGenerator) internalParams(jobId int64) (*str... method version (line 169) | func (g *artifactStatementGenerator) version() string { method parseTimings (line 177) | func (g *artifactStatementGenerator) parseTimings() (time.Time, time.T... method generateSubjects (line 191) | func (g *artifactStatementGenerator) generateSubjects(files map[string... type generateStatementOptions (line 46) | type generateStatementOptions struct constant slsaProvenanceVersion1 (line 54) | slsaProvenanceVersion1 = "v1" constant defaultSLSAProvenanceVersion (line 55) | defaultSLSAProvenanceVersion = slsaProvenanceVersion1 FILE: commands/helpers/artifact_metadata_test.go type fileInfo (line 28) | type fileInfo struct method Name (line 33) | func (fi fileInfo) Name() string { method Size (line 37) | func (fi fileInfo) Size() int64 { method Mode (line 41) | func (fi fileInfo) Mode() fs.FileMode { method ModTime (line 45) | func (fi fileInfo) ModTime() time.Time { method IsDir (line 49) | func (fi fileInfo) IsDir() bool { method Sys (line 53) | func (fi fileInfo) Sys() any { function TestGenerateMetadataToFile (line 57) | func TestGenerateMetadataToFile(t *testing.T) { function TestGeneratePredicateV1 (line 292) | func TestGeneratePredicateV1(t *testing.T) { FILE: commands/helpers/artifacts_downloader.go type ArtifactsDownloaderCommand (line 22) | type ArtifactsDownloaderCommand struct method directDownloadFlag (line 49) | func (c *ArtifactsDownloaderCommand) directDownloadFlag(retry int) *bo... method download (line 60) | func (c *ArtifactsDownloaderCommand) download(file string, retry int) ... method Execute (line 88) | func (c *ArtifactsDownloaderCommand) Execute(cliContext *cli.Context) { function NewArtifactsDownloaderCommand (line 32) | func NewArtifactsDownloaderCommand() cli.Command { function openArchive (line 148) | func openArchive(filename string) (*os.File, int64, archive.Format, erro... FILE: commands/helpers/artifacts_downloader_test.go function TestArtifactsDownloaderRequirements (line 27) | func TestArtifactsDownloaderRequirements(t *testing.T) { function TestArtifactsDownloader (line 37) | func TestArtifactsDownloader(t *testing.T) { function Test_URFavArgParsing (line 142) | func Test_URFavArgParsing(t *testing.T) { FILE: commands/helpers/artifacts_test.go constant artifactsTestArchivedFile (line 21) | artifactsTestArchivedFile = "archive_file" constant artifactsTestArchivedFile2 (line 22) | artifactsTestArchivedFile2 = "archive_file2" type testNetwork (line 27) | type testNetwork struct method DownloadArtifacts (line 40) | func (m *testNetwork) DownloadArtifacts( method consumeZipUpload (line 61) | func (m *testNetwork) consumeZipUpload(reader io.Reader) common.Upload... method consumeGzipUpload (line 79) | func (m *testNetwork) consumeGzipUpload(reader io.Reader) common.Uploa... method consumeRawUpload (line 113) | func (m *testNetwork) consumeRawUpload(reader io.Reader) common.Upload... method UploadRawArtifacts (line 124) | func (m *testNetwork) UploadRawArtifacts( function writeTestFile (line 162) | func writeTestFile(t *testing.T, fileName string) { function removeTestFile (line 167) | func removeTestFile(t *testing.T, fileName string) { FILE: commands/helpers/artifacts_uploader.go constant DefaultUploadName (line 28) | DefaultUploadName = "default" constant defaultTries (line 29) | defaultTries = 3 constant serviceUnavailableTries (line 30) | serviceUnavailableTries = 6 type ArtifactsUploaderCommand (line 38) | type ArtifactsUploaderCommand struct method artifactFilename (line 79) | func (c *ArtifactsUploaderCommand) artifactFilename(name string, forma... method createBodyProvider (line 99) | func (c *ArtifactsUploaderCommand) createBodyProvider() (string, commo... method Run (line 141) | func (c *ArtifactsUploaderCommand) Run() error { method handleRedirect (line 177) | func (c *ArtifactsUploaderCommand) handleRedirect(location string) err... method shouldRetry (line 195) | func (c *ArtifactsUploaderCommand) shouldRetry(tries int, err error) b... method Execute (line 213) | func (c *ArtifactsUploaderCommand) Execute(*cli.Context) { method NewRetry (line 245) | func (c *ArtifactsUploaderCommand) NewRetry() *retry.Retry { method normalizeArgs (line 252) | func (c *ArtifactsUploaderCommand) normalizeArgs() { function NewArtifactsUploaderCommand (line 56) | func NewArtifactsUploaderCommand() cli.Command { FILE: commands/helpers/artifacts_uploader_integration_test.go function TestArchiveUploadExpandArgs (line 29) | func TestArchiveUploadExpandArgs(t *testing.T) { function TestArchiveUploadRedirect (line 53) | func TestArchiveUploadRedirect(t *testing.T) { function TestArchiveUploadLogging (line 92) | func TestArchiveUploadLogging(t *testing.T) { function assertRequestPathAndMethod (line 162) | func assertRequestPathAndMethod(t *testing.T, handlerName string, handle... function redirectingServerHandler (line 173) | func redirectingServerHandler(finalServerURL string) http.HandlerFunc { function finalServerHandler (line 180) | func finalServerHandler(t *testing.T, finalRequestReceived *bool, resBod... function receiveFile (line 216) | func receiveFile(t *testing.T, r *http.Request, targetDir string) { FILE: commands/helpers/artifacts_uploader_test.go function createTestNewNetwork (line 31) | func createTestNewNetwork(testNet *testNetwork) func() common.Network { function TestArtifactsUploaderRequirements (line 37) | func TestArtifactsUploaderRequirements(t *testing.T) { function TestArtifactsUploaderTooLarge (line 47) | func TestArtifactsUploaderTooLarge(t *testing.T) { function TestArtifactsUploaderForbidden (line 72) | func TestArtifactsUploaderForbidden(t *testing.T) { function TestArtifactsUploaderRetry (line 97) | func TestArtifactsUploaderRetry(t *testing.T) { function TestArtifactsUploaderDefaultSucceeded (line 124) | func TestArtifactsUploaderDefaultSucceeded(t *testing.T) { function TestArtifactsUploaderZipSucceeded (line 148) | func TestArtifactsUploaderZipSucceeded(t *testing.T) { function TestArtifactsUploaderGzipSendsMultipleFiles (line 176) | func TestArtifactsUploaderGzipSendsMultipleFiles(t *testing.T) { function TestArtifactsUploaderRawSucceeded (line 206) | func TestArtifactsUploaderRawSucceeded(t *testing.T) { function TestArtifactsUploaderRawDoesNotSendMultipleFiles (line 232) | func TestArtifactsUploaderRawDoesNotSendMultipleFiles(t *testing.T) { function TestArtifactsUploaderNoFilesDoNotGenerateError (line 261) | func TestArtifactsUploaderNoFilesDoNotGenerateError(t *testing.T) { function TestArtifactsUploaderServiceUnavailable (line 279) | func TestArtifactsUploaderServiceUnavailable(t *testing.T) { function TestArtifactsExcludedPaths (line 304) | func TestArtifactsExcludedPaths(t *testing.T) { function TestFileArchiverCompressionLevel (line 327) | func TestFileArchiverCompressionLevel(t *testing.T) { function TestArtifactUploaderCommandShouldRetry (line 375) | func TestArtifactUploaderCommandShouldRetry(t *testing.T) { function TestNewArtifactsUploaderCommandDefaultTimeouts (line 440) | func TestNewArtifactsUploaderCommandDefaultTimeouts(t *testing.T) { type timeoutTestFixture (line 463) | type timeoutTestFixture struct method setupCommand (line 471) | func (f *timeoutTestFixture) setupCommand() *ArtifactsUploaderCommand { function TestArtifactsUploaderCommandTimeouts (line 498) | func TestArtifactsUploaderCommandTimeouts(t *testing.T) { FILE: commands/helpers/cache_archiver.go type CacheArchiverCommand (line 34) | type CacheArchiverCommand struct method getClient (line 83) | func (c *CacheArchiverCommand) getClient() *CacheClient { method upload (line 91) | func (c *CacheArchiverCommand) upload(_ int) error { method handlePresignedURL (line 118) | func (c *CacheArchiverCommand) handlePresignedURL(fi os.FileInfo, file... method handleGoCloudURL (line 143) | func (c *CacheArchiverCommand) handleGoCloudURL(file io.Reader) error { method createZipFile (line 205) | func (c *CacheArchiverCommand) createZipFile(filename string) (int64, ... method tryRenameAlternateFile (line 251) | func (c *CacheArchiverCommand) tryRenameAlternateFile() { method Execute (line 284) | func (c *CacheArchiverCommand) Execute(*cli.Context) { method normalizeArgs (line 336) | func (c *CacheArchiverCommand) normalizeArgs() { method uploadExistingArchiveIfNeeded (line 370) | func (c *CacheArchiverCommand) uploadExistingArchiveIfNeeded() { method primaryRemoteExists (line 385) | func (c *CacheArchiverCommand) primaryRemoteExists() bool { method primaryPresignedExists (line 395) | func (c *CacheArchiverCommand) primaryPresignedExists() bool { method primaryGoCloudExists (line 407) | func (c *CacheArchiverCommand) primaryGoCloudExists() bool { method uploadArchiveIfNeeded (line 443) | func (c *CacheArchiverCommand) uploadArchiveIfNeeded(size int64) { method setHeaders (line 463) | func (c *CacheArchiverCommand) setHeaders(req *http.Request, fi os.Fil... function NewCacheArchiverCommand (line 61) | func NewCacheArchiverCommand() cli.Command { type metadata (line 77) | type metadata method UnmarshalFlag (line 79) | func (m *metadata) UnmarshalFlag(raw string) error { function split (line 475) | func split(raw []string) map[string]string { FILE: commands/helpers/cache_archiver_integration_test.go constant cacheArchiverArchive (line 32) | cacheArchiverArchive = "archive.zip" constant cacheArchiverMetadata (line 33) | cacheArchiverMetadata = "metadata.json" constant cacheArchiverTestArchivedFile (line 34) | cacheArchiverTestArchivedFile = "archive_file" constant cacheExtractorTestArchivedFile (line 35) | cacheExtractorTestArchivedFile = "archive_file" function TestCacheArchiveLocalMetadata (line 38) | func TestCacheArchiveLocalMetadata(t *testing.T) { function TestCacheArchiverUploadExpandArgs (line 95) | func TestCacheArchiverUploadExpandArgs(t *testing.T) { function TestCacheArchiverIsUpToDate (line 117) | func TestCacheArchiverIsUpToDate(t *testing.T) { function TestCacheArchiverForIfNoFileDefined (line 142) | func TestCacheArchiverForIfNoFileDefined(t *testing.T) { function TestCacheArchiverRemoteServerNotFound (line 151) | func TestCacheArchiverRemoteServerNotFound(t *testing.T) { function TestCacheArchiverRemoteServer (line 174) | func TestCacheArchiverRemoteServer(t *testing.T) { function TestCacheArchiverGoCloudRemoteServer (line 197) | func TestCacheArchiverGoCloudRemoteServer(t *testing.T) { function TestCacheArchiverRemoteServerWithHeaders (line 229) | func TestCacheArchiverRemoteServerWithHeaders(t *testing.T) { function TestCacheArchiverRemoteServerTimedOut (line 248) | func TestCacheArchiverRemoteServerTimedOut(t *testing.T) { function TestCacheArchiverRemoteServerFailOnInvalidServer (line 277) | func TestCacheArchiverRemoteServerFailOnInvalidServer(t *testing.T) { function TestCacheArchiverCompressionLevel (line 297) | func TestCacheArchiverCompressionLevel(t *testing.T) { type dirOpener (line 330) | type dirOpener struct method OpenBucketURL (line 334) | func (o *dirOpener) OpenBucketURL(_ context.Context, u *url.URL) (*blo... function setupGoCloudFileBucket (line 338) | func setupGoCloudFileBucket(t *testing.T, scheme string) (m *blob.URLMux... function goCloudObjectAttributes (line 350) | func goCloudObjectAttributes(t *testing.T, bucketDir string, objectName ... function testCacheBaseUploadHandler (line 367) | func testCacheBaseUploadHandler(w http.ResponseWriter, r *http.Request) { function testCacheUploadHandler (line 381) | func testCacheUploadHandler(w http.ResponseWriter, r *http.Request) { function testCacheUploadWithCustomHeaders (line 394) | func testCacheUploadWithCustomHeaders(w http.ResponseWriter, r *http.Req... function writeTestFile (line 410) | func writeTestFile(t *testing.T, fileName string) { function TestCacheArchiverUploadedSize (line 415) | func TestCacheArchiverUploadedSize(t *testing.T) { function TestCacheArchiverSkipsEmptyCache (line 474) | func TestCacheArchiverSkipsEmptyCache(t *testing.T) { FILE: commands/helpers/cache_archiver_test.go function TestUploadExistingArchiveIfNeeded (line 16) | func TestUploadExistingArchiveIfNeeded(t *testing.T) { function TestTryRenameAlternateFile (line 81) | func TestTryRenameAlternateFile(t *testing.T) { FILE: commands/helpers/cache_client.go type CacheClient (line 11) | type CacheClient struct method prepareClient (line 15) | func (c *CacheClient) prepareClient(timeout int) { method prepareTransport (line 23) | func (c *CacheClient) prepareTransport() { function NewCacheClient (line 38) | func NewCacheClient(timeout int) *CacheClient { FILE: commands/helpers/cache_defaults.go constant defaultCacheTransferBufferSize (line 7) | defaultCacheTransferBufferSize = 4 * 1024 * 1024 constant defaultCacheChunkSize (line 8) | defaultCacheChunkSize = 16 * 1024 * 1024 constant defaultCacheConcurrency (line 9) | defaultCacheConcurrency = 16 constant logFieldHTTPETag (line 12) | logFieldHTTPETag = "etag" function validateCacheTransferTuning (line 17) | func validateCacheTransferTuning(transferBufferSize, chunkSize, concurre... FILE: commands/helpers/cache_defaults_test.go function TestValidateCacheTransferTuning (line 11) | func TestValidateCacheTransferTuning(t *testing.T) { FILE: commands/helpers/cache_env.go function loadEnvFile (line 10) | func loadEnvFile(filename string) error { FILE: commands/helpers/cache_env_test.go function TestLoadEnvFile (line 13) | func TestLoadEnvFile(t *testing.T) { FILE: commands/helpers/cache_extractor.go type CacheExtractorCommand (line 32) | type CacheExtractorCommand struct method normalizeExtractorArgs (line 71) | func (c *CacheExtractorCommand) normalizeExtractorArgs() { method getClient (line 80) | func (c *CacheExtractorCommand) getClient() *CacheClient { method download (line 107) | func (c *CacheExtractorCommand) download(_ int) error { method getCache (line 121) | func (c *CacheExtractorCommand) getCache() (*http.Response, error) { method gocloudSupportsRange (line 148) | func (c *CacheExtractorCommand) gocloudSupportsRange(ctx context.Conte... method gocloudParallelRangeSupported (line 157) | func (c *CacheExtractorCommand) gocloudParallelRangeSupported(ctx cont... method handlePresignedURL (line 164) | func (c *CacheExtractorCommand) handlePresignedURL() error { method presignedParallelDownloadEligible (line 177) | func (c *CacheExtractorCommand) presignedParallelDownloadEligible() bo... method tryPresignedParallelDownload (line 186) | func (c *CacheExtractorCommand) tryPresignedParallelDownload() (done b... method downloadPresignedSequential (line 235) | func (c *CacheExtractorCommand) downloadPresignedSequential() error { method effectiveParallelChunkSize (line 255) | func (c *CacheExtractorCommand) effectiveParallelChunkSize() int { method presignedRangeFetchChunk (line 262) | func (c *CacheExtractorCommand) presignedRangeFetchChunk() func(offset... method handleGoCloudURL (line 282) | func (c *CacheExtractorCommand) handleGoCloudURL() error { method downloadParallel (line 357) | func (c *CacheExtractorCommand) downloadParallel(contentLength int64, ... method downloadAndSaveCache (line 412) | func (c *CacheExtractorCommand) downloadAndSaveCache(reader io.Reader,... method Execute (line 464) | func (c *CacheExtractorCommand) Execute(cliContext *cli.Context) { function NewCacheExtractorCommand (line 52) | func NewCacheExtractorCommand() cli.Command { function checkIfUpToDate (line 88) | func checkIfUpToDate(path string, resp *http.Response) (bool, time.Time) { function isLocalCacheFileUpToDate (line 93) | func isLocalCacheFileUpToDate(path string, date time.Time) bool { function getRemoteCacheSize (line 98) | func getRemoteCacheSize(resp *http.Response) int64 { function goCloudURLSchemeAssumesRangeSupport (line 138) | func goCloudURLSchemeAssumesRangeSupport(scheme string) bool { function warningln (line 512) | func warningln(args interface{}) { FILE: commands/helpers/cache_extractor_test.go constant cacheExtractorArchive (line 33) | cacheExtractorArchive = "archive.zip" constant cacheExtractorMetadata (line 34) | cacheExtractorMetadata = "metadata.json" constant cacheExtractorTestArchivedFile (line 35) | cacheExtractorTestArchivedFile = "archive_file" constant cacheExtractorTestFile (line 36) | cacheExtractorTestFile = "test_file" type dirOpener (line 39) | type dirOpener struct method OpenBucketURL (line 43) | func (o *dirOpener) OpenBucketURL(_ context.Context, u *url.URL) (*blo... function setupGoCloudFileBucket (line 47) | func setupGoCloudFileBucket(t *testing.T, scheme string) (m *blob.URLMux... function writeZipFile (line 57) | func writeZipFile(t *testing.T, filename string) { function writeZipFileAndMetadata (line 80) | func writeZipFileAndMetadata(t *testing.T, filename string) { function TestCacheExtractorValidArchive (line 97) | func TestCacheExtractorValidArchive(t *testing.T) { function TestCacheExtractorForInvalidArchive (line 137) | func TestCacheExtractorForInvalidArchive(t *testing.T) { function TestCacheExtractorForIfNoFileDefined (line 153) | func TestCacheExtractorForIfNoFileDefined(t *testing.T) { function TestCacheExtractorForNotExistingFile (line 162) | func TestCacheExtractorForNotExistingFile(t *testing.T) { function testServeCacheWithETag (line 173) | func testServeCacheWithETag(w http.ResponseWriter, r *http.Request) { function testServeCache (line 178) | func testServeCache(w http.ResponseWriter, r *http.Request) { function TestCacheExtractorRemoteServerNotFound (line 200) | func TestCacheExtractorRemoteServerNotFound(t *testing.T) { function TestCacheExtractorRemoteServerTimedOut (line 218) | func TestCacheExtractorRemoteServerTimedOut(t *testing.T) { function TestCacheExtractorRemoteServer (line 244) | func TestCacheExtractorRemoteServer(t *testing.T) { function TestCacheExtractorRemoteServerFailOnInvalidServer (line 303) | func TestCacheExtractorRemoteServerFailOnInvalidServer(t *testing.T) { function TestIsLocalCacheFileUpToDate (line 320) | func TestIsLocalCacheFileUpToDate(t *testing.T) { function cdTempDir (line 343) | func cdTempDir(t *testing.T) { function parallelTestZipBytes (line 358) | func parallelTestZipBytes(t *testing.T) []byte { function parseBytesRangeHeader (line 370) | func parseBytesRangeHeader(h string) (start, end int64, ok bool) { function testParallelPresignedCacheHandler (line 389) | func testParallelPresignedCacheHandler(t *testing.T, payload []byte, las... function TestCacheExtractorPresignedParallelTransfer (line 421) | func TestCacheExtractorPresignedParallelTransfer(t *testing.T) { function TestCacheExtractorGoCloudParallelTransfer (line 457) | func TestCacheExtractorGoCloudParallelTransfer(t *testing.T) { function TestGoCloudURLSchemeAssumesRangeSupport (line 489) | func TestGoCloudURLSchemeAssumesRangeSupport(t *testing.T) { function TestUseParallelCacheTransferEnv (line 502) | func TestUseParallelCacheTransferEnv(t *testing.T) { FILE: commands/helpers/cache_init.go type CacheInitCommand (line 16) | type CacheInitCommand struct method Execute (line 22) | func (c *CacheInitCommand) Execute(ctx *cli.Context) { function NewCacheInitCommand (line 18) | func NewCacheInitCommand() cli.Command { FILE: commands/helpers/cache_init_integration_test.go function newCacheInitTestApp (line 18) | func newCacheInitTestApp() *cli.App { function TestCacheInit (line 30) | func TestCacheInit(t *testing.T) { function TestCacheInit_NoArguments (line 48) | func TestCacheInit_NoArguments(t *testing.T) { FILE: commands/helpers/cache_metadata.go constant cacheMetadataFileName (line 15) | cacheMetadataFileName = "metadata.json" function writeCacheMetadataFile (line 20) | func writeCacheMetadataFile(archiveFilePath string, metadata map[string]... function normalizeCacheMetadataKey (line 43) | func normalizeCacheMetadataKey(key string) string { function headersToCacheMetadata (line 48) | func headersToCacheMetadata(headers http.Header) map[string]string { function extractCacheMetadataKey (line 70) | func extractCacheMetadataKey(headerKey string) (string, bool) { FILE: commands/helpers/cache_metadata_test.go function TestWriteCacheMetadataFile (line 15) | func TestWriteCacheMetadataFile(t *testing.T) { FILE: commands/helpers/file_archiver.go type fileArchiver (line 20) | type fileArchiver struct method isChanged (line 31) | func (c *fileArchiver) isChanged(modTime time.Time) bool { method isFileChanged (line 40) | func (c *fileArchiver) isFileChanged(fileName string) bool { method sortedFiles (line 52) | func (c *fileArchiver) sortedFiles() []string { method process (line 65) | func (c *fileArchiver) process(match string) bool { method isExcluded (line 103) | func (c *fileArchiver) isExcluded(path string) (bool, string) { method exclude (line 123) | func (c *fileArchiver) exclude(rule string) { method add (line 127) | func (c *fileArchiver) add(path string) error { method processPaths (line 140) | func (c *fileArchiver) processPaths() { method processPath (line 146) | func (c *fileArchiver) processPath(path string) { method findRelativePathInProject (line 191) | func (c *fileArchiver) findRelativePathInProject(path string) (string,... method processUntracked (line 224) | func (c *fileArchiver) processUntracked() { method enumerate (line 264) | func (c *fileArchiver) enumerate() error { FILE: commands/helpers/file_archiver_integration_test.go function newFileArchiveInitTestApp (line 21) | func newFileArchiveInitTestApp(file string, paths []string) (*cli.App, *... function TestFileArchiver (line 33) | func TestFileArchiver(t *testing.T) { function setupEnvironment (line 69) | func setupEnvironment(t *testing.T, parentDir, dir string) []string { function trimPrefixes (line 131) | func trimPrefixes(s string, prefixes ...string) string { function createFile (line 141) | func createFile(t *testing.T, path string) { FILE: commands/helpers/file_archiver_test.go constant fileArchiverUntrackedFile (line 18) | fileArchiverUntrackedFile = "untracked_test_file.txt" constant fileArchiverArchiveZipFile (line 19) | fileArchiverArchiveZipFile = "archive.zip" constant fileArchiverNotExistingFile (line 20) | fileArchiverNotExistingFile = "not_existing_file.txt" constant fileArchiverAbsoluteFile (line 21) | fileArchiverAbsoluteFile = "/absolute.txt" constant fileArchiverAbsoluteDoubleStarFile (line 22) | fileArchiverAbsoluteDoubleStarFile = "/**/absolute.txt" constant fileArchiverRelativeFile (line 23) | fileArchiverRelativeFile = "../../../relative.txt" function TestGlobbedFilePath (line 26) | func TestGlobbedFilePath(t *testing.T) { function TestExcludedFilePaths (line 346) | func TestExcludedFilePaths(t *testing.T) { function Test_isExcluded (line 388) | func Test_isExcluded(t *testing.T) { function TestCacheArchiverAddingUntrackedFiles (line 447) | func TestCacheArchiverAddingUntrackedFiles(t *testing.T) { function TestCacheArchiverAddingUntrackedUnicodeFiles (line 464) | func TestCacheArchiverAddingUntrackedUnicodeFiles(t *testing.T) { function TestCacheArchiverAddingFile (line 479) | func TestCacheArchiverAddingFile(t *testing.T) { function TestFileArchiverToFailOnAbsoluteFile (line 492) | func TestFileArchiverToFailOnAbsoluteFile(t *testing.T) { function TestFileArchiverToSucceedOnAbsoluteFileInProject (line 507) | func TestFileArchiverToSucceedOnAbsoluteFileInProject(t *testing.T) { function TestFileArchiverToNotAddFilePathOutsideProjectDirectory (line 523) | func TestFileArchiverToNotAddFilePathOutsideProjectDirectory(t *testing.... function TestFileArchiverToFailOnRelativeFile (line 538) | func TestFileArchiverToFailOnRelativeFile(t *testing.T) { function TestFileArchiver_pathIsInProject (line 553) | func TestFileArchiver_pathIsInProject(t *testing.T) { function TestFileArchiverToAddNotExistingFile (line 623) | func TestFileArchiverToAddNotExistingFile(t *testing.T) { function TestFileArchiverChanged (line 632) | func TestFileArchiverChanged(t *testing.T) { function TestFileArchiverFileIsNotChanged (line 649) | func TestFileArchiverFileIsNotChanged(t *testing.T) { function TestFileArchiverFileIsChanged (line 672) | func TestFileArchiverFileIsChanged(t *testing.T) { function TestFileArchiverFileDoesNotExist (line 691) | func TestFileArchiverFileDoesNotExist(t *testing.T) { function newLogHook (line 708) | func newLogHook(levels ...logrus.Level) logHook { type logHook (line 712) | type logHook struct method Levels (line 717) | func (s *logHook) Levels() []logrus.Level { method Fire (line 721) | func (s *logHook) Fire(entry *logrus.Entry) error { FILE: commands/helpers/health_check.go type HealthCheckCommand (line 18) | type HealthCheckCommand struct method Execute (line 28) | func (c *HealthCheckCommand) Execute(_ *cli.Context) { function NewHealthCheckCommand (line 24) | func NewHealthCheckCommand() cli.Command { function checkPort (line 86) | func checkPort(parentCtx context.Context, addr, port string, cancel func... FILE: commands/helpers/health_check_integration_test.go function TestServiceWaiterCommand_NoEnvironmentVariables (line 20) | func TestServiceWaiterCommand_NoEnvironmentVariables(t *testing.T) { function TestHealthCheckCommand_Execute (line 39) | func TestHealthCheckCommand_Execute(t *testing.T) { function TestHealthCheckCommand_WaitAll (line 134) | func TestHealthCheckCommand_WaitAll(t *testing.T) { FILE: commands/helpers/helpers_archiver_test.go function OnEachArchiver (line 14) | func OnEachArchiver(t *testing.T, f func(t *testing.T, format archive.Fo... function OnEachZipArchiver (line 38) | func OnEachZipArchiver(t *testing.T, f func(t *testing.T), include ...st... function OnEachZipExtractor (line 58) | func OnEachZipExtractor(t *testing.T, f func(t *testing.T), include ...s... function hasArchiver (line 78) | func hasArchiver(name string, include []string) bool { FILE: commands/helpers/helpers_cache_archiver_test.go function NewCacheArchiverCommandForTest (line 13) | func NewCacheArchiverCommandForTest(file string, fileArchiverPaths []str... function GetMatches (line 20) | func GetMatches(cmd *CacheArchiverCommand) map[string]os.FileInfo { function SetCacheArchiverCommandMux (line 25) | func SetCacheArchiverCommandMux(cmd *CacheArchiverCommand, mux *blob.URL... function SetCacheArchiverCommandClientTimeout (line 30) | func SetCacheArchiverCommandClientTimeout(cmd *CacheArchiverCommand, tim... FILE: commands/helpers/internal/store/store.go type Store (line 21) | type Store struct method List (line 80) | func (s *Store) List() ([]string, error) { method Add (line 112) | func (s *Store) Add(phrase string) error { method Close (line 138) | func (s *Store) Close() { function Open (line 29) | func Open(dir string) (*Store, error) { function generateKey (line 150) | func generateKey() []byte { function deriveEncryptionKey (line 156) | func deriveEncryptionKey(f *os.File, keyPath string) ([]byte, error) { FILE: commands/helpers/internal/store/store_test.go function TestOpen (line 15) | func TestOpen(t *testing.T) { FILE: commands/helpers/internal/store/store_unix.go function openFile (line 7) | func openFile(pathname string) (*os.File, error) { FILE: commands/helpers/internal/store/store_unix_test.go function TestOpenFilePermissions (line 14) | func TestOpenFilePermissions(t *testing.T) { FILE: commands/helpers/internal/store/store_windows.go function openFile (line 14) | func openFile(pathname string) (*os.File, error) { FILE: commands/helpers/internal/store/store_windows_test.go function TestDeleteOpenFile (line 15) | func TestDeleteOpenFile(t *testing.T) { FILE: commands/helpers/meter/formatters.go function FormatByteRate (line 10) | func FormatByteRate(b uint64, d time.Duration) string { function FormatBytes (line 20) | func FormatBytes(b uint64) string { function formatBytes (line 29) | func formatBytes(b uint64) (float64, byte) { function LabelledRateFormat (line 49) | func LabelledRateFormat(w io.Writer, label string, totalSize int64) Upda... FILE: commands/helpers/meter/formatters_test.go function TestFormatByteRate (line 14) | func TestFormatByteRate(t *testing.T) { function TestFormatBytes (line 60) | func TestFormatBytes(t *testing.T) { function TestLabelledRateFormat (line 81) | func TestLabelledRateFormat(t *testing.T) { FILE: commands/helpers/meter/meter.go constant UnknownTotalSize (line 9) | UnknownTotalSize = 0 type TransferMeterCommand (line 11) | type TransferMeterCommand struct type UpdateCallback (line 15) | type UpdateCallback type meter (line 17) | type meter struct method start (line 31) | func (m *meter) start(frequency time.Duration, fn UpdateCallback) { method doClose (line 57) | func (m *meter) doClose() { function newMeter (line 24) | func newMeter() *meter { FILE: commands/helpers/meter/reader.go type reader (line 9) | type reader struct method Read (line 30) | func (m *reader) Read(p []byte) (int, error) { method Close (line 37) | func (m *reader) Close() error { function NewReader (line 15) | func NewReader(r io.ReadCloser, frequency time.Duration, fn UpdateCallba... FILE: commands/helpers/meter/reader_test.go function TestReader_New_NoUpdateFrequency (line 15) | func TestReader_New_NoUpdateFrequency(t *testing.T) { function TestReader_New (line 23) | func TestReader_New(t *testing.T) { FILE: commands/helpers/meter/writer.go type writer (line 10) | type writer struct method Write (line 35) | func (m *writer) Write(p []byte) (int, error) { method WriteAt (line 42) | func (m *writer) WriteAt(p []byte, off int64) (int, error) { method Close (line 51) | func (m *writer) Close() error { function NewWriter (line 17) | func NewWriter(w io.WriteCloser, frequency time.Duration, fn UpdateCallb... FILE: commands/helpers/meter/writer_test.go type nopWriteCloser (line 18) | type nopWriteCloser struct method Write (line 22) | func (wc *nopWriteCloser) Write(p []byte) (int, error) { method Close (line 26) | func (wc *nopWriteCloser) Close() error { function TestWriter_New_NoUpdateFrequency (line 30) | func TestWriter_New_NoUpdateFrequency(t *testing.T) { function TestWriter_New (line 38) | func TestWriter_New(t *testing.T) { function TestWriter_WriteAt_underlyingFile (line 64) | func TestWriter_WriteAt_underlyingFile(t *testing.T) { FILE: commands/helpers/mocks.go function newMockLogStreamProvider (line 13) | func newMockLogStreamProvider(t interface { type mockLogStreamProvider (line 26) | type mockLogStreamProvider struct method EXPECT (line 34) | func (_m *mockLogStreamProvider) EXPECT() *mockLogStreamProvider_Expec... method Open (line 39) | func (_mock *mockLogStreamProvider) Open() (readSeekCloser, error) { type mockLogStreamProvider_Expecter (line 30) | type mockLogStreamProvider_Expecter struct method Open (line 72) | func (_e *mockLogStreamProvider_Expecter) Open() *mockLogStreamProvide... type mockLogStreamProvider_Open_Call (line 67) | type mockLogStreamProvider_Open_Call struct method Run (line 76) | func (_c *mockLogStreamProvider_Open_Call) Run(run func()) *mockLogStr... method Return (line 83) | func (_c *mockLogStreamProvider_Open_Call) Return(readSeekCloserMoqPar... method RunAndReturn (line 88) | func (_c *mockLogStreamProvider_Open_Call) RunAndReturn(run func() (re... function newMockReadSeekCloser (line 95) | func newMockReadSeekCloser(t interface { type mockReadSeekCloser (line 108) | type mockReadSeekCloser struct method EXPECT (line 116) | func (_m *mockReadSeekCloser) EXPECT() *mockReadSeekCloser_Expecter { method Close (line 121) | func (_mock *mockReadSeekCloser) Close() error { method Read (line 165) | func (_mock *mockReadSeekCloser) Read(p []byte) (int, error) { method Seek (line 225) | func (_mock *mockReadSeekCloser) Seek(offset int64, whence int) (int64... type mockReadSeekCloser_Expecter (line 112) | type mockReadSeekCloser_Expecter struct method Close (line 143) | func (_e *mockReadSeekCloser_Expecter) Close() *mockReadSeekCloser_Clo... method Read (line 197) | func (_e *mockReadSeekCloser_Expecter) Read(p interface{}) *mockReadSe... method Seek (line 258) | func (_e *mockReadSeekCloser_Expecter) Seek(offset interface{}, whence... type mockReadSeekCloser_Close_Call (line 138) | type mockReadSeekCloser_Close_Call struct method Run (line 147) | func (_c *mockReadSeekCloser_Close_Call) Run(run func()) *mockReadSeek... method Return (line 154) | func (_c *mockReadSeekCloser_Close_Call) Return(err error) *mockReadSe... method RunAndReturn (line 159) | func (_c *mockReadSeekCloser_Close_Call) RunAndReturn(run func() error... type mockReadSeekCloser_Read_Call (line 191) | type mockReadSeekCloser_Read_Call struct method Run (line 201) | func (_c *mockReadSeekCloser_Read_Call) Run(run func(p []byte)) *mockR... method Return (line 214) | func (_c *mockReadSeekCloser_Read_Call) Return(n int, err error) *mock... method RunAndReturn (line 219) | func (_c *mockReadSeekCloser_Read_Call) RunAndReturn(run func(p []byte... type mockReadSeekCloser_Seek_Call (line 251) | type mockReadSeekCloser_Seek_Call struct method Run (line 262) | func (_c *mockReadSeekCloser_Seek_Call) Run(run func(offset int64, whe... method Return (line 280) | func (_c *mockReadSeekCloser_Seek_Call) Return(n int64, err error) *mo... method RunAndReturn (line 285) | func (_c *mockReadSeekCloser_Seek_Call) RunAndReturn(run func(offset i... function newMockLogOutputWriter (line 292) | func newMockLogOutputWriter(t interface { type mockLogOutputWriter (line 305) | type mockLogOutputWriter struct method EXPECT (line 313) | func (_m *mockLogOutputWriter) EXPECT() *mockLogOutputWriter_Expecter { method Write (line 318) | func (_mock *mockLogOutputWriter) Write(s string) { type mockLogOutputWriter_Expecter (line 309) | type mockLogOutputWriter_Expecter struct method Write (line 330) | func (_e *mockLogOutputWriter_Expecter) Write(s interface{}) *mockLogO... type mockLogOutputWriter_Write_Call (line 324) | type mockLogOutputWriter_Write_Call struct method Run (line 334) | func (_c *mockLogOutputWriter_Write_Call) Run(run func(s string)) *moc... method Return (line 347) | func (_c *mockLogOutputWriter_Write_Call) Return() *mockLogOutputWrite... method RunAndReturn (line 352) | func (_c *mockLogOutputWriter_Write_Call) RunAndReturn(run func(s stri... FILE: commands/helpers/proxy_exec.go type ProxyExecCommand (line 26) | type ProxyExecCommand struct method Execute (line 73) | func (c *ProxyExecCommand) Execute(cliContext *cli.Context) { function NewProxyExecCommand (line 31) | func NewProxyExecCommand() cli.Command { type Proxy (line 39) | type Proxy struct method Stdout (line 60) | func (p *Proxy) Stdout() io.Writer { method Stderr (line 64) | func (p *Proxy) Stderr() io.Writer { method Close (line 68) | func (p *Proxy) Close() error { function NewProxy (line 44) | func NewProxy(dir string, stdout, stderr io.Writer) (*Proxy, error) { function bootstrap (line 113) | func bootstrap(dst string) error { FILE: commands/helpers/proxy_exec_test.go function newProxyExecTestApp (line 18) | func newProxyExecTestApp() *cli.App { function TestProxyExec (line 32) | func TestProxyExec(t *testing.T) { function TestProxyExecBootstrap (line 51) | func TestProxyExecBootstrap(t *testing.T) { function captureOutput (line 70) | func captureOutput(w io.Writer) func() { FILE: commands/helpers/read_logs.go constant defaultCheckFileExistsInterval (line 17) | defaultCheckFileExistsInterval = time.Second constant pollFileContentsTimeout (line 18) | pollFileContentsTimeout = 500 * time.Millisecond constant outputLogFileNotExistsExitCode (line 19) | outputLogFileNotExistsExitCode = 100 type logStreamProvider (line 27) | type logStreamProvider interface type readSeekCloser (line 31) | type readSeekCloser interface type checkedFile (line 41) | type checkedFile struct method Read (line 45) | func (c *checkedFile) Read(p []byte) (int, error) { type fileLogStreamProvider (line 57) | type fileLogStreamProvider struct method Open (line 62) | func (p *fileLogStreamProvider) Open() (readSeekCloser, error) { type logOutputWriter (line 81) | type logOutputWriter interface type streamLogOutputWriter (line 85) | type streamLogOutputWriter struct method Write (line 89) | func (s *streamLogOutputWriter) Write(data string) { type ReadLogsCommand (line 93) | type ReadLogsCommand struct method Execute (line 120) | func (c *ReadLogsCommand) Execute(*cli.Context) { method execute (line 131) | func (c *ReadLogsCommand) execute() error { method readLogs (line 140) | func (c *ReadLogsCommand) readLogs() error { method openFileReader (line 175) | func (c *ReadLogsCommand) openFileReader() (readSeekCloser, *bufio.Rea... function NewReadLogsCommand (line 103) | func NewReadLogsCommand() cli.Command { function newReadLogsCommand (line 111) | func newReadLogsCommand() *ReadLogsCommand { FILE: commands/helpers/read_logs_test.go function TestNewReadLogsCommandFileNotExist (line 20) | func TestNewReadLogsCommandFileNotExist(t *testing.T) { function TestNewReadLogsCommandNoAttempts (line 31) | func TestNewReadLogsCommandNoAttempts(t *testing.T) { function TestNewReadLogsCommandFileSeekToInvalidLocation (line 39) | func TestNewReadLogsCommandFileSeekToInvalidLocation(t *testing.T) { function setupTestFile (line 53) | func setupTestFile(t *testing.T) (*os.File, func()) { function TestNewReadLogsCommandFileLogStreamProviderCorrect (line 65) | func TestNewReadLogsCommandFileLogStreamProviderCorrect(t *testing.T) { function TestNewReadLogsCommandLines (line 82) | func TestNewReadLogsCommandLines(t *testing.T) { function appendToFile (line 108) | func appendToFile(t *testing.T, f *os.File, lines []string) { function setupMockLogOutputWriterFromLines (line 117) | func setupMockLogOutputWriterFromLines(lw *mockLogOutputWriter, lines []... function TestNewReadLogsCommandWriteLinesWithDelay (line 135) | func TestNewReadLogsCommandWriteLinesWithDelay(t *testing.T) { function TestSplitLinesAccordingToBufferSize (line 170) | func TestSplitLinesAccordingToBufferSize(t *testing.T) { function TestSeek (line 208) | func TestSeek(t *testing.T) { FILE: commands/helpers/retry_helper.go type storageErrorResponse (line 20) | type storageErrorResponse struct method isValid (line 26) | func (ser *storageErrorResponse) isValid() bool { method String (line 30) | func (ser *storageErrorResponse) String() string { type retryHelper (line 47) | type retryHelper struct method doRetry (line 68) | func (r *retryHelper) doRetry(handler func(int) error) error { type retryableErr (line 56) | type retryableErr struct method Unwrap (line 60) | func (e retryableErr) Unwrap() error { method Error (line 64) | func (e retryableErr) Error() string { function retryOnServerError (line 88) | func retryOnServerError(resp *http.Response) error { FILE: commands/helpers/retry_helper_test.go function TestDoRetry (line 16) | func TestDoRetry(t *testing.T) { function TestRetryOnServerError (line 57) | func TestRetryOnServerError(t *testing.T) { FILE: commands/helpers_register_test.go function NewRegisterCommandForTest (line 22) | func NewRegisterCommandForTest(reader *bufio.Reader, network common.Netw... function GetLogrusOutput (line 32) | func GetLogrusOutput(t *testing.T, hook *test.Hook) string { function PrepareConfigurationTemplateFile (line 44) | func PrepareConfigurationTemplateFile(t *testing.T, content string) (str... FILE: commands/internal/configfile/configfile.go type ConfigFile (line 15) | type ConfigFile struct method Load (line 40) | func (cf *ConfigFile) Load(opts ...LoadOption) error { method SystemID (line 101) | func (cf *ConfigFile) SystemID() string { method Save (line 105) | func (cf *ConfigFile) Save() error { method Config (line 122) | func (cf *ConfigFile) Config() *common.Config { method AccessCollector (line 129) | func (cf *ConfigFile) AccessCollector() prometheus.Collector { function New (line 24) | func New(pathname string, opts ...Option) *ConfigFile { FILE: commands/internal/configfile/configfile_test.go function Test_loadConfig (line 17) | func Test_loadConfig(t *testing.T) { FILE: commands/internal/configfile/metrics.go type configAccessCollector (line 9) | type configAccessCollector struct method Describe (line 37) | func (c *configAccessCollector) Describe(descs chan<- *prometheus.Desc) { method Collect (line 44) | func (c *configAccessCollector) Collect(metrics chan<- prometheus.Metr... function newConfigAccessCollector (line 16) | func newConfigAccessCollector() *configAccessCollector { FILE: commands/internal/configfile/options.go type options (line 5) | type options struct type Option (line 11) | type Option function WithAccessCollector (line 13) | func WithAccessCollector() Option { function WithExistingConfig (line 19) | func WithExistingConfig(config *common.Config) Option { function WithSystemID (line 25) | func WithSystemID(systemID string) Option { type loadOptions (line 31) | type loadOptions struct type LoadOption (line 35) | type LoadOption function WithMutateOnLoad (line 37) | func WithMutateOnLoad(fn func(cfg *common.Config) error) LoadOption { FILE: commands/internal/configfile/system_id_state.go type systemIDState (line 19) | type systemIDState struct method GetSystemID (line 55) | func (s *systemIDState) GetSystemID() string { method loadFromFile (line 59) | func (s *systemIDState) loadFromFile(filePath string) error { method saveConfig (line 85) | func (s *systemIDState) saveConfig(filePath string) error { method ensureSystemID (line 101) | func (s *systemIDState) ensureSystemID() error { function newSystemIDState (line 23) | func newSystemIDState(filePath string) (*systemIDState, error) { function GenerateUniqueSystemID (line 117) | func GenerateUniqueSystemID() (string, error) { function generateRandomSystemID (line 132) | func generateRandomSystemID(idLength int) (string, error) { FILE: commands/internal/configfile/system_id_state_test.go function TestSystemIDStateLoadFromFile (line 14) | func TestSystemIDStateLoadFromFile(t *testing.T) { function TestSystemIDStateLoadFromMissingFile (line 68) | func TestSystemIDStateLoadFromMissingFile(t *testing.T) { function TestSaveSystemIDState (line 79) | func TestSaveSystemIDState(t *testing.T) { function TestSaveSystemIDStateToNonFile (line 95) | func TestSaveSystemIDStateToNonFile(t *testing.T) { FILE: commands/internal/configfile/validation.go function init (line 15) | func init() { function validate (line 42) | func validate(config *common.Config) error { FILE: commands/list.go type ListCommand (line 11) | type ListCommand struct method Execute (line 19) | func (c *ListCommand) Execute(context *cli.Context) { function NewListCommand (line 15) | func NewListCommand() cli.Command { FILE: commands/mocks.go function newMockRunAtTask (line 13) | func newMockRunAtTask(t interface { type mockRunAtTask (line 26) | type mockRunAtTask struct method EXPECT (line 34) | func (_m *mockRunAtTask) EXPECT() *mockRunAtTask_Expecter { method cancel (line 39) | func (_mock *mockRunAtTask) cancel() { type mockRunAtTask_Expecter (line 30) | type mockRunAtTask_Expecter struct method cancel (line 50) | func (_e *mockRunAtTask_Expecter) cancel() *mockRunAtTask_cancel_Call { type mockRunAtTask_cancel_Call (line 45) | type mockRunAtTask_cancel_Call struct method Run (line 54) | func (_c *mockRunAtTask_cancel_Call) Run(run func()) *mockRunAtTask_ca... method Return (line 61) | func (_c *mockRunAtTask_cancel_Call) Return() *mockRunAtTask_cancel_Ca... method RunAndReturn (line 66) | func (_c *mockRunAtTask_cancel_Call) RunAndReturn(run func()) *mockRun... FILE: commands/multi.go constant workerSlotOperationStarted (line 46) | workerSlotOperationStarted = "started" constant workerSlotOperationStopped (line 47) | workerSlotOperationStopped = "stopped" constant workerProcessingFailureOther (line 51) | workerProcessingFailureOther = "other" constant workerProcessingFailureNoFreeExecutor (line 52) | workerProcessingFailureNoFreeExecutor = "no_free_executor" constant workerProcessingFailureJobFailure (line 53) | workerProcessingFailureJobFailure = "job_failure" type runAtTask (line 72) | type runAtTask interface type runAtTimerTask (line 76) | type runAtTimerTask struct method cancel (line 80) | func (t *runAtTimerTask) cancel() { function runAt (line 84) | func runAt(t time.Time, f func()) runAtTask { type RunCommand (line 92) | type RunCommand struct method log (line 178) | func (mr *RunCommand) log() *logrus.Entry { method Start (line 195) | func (mr *RunCommand) Start(_ service.Service) error { method setupInternalMetrics (line 256) | func (mr *RunCommand) setupInternalMetrics() { method resetRunnerTokens (line 317) | func (mr *RunCommand) resetRunnerTokens() { method resetOneRunnerToken (line 325) | func (mr *RunCommand) resetOneRunnerToken() bool { method reloadConfig (line 383) | func (mr *RunCommand) reloadConfig() error { method updateLoggingConfiguration (line 436) | func (mr *RunCommand) updateLoggingConfiguration() error { method reloadUsageLogger (line 474) | func (mr *RunCommand) reloadUsageLogger() { method run (line 530) | func (mr *RunCommand) run() { method initUsedExecutorProviders (line 576) | func (mr *RunCommand) initUsedExecutorProviders() { method shutdownUsedExecutorProviders (line 587) | func (mr *RunCommand) shutdownUsedExecutorProviders() { method setupMetricsAndDebugServer (line 635) | func (mr *RunCommand) setupMetricsAndDebugServer() { method serveMetrics (line 672) | func (mr *RunCommand) serveMetrics(mux *http.ServeMux) { method serveDebugData (line 722) | func (mr *RunCommand) serveDebugData(mux *http.ServeMux) { method servePprof (line 726) | func (mr *RunCommand) servePprof(mux *http.ServeMux) { method setupSessionServer (line 752) | func (mr *RunCommand) setupSessionServer() { method feedRunners (line 802) | func (mr *RunCommand) feedRunners(runners chan *common.RunnerConfig) { method feedRunner (line 827) | func (mr *RunCommand) feedRunner(runner *common.RunnerConfig, runners ... method startWorkers (line 840) | func (mr *RunCommand) startWorkers(startWorker chan int, stopWorker ch... method processRunners (line 850) | func (mr *RunCommand) processRunners(id int, stopWorker chan bool, run... method processRunner (line 909) | func (mr *RunCommand) processRunner(id int, runner *common.RunnerConfi... method processBuildOnRunner (line 958) | func (mr *RunCommand) processBuildOnRunner( method traceOutcome (line 1047) | func (mr *RunCommand) traceOutcome(trace common.JobTrace, err error) { method usageLoggerStore (line 1069) | func (mr *RunCommand) usageLoggerStore(record usage_log.Record) { method createSession (line 1086) | func (mr *RunCommand) createSession(provider common.ExecutorProvider) ... method requestJob (line 1113) | func (mr *RunCommand) requestJob( method executorSupportsNativeSteps (line 1174) | func (mr *RunCommand) executorSupportsNativeSteps(runnerConfig *common... method doJobRequest (line 1181) | func (mr *RunCommand) doJobRequest( method requeueRunner (line 1207) | func (mr *RunCommand) requeueRunner(runner *common.RunnerConfig, runne... method updateWorkers (line 1225) | func (mr *RunCommand) updateWorkers(workerIndex *int, startWorker chan... method stopWorkers (line 1265) | func (mr *RunCommand) stopWorkers(stopWorker chan bool) { method updateConfig (line 1273) | func (mr *RunCommand) updateConfig() os.Signal { method checkConfig (line 1294) | func (mr *RunCommand) checkConfig() (err error) { method Stop (line 1321) | func (mr *RunCommand) Stop(_ service.Service) error { method interruptRun (line 1374) | func (mr *RunCommand) interruptRun() { method handleGracefulShutdown (line 1390) | func (mr *RunCommand) handleGracefulShutdown() error { method handleForcefulShutdown (line 1430) | func (mr *RunCommand) handleForcefulShutdown() error { method abortAllBuilds (line 1457) | func (mr *RunCommand) abortAllBuilds() { method usageLoggerClose (line 1466) | func (mr *RunCommand) usageLoggerClose() { method Execute (line 1474) | func (mr *RunCommand) Execute(_ *cli.Context) { method runWait (line 1520) | func (mr *RunCommand) runWait() { method Describe (line 1530) | func (mr *RunCommand) Describe(ch chan<- *prometheus.Desc) { method Collect (line 1542) | func (mr *RunCommand) Collect(ch chan<- prometheus.Metric) { method checkConfigConcurrency (line 1569) | func (mr *RunCommand) checkConfigConcurrency(config *common.Config) { function NewRunCommand (line 160) | func NewRunCommand(n common.Network, apiRequestsCollector prometheus.Col... function nextRunnerToReset (line 295) | func nextRunnerToReset(config *common.Config) (*common.RunnerConfig, tim... function listenAddress (line 616) | func listenAddress(cfg *common.Config, address string) (string, error) { function restrictHTTPMethods (line 736) | func restrictHTTPMethods(handler http.Handler, methods ...string) http.H... function loggerAndFailureTypeFromError (line 889) | func loggerAndFailureTypeFromError(logger logrus.FieldLogger, err error)... function logTerminationError (line 1063) | func logTerminationError(logger logrus.FieldLogger, name string, err err... FILE: commands/multi_test.go function TestProcessRunner_BuildLimit (line 30) | func TestProcessRunner_BuildLimit(t *testing.T) { function TestRunCommand_doJobRequest (line 133) | func TestRunCommand_doJobRequest(t *testing.T) { function TestRunCommand_nextRunnerToReset (line 210) | func TestRunCommand_nextRunnerToReset(t *testing.T) { type runAtCall (line 318) | type runAtCall struct type resetTokenRequest (line 324) | type resetTokenRequest struct type resetRunnerTokenTestController (line 329) | type resetRunnerTokenTestController struct method runAt (line 374) | func (c *resetRunnerTokenTestController) runAt(time time.Time, callbac... method mockResetToken (line 392) | func (c *resetRunnerTokenTestController) mockResetToken(runnerID int64... method mockConfigSave (line 417) | func (c *resetRunnerTokenTestController) mockConfigSave() { method awaitRunAtCall (line 427) | func (c *resetRunnerTokenTestController) awaitRunAtCall(t *testing.T) ... method awaitResetTokenRequest (line 439) | func (c *resetRunnerTokenTestController) awaitResetTokenRequest(t *tes... method handleRunAtCall (line 450) | func (c *resetRunnerTokenTestController) handleRunAtCall(t *testing.T,... method handleResetTokenRequest (line 461) | func (c *resetRunnerTokenTestController) handleResetTokenRequest(t *te... method pushToWaitGroup (line 470) | func (c *resetRunnerTokenTestController) pushToWaitGroup(callback func... method stop (line 479) | func (c *resetRunnerTokenTestController) stop() { method reloadConfig (line 486) | func (c *resetRunnerTokenTestController) reloadConfig() { method setRunners (line 494) | func (c *resetRunnerTokenTestController) setRunners(runners []common.R... method wait (line 520) | func (c *resetRunnerTokenTestController) wait() { method finish (line 525) | func (c *resetRunnerTokenTestController) finish() { method assertConfigSaveNotCalled (line 533) | func (c *resetRunnerTokenTestController) assertConfigSaveNotCalled(t *... method assertResetTokenNotCalled (line 541) | func (c *resetRunnerTokenTestController) assertResetTokenNotCalled(t *... type runAtTaskMock (line 338) | type runAtTaskMock struct method cancel (line 343) | func (t *runAtTaskMock) cancel() { function newResetRunnerTokenTestController (line 347) | func newResetRunnerTokenTestController(t *testing.T) *resetRunnerTokenTe... type resetRunnerTokenTestCase (line 545) | type resetRunnerTokenTestCase struct function TestRunCommand_resetOneRunnerToken (line 550) | func TestRunCommand_resetOneRunnerToken(t *testing.T) { function TestRunCommand_resetRunnerTokens (line 920) | func TestRunCommand_resetRunnerTokens(t *testing.T) { function TestRunCommand_configReloadingRegression (line 1056) | func TestRunCommand_configReloadingRegression(t *testing.T) { function TestRunCommand_configReloading (line 1112) | func TestRunCommand_configReloading(t *testing.T) { function TestListenAddress (line 1190) | func TestListenAddress(t *testing.T) { function TestRequestBottleneckWarning (line 1238) | func TestRequestBottleneckWarning(t *testing.T) { function TestRunCommand_requestJob_HandlesUpdateAbort (line 1419) | func TestRunCommand_requestJob_HandlesUpdateAbort(t *testing.T) { function TestRunCommand_requestJob_HandlesCancelRequested (line 1459) | func TestRunCommand_requestJob_HandlesCancelRequested(t *testing.T) { function TestRunCommand_requestJob_ContinuesWhenUpdateSucceeds (line 1499) | func TestRunCommand_requestJob_ContinuesWhenUpdateSucceeds(t *testing.T) { function TestRunCommand_requestJob_ReturnsNilWhenNoJob (line 1538) | func TestRunCommand_requestJob_ReturnsNilWhenNoJob(t *testing.T) { FILE: commands/register.go type configTemplate (line 27) | type configTemplate struct method Enabled (line 33) | func (c *configTemplate) Enabled() bool { method MergeTo (line 37) | func (c *configTemplate) MergeTo(config *common.RunnerConfig) error { method loadConfigTemplate (line 56) | func (c *configTemplate) loadConfigTemplate() error { type RegisterCommand (line 69) | type RegisterCommand struct method askOnce (line 109) | func (s *RegisterCommand) askOnce(prompt string, result *string, allow... method ask (line 140) | func (s *RegisterCommand) ask(key, prompt string, allowEmptyOptional .... method askExecutor (line 159) | func (s *RegisterCommand) askExecutor() { method askDocker (line 180) | func (s *RegisterCommand) askDocker() { method askDockerWindows (line 194) | func (s *RegisterCommand) askDockerWindows() { method askBasicDocker (line 207) | func (s *RegisterCommand) askBasicDocker(exampleHelperImage string) { method askParallels (line 218) | func (s *RegisterCommand) askParallels() { method askVirtualBox (line 222) | func (s *RegisterCommand) askVirtualBox() { method askSSHServer (line 226) | func (s *RegisterCommand) askSSHServer() { method askSSHLogin (line 231) | func (s *RegisterCommand) askSSHLogin() { method verifyRunner (line 245) | func (s *RegisterCommand) verifyRunner() { method askRunner (line 259) | func (s *RegisterCommand) askRunner(cfg *common.Config) { method doLegacyRegisterRunner (line 292) | func (s *RegisterCommand) doLegacyRegisterRunner() { method askExecutorOptions (line 335) | func (s *RegisterCommand) askExecutorOptions() { method Execute (line 425) | func (s *RegisterCommand) Execute(context *cli.Context) { method unregisterRunnerFunc (line 485) | func (s *RegisterCommand) unregisterRunnerFunc() func() { method unregisterRunner (line 508) | func (s *RegisterCommand) unregisterRunner() { method mergeTemplate (line 516) | func (s *RegisterCommand) mergeTemplate() { method tokenIsRunnerToken (line 529) | func (s *RegisterCommand) tokenIsRunnerToken() bool { method ensureServerConfigArgsEmpty (line 533) | func (s *RegisterCommand) ensureServerConfigArgsEmpty() { function NewRegisterCommand (line 94) | func NewRegisterCommand(n common.Network, executorProviders executors.Pr... type AccessLevel (line 98) | type AccessLevel constant NotProtected (line 101) | NotProtected AccessLevel = "not_protected" constant RefProtected (line 102) | RefProtected AccessLevel = "ref_protected" constant defaultDockerWindowCacheDir (line 106) | defaultDockerWindowCacheDir = "c:\\cache" function setFipsHelperImageFlavor (line 413) | func setFipsHelperImageFlavor(cfg *common.RunnerConfig, fipsEnabled func... function getHostname (line 562) | func getHostname() string { function newRegisterCommand (line 567) | func newRegisterCommand(n common.Network, executorProviders executors.Pr... function accessLevelValid (line 589) | func accessLevelValid(levels []AccessLevel, givenLevel AccessLevel) bool { FILE: commands/register_integration_test.go constant osTypeWindows (line 38) | osTypeWindows = "windows" type kv (line 42) | type kv struct function TestAccessLevelSetting (line 46) | func TestAccessLevelSetting(t *testing.T) { function TestAskRunnerOverrideDefaultsForExecutors (line 101) | func TestAskRunnerOverrideDefaultsForExecutors(t *testing.T) { function isValidToken (line 121) | func isValidToken(systemID string) bool { function TestAskRunnerUsingRunnerTokenOverrideDefaults (line 126) | func TestAskRunnerUsingRunnerTokenOverrideDefaults(t *testing.T) { function TestAskRunnerUsingRunnerTokenOnRegistrationTokenOverridingForbiddenDefaults (line 229) | func TestAskRunnerUsingRunnerTokenOnRegistrationTokenOverridingForbidden... function TestAskRunnerUsingRunnerTokenOverridingForbiddenDefaults (line 284) | func TestAskRunnerUsingRunnerTokenOverridingForbiddenDefaults(t *testing... function testRegisterCommandRun (line 345) | func testRegisterCommandRun( function contains (line 421) | func contains(args []string, s string) bool { function testAskRunnerOverrideDefaultsForExecutor (line 430) | func testAskRunnerOverrideDefaultsForExecutor(t *testing.T, executor str... function assertExecutorDefaultValues (line 601) | func assertExecutorDefaultValues(t *testing.T, executor string, s *comma... function assertDefaultSSHLogin (line 642) | func assertDefaultSSHLogin(t *testing.T, sshCfg *common.SshConfig) { function assertDefaultSSHServer (line 649) | func assertDefaultSSHServer(t *testing.T, sshCfg *common.SshConfig) { function assertExecutorOverridenValues (line 655) | func assertExecutorOverridenValues(t *testing.T, executor string, s *com... function assertOverridenSSHLogin (line 696) | func assertOverridenSSHLogin(t *testing.T, sshCfg *common.SshConfig) { function assertOverridenSSHServer (line 703) | func assertOverridenSSHServer(t *testing.T, sshCfg *common.SshConfig) { function executorAnswers (line 709) | func executorAnswers(t *testing.T, executor string) []string { function executorOverrideAnswers (line 729) | func executorOverrideAnswers(t *testing.T, executor string) []string { function executorCmdLineArgs (line 749) | func executorCmdLineArgs(t *testing.T, executor string) []string { function TestExecute_MergeConfigTemplate (line 779) | func TestExecute_MergeConfigTemplate(t *testing.T) { function TestUnregisterOnFailure (line 933) | func TestUnregisterOnFailure(t *testing.T) { function useTempConfigFile (line 1052) | func useTempConfigFile(t *testing.T, arguments []string) ([]string, func... function TestNameIsNotRequestedOnServerFailureRegisterCommandWithAuthToken (line 1062) | func TestNameIsNotRequestedOnServerFailureRegisterCommandWithAuthToken(t... function TestRegisterCommand (line 1108) | func TestRegisterCommand(t *testing.T) { function TestRegisterWithAuthenticationTokenTwice (line 1296) | func TestRegisterWithAuthenticationTokenTwice(t *testing.T) { function TestRegisterTokenExpiresAt (line 1322) | func TestRegisterTokenExpiresAt(t *testing.T) { function testExecutorProviders (line 1390) | func testExecutorProviders() *executors.ProviderRegistry { FILE: commands/register_test.go function setupDockerRegisterCommand (line 19) | func setupDockerRegisterCommand(dockerConfig *common.DockerConfig) *Regi... function TestRegisterDefaultDockerCacheVolume (line 33) | func TestRegisterDefaultDockerCacheVolume(t *testing.T) { function TestDoNotRegisterDefaultDockerCacheVolumeWhenDisableCache (line 44) | func TestDoNotRegisterDefaultDockerCacheVolumeWhenDisableCache(t *testin... function TestRegisterCustomDockerCacheVolume (line 55) | func TestRegisterCustomDockerCacheVolume(t *testing.T) { function TestRegisterCustomMappedDockerCacheVolume (line 66) | func TestRegisterCustomMappedDockerCacheVolume(t *testing.T) { function TestConfigTemplate_Enabled (line 77) | func TestConfigTemplate_Enabled(t *testing.T) { function TestConfigTemplate_MergeTo (line 135) | func TestConfigTemplate_MergeTo(t *testing.T) { function TestSetFipsHelperImageFlavor (line 222) | func TestSetFipsHelperImageFlavor(t *testing.T) { FILE: commands/register_windows_test.go function TestRegisterDefaultWindowsDockerCacheVolume (line 18) | func TestRegisterDefaultWindowsDockerCacheVolume(t *testing.T) { function TestDefaultWindowsShell (line 53) | func TestDefaultWindowsShell(t *testing.T) { FILE: commands/reset_token.go type ResetTokenCommand (line 13) | type ResetTokenCommand struct method resetAllRunnerTokens (line 31) | func (c *ResetTokenCommand) resetAllRunnerTokens(cfg *common.Config) { method resetSingleRunnerToken (line 40) | func (c *ResetTokenCommand) resetSingleRunnerToken(cfg *common.Config)... method getRunnerCredentials (line 63) | func (c *ResetTokenCommand) getRunnerCredentials(cfg *common.Config) (... method Execute (line 81) | func (c *ResetTokenCommand) Execute(_context *cli.Context) { function NewResetTokenCommand (line 25) | func NewResetTokenCommand(n common.Network) cli.Command { FILE: commands/service.go constant defaultServiceName (line 20) | defaultServiceName = "gitlab-runner" constant defaultDescription (line 21) | defaultDescription = "GitLab Runner" type NullService (line 24) | type NullService struct method Start (line 26) | func (n *NullService) Start(s service.Service) error { method Stop (line 30) | func (n *NullService) Stop(s service.Service) error { function runServiceInstall (line 34) | func runServiceInstall(s service.Service, c *cli.Context) error { function runServiceStatus (line 58) | func runServiceStatus(displayName string, s service.Service) { function getUserHomeDir (line 82) | func getUserHomeDir(username string) string { function GetServiceArguments (line 90) | func GetServiceArguments(c *cli.Context) (arguments []string) { function createServiceConfig (line 114) | func createServiceConfig(c *cli.Context) *service.Config { function RunServiceControl (line 128) | func RunServiceControl(c *cli.Context) { function GetFlags (line 154) | func GetFlags() []cli.Flag { function GetInstallFlags (line 173) | func GetInstallFlags() []cli.Flag { function NewServiceCommands (line 223) | func NewServiceCommands() []cli.Command { function applyStrArg (line 239) | func applyStrArg(c *cli.Context, argname string, rootonly bool, apply fu... FILE: commands/service_darwin.go function setupOSServiceConfig (line 10) | func setupOSServiceConfig(c *cli.Context, config *service.Config) { FILE: commands/service_integration_test.go function newTestGetServiceArgumentsCommand (line 18) | func newTestGetServiceArgumentsCommand(t *testing.T, expectedArgs []stri... function testServiceCommandRun (line 28) | func testServiceCommandRun(command func(*cli.Context), args ...string) { type getServiceArgumentsTestCase (line 42) | type getServiceArgumentsTestCase struct function TestGetServiceArguments (line 47) | func TestGetServiceArguments(t *testing.T) { FILE: commands/service_linux.go function setupOSServiceConfig (line 9) | func setupOSServiceConfig(c *cli.Context, config *service.Config) { FILE: commands/service_portable.go function setupOSServiceConfig (line 10) | func setupOSServiceConfig(c *cli.Context, config *service.Config) { FILE: commands/service_windows.go function setupOSServiceConfig (line 8) | func setupOSServiceConfig(c *cli.Context, config *service.Config) { FILE: commands/single.go type RunSingleCommand (line 20) | type RunSingleCommand struct method postBuild (line 77) | func (r *RunSingleCommand) postBuild() { method processBuild (line 84) | func (r *RunSingleCommand) processBuild(data common.ExecutorData, abor... method checkFinishedConditions (line 161) | func (r *RunSingleCommand) checkFinishedConditions() { method HandleArgs (line 172) | func (r *RunSingleCommand) HandleArgs() { method Execute (line 195) | func (r *RunSingleCommand) Execute(c *cli.Context) { method getShutdownTimeout (line 256) | func (r *RunSingleCommand) getShutdownTimeout() time.Duration { function waitForInterrupts (line 36) | func waitForInterrupts( function NewRunSingleCommand (line 264) | func NewRunSingleCommand(n common.Network, executorProviders executors.P... FILE: commands/single_test.go function init (line 23) | func init() { type jobSimulation (line 31) | type jobSimulation function TestSingleRunnerSigquit (line 33) | func TestSingleRunnerSigquit(t *testing.T) { function TestSingleRunnerMaxBuilds (line 51) | func TestSingleRunnerMaxBuilds(t *testing.T) { function TestConfigFile (line 59) | func TestConfigFile(t *testing.T) { function newRunSingleCommand (line 87) | func newRunSingleCommand(executorName string, network common.Network) *R... function mockingExecutionStack (line 106) | func mockingExecutionStack( function TestRunSingleCommand_processBuild_HandlesUpdateAbort (line 156) | func TestRunSingleCommand_processBuild_HandlesUpdateAbort(t *testing.T) { function TestRunSingleCommand_processBuild_HandlesCancelRequested (line 196) | func TestRunSingleCommand_processBuild_HandlesCancelRequested(t *testing... FILE: commands/steps/steps.go constant SubCommandName (line 31) | SubCommandName = "steps" function readyMessage (line 34) | func readyMessage(sockPath string) string { type IOStreams (line 38) | type IOStreams struct function Bootstrap (line 44) | func Bootstrap(destination string) error { function copyDir (line 77) | func copyDir(src, dst string) error { function copyFile (line 110) | func copyFile(src, dst string, mode os.FileMode) error { function Serve (line 135) | func Serve(ctx context.Context, sockPath string, ioStreams IOStreams, cm... function Proxy (line 216) | func Proxy(sockPath string, io IOStreams) error { function NewCommand (line 226) | func NewCommand() cli.Command { FILE: commands/steps/steps_test.go constant waitDeadline (line 33) | waitDeadline = 5 * time.Second constant waitTick (line 34) | waitTick = 100 * time.Millisecond constant externalMode (line 36) | externalMode = "external-mode" constant appMode (line 37) | appMode = "app-mode" constant dontSleep (line 39) | dontSleep = "0" constant sleepSomeTime (line 40) | sleepSomeTime = "2" constant sleepReallyLong (line 41) | sleepReallyLong = "300" function TestMain (line 44) | func TestMain(m *testing.M) { function TestBootstrap (line 79) | func TestBootstrap(t *testing.T) { function TestServe (line 88) | func TestServe(t *testing.T) { function TestProxy (line 252) | func TestProxy(t *testing.T) { function TestCli (line 344) | func TestCli(t *testing.T) { function beCliApp (line 400) | func beCliApp(args ...string) int { function beExternalBinary (line 429) | func beExternalBinary(args ...string) int { function testIOStreams (line 464) | func testIOStreams() (steps.IOStreams, *io.PipeWriter, *syncBuffer, *syn... type osErrs (line 476) | type osErrs method Get (line 478) | func (oe osErrs) Get(t *testing.T, symbolicName string) string { function shortTempDir (line 508) | func shortTempDir(t *testing.T) string { function stepsClient (line 518) | func stepsClient(t *testing.T, sockPath string) proto.StepRunnerClient { function echoServer (line 524) | func echoServer(t *testing.T) string { type syncBuffer (line 553) | type syncBuffer struct method Write (line 558) | func (sb *syncBuffer) Write(p []byte) (int, error) { method String (line 566) | func (sb *syncBuffer) String() string { FILE: commands/tracing.go constant tracerName (line 30) | tracerName = "gitlab-ci-runner" constant spanNameJobExecution (line 31) | spanNameJobExecution = "job_execution" constant spanAttrJobID (line 33) | spanAttrJobID attribute.Key = "ci.job.id" constant spanAttrProjectID (line 34) | spanAttrProjectID attribute.Key = "ci.project.id" constant spanAttrPipelineID (line 35) | spanAttrPipelineID attribute.Key = "ci.pipeline.id" constant spanAttrPipelineSource (line 36) | spanAttrPipelineSource attribute.Key = "ci.pipeline.source" constant spanAttrRunnerID (line 37) | spanAttrRunnerID attribute.Key = "ci.runner.id" constant spanAttrRunnerExecutor (line 38) | spanAttrRunnerExecutor attribute.Key = "ci.runner.executor" constant spanAttrJobStatus (line 39) | spanAttrJobStatus attribute.Key = "ci.job.status" function tracerContext (line 42) | func tracerContext(ctx context.Context, log *logrus.Entry, tracingFeatur... function tracer (line 64) | func tracer(log *logrus.Entry, tracingFeature *spec.Tracing) (oteltrace.... function nopStop (line 80) | func nopStop() error { function setJobSpanAttributes (line 84) | func setJobSpanAttributes(span oteltrace.Span, build *common.Build, runn... function traceProviderForURLs (line 95) | func traceProviderForURLs(log *logrus.Entry, endpoints []spec.OTELEndpoi... function exporterForEndpoint (line 121) | func exporterForEndpoint(log *logrus.Entry, e *spec.OTELEndpoint) traces... function constructOTELResource (line 214) | func constructOTELResource() *resource.Resource { type perRPCCredentialsFromTokenSource (line 224) | type perRPCCredentialsFromTokenSource struct method GetRequestMetadata (line 228) | func (p *perRPCCredentialsFromTokenSource) GetRequestMetadata(ctx cont... method RequireTransportSecurity (line 238) | func (p *perRPCCredentialsFromTokenSource) RequireTransportSecurity() ... FILE: commands/tracing_test.go function TestTracerContext (line 16) | func TestTracerContext(t *testing.T) { function TestTraceProviderForURLs (line 47) | func TestTraceProviderForURLs(t *testing.T) { FILE: commands/unregister.go type UnregisterCommand (line 15) | type UnregisterCommand struct method unregisterAllRunners (line 30) | func (c *UnregisterCommand) unregisterAllRunners(cfg *common.Config) (... method unregisterSingleRunner (line 45) | func (c *UnregisterCommand) unregisterSingleRunner(cfg *common.Config)... method unregisterRunner (line 78) | func (c *UnregisterCommand) unregisterRunner(r common.RunnerConfig, sy... method Execute (line 86) | func (c *UnregisterCommand) Execute(context *cli.Context) { function NewUnregisterCommand (line 24) | func NewUnregisterCommand(n common.Network) cli.Command { FILE: commands/unregister_test.go constant testRunner1 (line 19) | testRunner1 = "test-runner-1" constant testRunner2 (line 20) | testRunner2 = "test-runner-2" constant testToken1 (line 21) | testToken1 = "test-token-1" constant testToken2 (line 22) | testToken2 = "test-token-2" function TestUnregisterCommand_unregisterAllRunner (line 36) | func TestUnregisterCommand_unregisterAllRunner(t *testing.T) { function TestUnregisterCommand_unregisterSingleRunner (line 108) | func TestUnregisterCommand_unregisterSingleRunner(t *testing.T) { function TestUnregisterCommand_unregisterRunner (line 261) | func TestUnregisterCommand_unregisterRunner(t *testing.T) { function TestUnregisterCommand_Execute (line 342) | func TestUnregisterCommand_Execute(t *testing.T) { FILE: commands/user_mode_warning.go function userModeWarning (line 10) | func userModeWarning(withRun bool) { FILE: commands/verify.go type VerifyCommand (line 13) | type VerifyCommand struct method Execute (line 29) | func (c *VerifyCommand) Execute(context *cli.Context) { function NewVerifyCommand (line 22) | func NewVerifyCommand(n common.Network) cli.Command { FILE: commands/wrapper.go constant defaultWrapperGRPCListen (line 23) | defaultWrapperGRPCListen = "tcp://localhost:7777" type logHook (line 31) | type logHook struct method Levels (line 33) | func (h *logHook) Levels() []logrus.Level { method Fire (line 37) | func (h *logHook) Fire(e *logrus.Entry) error { type RunnerWrapperCommand (line 43) | type RunnerWrapperCommand struct method Execute (line 58) | func (c *RunnerWrapperCommand) Execute(cctx *cli.Context) { method createListener (line 92) | func (c *RunnerWrapperCommand) createListener() (net.Listener, error) { function NewRunnerWrapperCommand (line 48) | func NewRunnerWrapperCommand() cli.Command { FILE: commands/wrapper_test.go function TestRunnerWrapperCommand_createListener (line 16) | func TestRunnerWrapperCommand_createListener(t *testing.T) { FILE: common/allowed_images.go type VerifyAllowedImageOptions (line 11) | type VerifyAllowedImageOptions struct function VerifyAllowedImage (line 20) | func VerifyAllowedImage(options VerifyAllowedImageOptions, logger buildl... FILE: common/allowed_images_test.go type allowedImageTestCase (line 13) | type allowedImageTestCase struct function TestVerifyAllowedImage (line 59) | func TestVerifyAllowedImage(t *testing.T) { FILE: common/build.go type BuildRuntimeState (line 40) | type BuildRuntimeState method String (line 42) | func (s BuildRuntimeState) String() string { constant BuildRunStatePending (line 47) | BuildRunStatePending BuildRuntimeState = "pending" constant BuildRunRuntimeRunning (line 48) | BuildRunRuntimeRunning BuildRuntimeState = "running" constant BuildRunRuntimeSuccess (line 49) | BuildRunRuntimeSuccess BuildRuntimeState = "success" constant BuildRunRuntimeFailed (line 50) | BuildRunRuntimeFailed BuildRuntimeState = "failed" constant BuildRunRuntimeCanceled (line 51) | BuildRunRuntimeCanceled BuildRuntimeState = "canceled" constant BuildRunRuntimeTerminated (line 52) | BuildRunRuntimeTerminated BuildRuntimeState = "terminated" constant BuildRunRuntimeTimedout (line 53) | BuildRunRuntimeTimedout BuildRuntimeState = "timedout" type BuildStage (line 57) | type BuildStage type JobExecutionMode (line 58) | type JobExecutionMode method OrUnknown (line 102) | func (m JobExecutionMode) OrUnknown() JobExecutionMode { type WithContext (line 65) | type WithContext interface constant BuildStageResolveSecrets (line 70) | BuildStageResolveSecrets BuildStage = "resolve_secrets" constant BuildStagePrepareExecutor (line 71) | BuildStagePrepareExecutor BuildStage = "prepare_executor" constant BuildStagePrepare (line 72) | BuildStagePrepare BuildStage = "prepare_script" constant BuildStageGetSources (line 73) | BuildStageGetSources BuildStage = "get_sources" constant BuildStageClearWorktree (line 74) | BuildStageClearWorktree BuildStage = "clear_worktree" constant BuildStageRestoreCache (line 75) | BuildStageRestoreCache BuildStage = "restore_cache" constant BuildStageDownloadArtifacts (line 76) | BuildStageDownloadArtifacts BuildStage = "download_artifacts" constant BuildStageAfterScript (line 77) | BuildStageAfterScript BuildStage = "after_script" constant BuildStageArchiveOnSuccessCache (line 78) | BuildStageArchiveOnSuccessCache BuildStage = "archive_cache" constant BuildStageArchiveOnFailureCache (line 79) | BuildStageArchiveOnFailureCache BuildStage = "archive_cache_on_failure" constant BuildStageUploadOnSuccessArtifacts (line 80) | BuildStageUploadOnSuccessArtifacts BuildStage = "upload_artifacts_on_suc... constant BuildStageUploadOnFailureArtifacts (line 81) | BuildStageUploadOnFailureArtifacts BuildStage = "upload_artifacts_on_fai... constant BuildStageCleanup (line 85) | BuildStageCleanup BuildStage = "cleanup_file_variables" type OnBuildStageFn (line 88) | type OnBuildStageFn method Call (line 90) | func (fn OnBuildStageFn) Call(stage BuildStage) { constant JobExecutionModeSteps (line 97) | JobExecutionModeSteps JobExecutionMode = "steps" constant JobExecutionModeTraditional (line 98) | JobExecutionModeTraditional JobExecutionMode = "traditional" constant JobExecutionModeUnknown (line 99) | JobExecutionModeUnknown JobExecutionMode = "unknown" type OnJobExecutionModeDispatchedFn (line 109) | type OnJobExecutionModeDispatchedFn method Call (line 111) | func (fn OnJobExecutionModeDispatchedFn) Call(mode JobExecutionMode, e... constant ExecutorJobSectionAttempts (line 138) | ExecutorJobSectionAttempts = "EXECUTOR_JOB_SECTION_ATTEMPTS" type Build (line 145) | type Build struct method setCurrentStage (line 200) | func (b *Build) setCurrentStage(stage BuildStage) { method CurrentStage (line 207) | func (b *Build) CurrentStage() BuildStage { method setCurrentState (line 214) | func (b *Build) setCurrentState(state BuildRuntimeState) { method setCurrentStateIf (line 221) | func (b *Build) setCurrentStateIf(existingState BuildRuntimeState, new... method markStepDispatchedInScript (line 232) | func (b *Build) markStepDispatchedInScript() { method DispatchedJobExecutionMode (line 239) | func (b *Build) DispatchedJobExecutionMode() JobExecutionMode { method recordDispatchedExecutionMode (line 250) | func (b *Build) recordDispatchedExecutionMode() { method CurrentState (line 254) | func (b *Build) CurrentState() BuildRuntimeState { method FailureReason (line 261) | func (b *Build) FailureReason() spec.JobFailureReason { method Log (line 265) | func (b *Build) Log() *logrus.Entry { method ProjectUniqueShortName (line 298) | func (b *Build) ProjectUniqueShortName() string { method ProjectUniqueName (line 312) | func (b *Build) ProjectUniqueName() string { method ProjectRealUniqueName (line 336) | func (b *Build) ProjectRealUniqueName() string { method GetNetworkName (line 350) | func (b *Build) GetNetworkName() string { method ProjectSlug (line 354) | func (b *Build) ProjectSlug() (string, error) { method ProjectUniqueDir (line 375) | func (b *Build) ProjectUniqueDir(sharedDir bool) string { method FullProjectDir (line 399) | func (b *Build) FullProjectDir() string { method TmpProjectDir (line 403) | func (b *Build) TmpProjectDir() string { method BuildStages (line 409) | func (b *Build) BuildStages() []BuildStage { method getCustomBuildDir (line 424) | func (b *Build) getCustomBuildDir(rootDir, dir string, customBuildDirE... method StartBuild (line 445) | func (b *Build) StartBuild( method executeStepStage (line 488) | func (b *Build) executeStepStage(ctx context.Context, connector steps.... method executeStage (line 602) | func (b *Build) executeStage(ctx context.Context, buildStage BuildStag... method executeUploadArtifacts (line 739) | func (b *Build) executeUploadArtifacts(ctx context.Context, state erro... method executeArchiveCache (line 747) | func (b *Build) executeArchiveCache(ctx context.Context, state error, ... method executeScript (line 755) | func (b *Build) executeScript(ctx context.Context, trace JobTrace, exe... method executePrepareScripts (line 823) | func (b *Build) executePrepareScripts(ctx context.Context, executor Ex... method executeUserScripts (line 855) | func (b *Build) executeUserScripts(ctx context.Context, trace JobTrace... method pickPriorityError (line 925) | func (b *Build) pickPriorityError(jobErr error, archiveCacheErr error,... method executeAfterScript (line 939) | func (b *Build) executeAfterScript(ctx context.Context, err error, exe... method createReferees (line 954) | func (b *Build) createReferees(executor Executor) { method removeFileBasedVariables (line 958) | func (b *Build) removeFileBasedVariables(ctx context.Context, executor... method executeUploadReferees (line 965) | func (b *Build) executeUploadReferees(ctx context.Context, startTime, ... method attemptExecuteStage (line 1004) | func (b *Build) attemptExecuteStage( method GetBuildTimeout (line 1048) | func (b *Build) GetBuildTimeout() time.Duration { method GetPrepareTimeout (line 1058) | func (b *Build) GetPrepareTimeout() time.Duration { method handleError (line 1082) | func (b *Build) handleError(err error) error { method runtimeStateAndError (line 1089) | func (b *Build) runtimeStateAndError(err error) (BuildRuntimeState, er... method run (line 1111) | func (b *Build) run(ctx context.Context, trace JobTrace, executor Exec... method waitForBuildFinish (line 1191) | func (b *Build) waitForBuildFinish(buildFinish <-chan error, timeout t... method retryCreateExecutor (line 1201) | func (b *Build) retryCreateExecutor( method waitForTerminal (line 1244) | func (b *Build) waitForTerminal(ctx context.Context, timeout time.Dura... method getTerminalTimeout (line 1288) | func (b *Build) getTerminalTimeout(ctx context.Context, timeout time.D... method setTraceStatus (line 1311) | func (b *Build) setTraceStatus(trace JobTrace, err error) { method setExecutorStageResolver (line 1378) | func (b *Build) setExecutorStageResolver(resolver func() ExecutorStage) { method CurrentExecutorStage (line 1385) | func (b *Build) CurrentExecutorStage() ExecutorStage { method Run (line 1396) | func (b *Build) Run(globalConfig *Config, trace JobTrace) (err error) { method expandInputs (line 1480) | func (b *Build) expandInputs() error { method getNewLogger (line 1488) | func (b *Build) getNewLogger(trace JobTrace, log *logrus.Entry, teeOnl... method logUsedImages (line 1502) | func (b *Build) logUsedImages() { method configureTrace (line 1532) | func (b *Build) configureTrace(trace JobTrace, cancel context.CancelFu... method createExecutorPrepareOptions (line 1537) | func (b *Build) createExecutorPrepareOptions(ctx context.Context, glob... method resolveSecrets (line 1547) | func (b *Build) resolveSecrets(trace JobTrace) error { method executeBuildSection (line 1584) | func (b *Build) executeBuildSection(options ExecutorPrepareOptions, pr... method String (line 1610) | func (b *Build) String() string { method platformAppropriatePath (line 1614) | func (b *Build) platformAppropriatePath(s string) string { method GetDefaultVariables (line 1623) | func (b *Build) GetDefaultVariables() spec.Variables { method GetDefaultFeatureFlagsVariables (line 1676) | func (b *Build) GetDefaultFeatureFlagsVariables() spec.Variables { method GetSharedEnvVariable (line 1691) | func (b *Build) GetSharedEnvVariable() spec.Variable { method GetCITLSVariables (line 1702) | func (b *Build) GetCITLSVariables() spec.Variables { method IsSharedEnv (line 1737) | func (b *Build) IsSharedEnv() bool { method RefreshAllVariables (line 1743) | func (b *Build) RefreshAllVariables() { method getBaseVariablesBeforeJob (line 1749) | func (b *Build) getBaseVariablesBeforeJob() spec.Variables { method getBaseVariablesAfterJob (line 1768) | func (b *Build) getBaseVariablesAfterJob() spec.Variables { method getVariablesForFeatureFlagResolution (line 1791) | func (b *Build) getVariablesForFeatureFlagResolution() spec.Variables { method getResolvedFeatureFlags (line 1806) | func (b *Build) getResolvedFeatureFlags() spec.Variables { method getNonFeatureFlagJobVariables (line 1830) | func (b *Build) getNonFeatureFlagJobVariables() spec.Variables { method GetAllVariables (line 1851) | func (b *Build) GetAllVariables() spec.Variables { method IsProtected (line 1877) | func (b *Build) IsProtected() bool { method expandContainerOptions (line 1888) | func (b *Build) expandContainerOptions() { method withUrlHelper (line 1900) | func (b *Build) withUrlHelper() *url_helpers.GitAuthHelper { method GetRemoteURL (line 1925) | func (b *Build) GetRemoteURL() (*url.URL, error) { method GetInsteadOfs (line 1930) | func (b *Build) GetInsteadOfs() ([][2]string, error) { method getStageTimeoutContexts (line 1939) | func (b *Build) getStageTimeoutContexts(parent context.Context, timeou... method GetGitStrategy (line 1991) | func (b *Build) GetGitStrategy() GitStrategy { method GetRepositoryObjectFormat (line 1995) | func (b *Build) GetRepositoryObjectFormat() string { method GetGitCheckout (line 2003) | func (b *Build) GetGitCheckout() bool { method GetSubmoduleStrategy (line 2011) | func (b *Build) GetSubmoduleStrategy() SubmoduleStrategy { method GetSubmodulePaths (line 2020) | func (b *Build) GetSubmodulePaths() ([]string, error) { method GetSubmoduleDepth (line 2030) | func (b *Build) GetSubmoduleDepth() int { method GetGitCleanFlags (line 2034) | func (b *Build) GetGitCleanFlags() []string { method GetGitCloneFlags (line 2038) | func (b *Build) GetGitCloneFlags() []string { method GetGitFetchFlags (line 2042) | func (b *Build) GetGitFetchFlags() []string { method GetGitSubmoduleUpdateFlags (line 2046) | func (b *Build) GetGitSubmoduleUpdateFlags() []string { method IsDebugTraceEnabled (line 2050) | func (b *Build) IsDebugTraceEnabled() bool { method GetDockerAuthConfig (line 2054) | func (b *Build) GetDockerAuthConfig() string { method GetGetSourcesAttempts (line 2058) | func (b *Build) GetGetSourcesAttempts() int { method GetDownloadArtifactsAttempts (line 2062) | func (b *Build) GetDownloadArtifactsAttempts() int { method GetRestoreCacheAttempts (line 2066) | func (b *Build) GetRestoreCacheAttempts() int { method GetCacheRequestTimeout (line 2070) | func (b *Build) GetCacheRequestTimeout() int { method GetExecutorJobSectionAttempts (line 2074) | func (b *Build) GetExecutorJobSectionAttempts() int { method StartedAt (line 2078) | func (b *Build) StartedAt() time.Time { method FinishedAt (line 2082) | func (b *Build) FinishedAt() time.Time { method CurrentDuration (line 2090) | func (b *Build) CurrentDuration() time.Duration { method FinalDuration (line 2097) | func (b *Build) FinalDuration() time.Duration { method ensureFinishedAt (line 2105) | func (b *Build) ensureFinishedAt() { method IsFeatureFlagOn (line 2138) | func (b *Build) IsFeatureFlagOn(name string) bool { method getFeatureFlagInfo (line 2145) | func (b *Build) getFeatureFlagInfo() string { method printRunningWithHeader (line 2158) | func (b *Build) printRunningWithHeader(trace JobTrace) { method printSettingErrors (line 2176) | func (b *Build) printSettingErrors() { method printPolicyOptions (line 2182) | func (b *Build) printPolicyOptions() { method IsLFSSmudgeDisabled (line 2211) | func (b *Build) IsLFSSmudgeDisabled() bool { method IsCIDebugServiceEnabled (line 2215) | func (b *Build) IsCIDebugServiceEnabled() bool { method IsDebugModeEnabled (line 2219) | func (b *Build) IsDebugModeEnabled() bool { function wrapStepStageErr (line 537) | func wrapStepStageErr(err error) error { function getPredefinedEnv (line 693) | func getPredefinedEnv(buildStage BuildStage) bool { function GetStageDescription (line 716) | func GetStageDescription(stage BuildStage) string { function StepToBuildStage (line 950) | func StepToBuildStage(s spec.Step) BuildStage { function logTerminationError (line 1370) | func logTerminationError(logger buildlogger.Logger, name string, err err... type stageTimeout (line 1934) | type stageTimeout struct type urlHelper (line 2109) | type urlHelper interface function NewBuild (line 2114) | func NewBuild( FILE: common/build_settings.go type GitStrategy (line 16) | type GitStrategy constant GitClone (line 19) | GitClone GitStrategy = "clone" constant GitFetch (line 20) | GitFetch GitStrategy = "fetch" constant GitNone (line 21) | GitNone GitStrategy = "none" constant GitEmpty (line 22) | GitEmpty GitStrategy = "empty" type cmdFlags (line 25) | type cmdFlags type SubmoduleStrategy (line 32) | type SubmoduleStrategy constant SubmoduleInvalid (line 35) | SubmoduleInvalid SubmoduleStrategy = "invalid" constant SubmoduleNone (line 36) | SubmoduleNone SubmoduleStrategy = "none" constant SubmoduleNormal (line 37) | SubmoduleNormal SubmoduleStrategy = "normal" constant SubmoduleRecursive (line 38) | SubmoduleRecursive SubmoduleStrategy = "recursive" constant DefaultObjectFormat (line 40) | DefaultObjectFormat = "sha1" type BuildSettings (line 43) | type BuildSettings struct method Settings (line 77) | func (b *Build) Settings() BuildSettings { method initSettings (line 83) | func (b *Build) initSettings() { function validateVariables (line 123) | func validateVariables(variables spec.Variables, b *Build, defaultGitSta... function validate (line 154) | func validate[T any](variables spec.Variables, name string, value *T, de... function populateFeatureFlags (line 225) | func populateFeatureFlags(b *Build, variables spec.Variables) []error { FILE: common/build_settings_test.go function TestBuildVariablesAsFileType (line 14) | func TestBuildVariablesAsFileType(t *testing.T) { FILE: common/build_step_dispatch.go constant stepRunBuildStage (line 17) | stepRunBuildStage = BuildStage("step_" + spec.StepNameRun) function stepDispatch (line 25) | func stepDispatch(build *Build, executor Executor, stage BuildStage) (bo... function stagesToConcreteStep (line 92) | func stagesToConcreteStep(ctx context.Context, executor Executor) ([]sch... FILE: common/build_step_dispatch_test.go function TestBuildConcreteKitchenSink (line 14) | func TestBuildConcreteKitchenSink(t *testing.T) { FILE: common/build_test.go function init (line 40) | func init() { function TestBuildPredefinedVariables (line 48) | func TestBuildPredefinedVariables(t *testing.T) { function TestBuildTimeoutExposed (line 61) | func TestBuildTimeoutExposed(t *testing.T) { function TestGetPrepareTimeout (line 94) | func TestGetPrepareTimeout(t *testing.T) { function matchBuildStage (line 190) | func matchBuildStage(buildStage BuildStage) interface{} { function TestBuildRun (line 196) | func TestBuildRun(t *testing.T) { function TestBuildPanic (line 200) | func TestBuildPanic(t *testing.T) { function TestJobImageExposed (line 305) | func TestJobImageExposed(t *testing.T) { function TestBuildRunNoModifyConfig (line 354) | func TestBuildRunNoModifyConfig(t *testing.T) { function TestRetryPrepare (line 377) | func TestRetryPrepare(t *testing.T) { function TestPrepareFailure (line 403) | func TestPrepareFailure(t *testing.T) { function TestPrepareFailureOnBuildError (line 422) | func TestPrepareFailureOnBuildError(t *testing.T) { function TestPrepareEnvironmentFailure (line 435) | func TestPrepareEnvironmentFailure(t *testing.T) { function TestJobFailure (line 466) | func TestJobFailure(t *testing.T) { function TestJobFailureOnExecutionTimeout (line 505) | func TestJobFailureOnExecutionTimeout(t *testing.T) { function TestRunFailureRunsAfterScriptAndArtifactsOnFailure (line 537) | func TestRunFailureRunsAfterScriptAndArtifactsOnFailure(t *testing.T) { function TestGetSourcesRunFailure (line 571) | func TestGetSourcesRunFailure(t *testing.T) { function TestArtifactDownloadRunFailure (line 597) | func TestArtifactDownloadRunFailure(t *testing.T) { function TestArtifactUploadRunFailure (line 620) | func TestArtifactUploadRunFailure(t *testing.T) { function TestArchiveCacheOnScriptFailure (line 652) | func TestArchiveCacheOnScriptFailure(t *testing.T) { function TestUploadArtifactsOnArchiveCacheFailure (line 676) | func TestUploadArtifactsOnArchiveCacheFailure(t *testing.T) { function TestRestoreCacheRunFailure (line 700) | func TestRestoreCacheRunFailure(t *testing.T) { function TestRunWrongAttempts (line 722) | func TestRunWrongAttempts(t *testing.T) { function TestRunSuccessOnSecondAttempt (line 745) | func TestRunSuccessOnSecondAttempt(t *testing.T) { function TestDebugTrace (line 774) | func TestDebugTrace(t *testing.T) { function TestDefaultEnvVariables (line 835) | func TestDefaultEnvVariables(t *testing.T) { function TestSharedEnvVariables (line 880) | func TestSharedEnvVariables(t *testing.T) { function TestGetRemoteURL (line 906) | func TestGetRemoteURL(t *testing.T) { function TestGetInsteadOfs (line 974) | func TestGetInsteadOfs(t *testing.T) { function TestIsFeatureFlagOn (line 1063) | func TestIsFeatureFlagOn(t *testing.T) { function TestIsFeatureFlagOn_SetWithRunnerVariables (line 1122) | func TestIsFeatureFlagOn_SetWithRunnerVariables(t *testing.T) { function TestIsFeatureFlagOn_Precedence (line 1156) | func TestIsFeatureFlagOn_Precedence(t *testing.T) { function TestGetAllVariables_FeatureFlagResolution (line 1211) | func TestGetAllVariables_FeatureFlagResolution(t *testing.T) { function TestStartBuild (line 1279) | func TestStartBuild(t *testing.T) { function TestTmpProjectDir (line 1459) | func TestTmpProjectDir(t *testing.T) { function TestSkipBuildStageFeatureFlag (line 1536) | func TestSkipBuildStageFeatureFlag(t *testing.T) { function TestWaitForTerminal (line 1576) | func TestWaitForTerminal(t *testing.T) { function TestBuild_IsLFSSmudgeDisabled (line 1699) | func TestBuild_IsLFSSmudgeDisabled(t *testing.T) { function TestGitSubmodulePaths (line 1751) | func TestGitSubmodulePaths(t *testing.T) { function TestGitCleanFlags (line 1842) | func TestGitCleanFlags(t *testing.T) { function TestGitCloneFlags (line 1882) | func TestGitCloneFlags(t *testing.T) { function TestGitFetchFlags (line 1926) | func TestGitFetchFlags(t *testing.T) { function TestGetRepositoryObjectFormat (line 1966) | func TestGetRepositoryObjectFormat(t *testing.T) { function TestGitSubmoduleUpdateFlags (line 2002) | func TestGitSubmoduleUpdateFlags(t *testing.T) { function TestDefaultVariables (line 2038) | func TestDefaultVariables(t *testing.T) { function TestBuildFinishTimeout (line 2118) | func TestBuildFinishTimeout(t *testing.T) { function TestProjectUniqueName (line 2151) | func TestProjectUniqueName(t *testing.T) { function TestProjectUniqueShortName (line 2197) | func TestProjectUniqueShortName(t *testing.T) { function TestProjectRealUniqueName (line 2260) | func TestProjectRealUniqueName(t *testing.T) { function TestBuildStages (line 2313) | func TestBuildStages(t *testing.T) { function TestBuild_GetExecutorJobSectionAttempts (line 2344) | func TestBuild_GetExecutorJobSectionAttempts(t *testing.T) { function TestBuild_getFeatureFlagInfo (line 2392) | func TestBuild_getFeatureFlagInfo(t *testing.T) { function setupSuccessfulMockExecutor (line 2432) | func setupSuccessfulMockExecutor( function setupMockExecutorAndProvider (line 2462) | func setupMockExecutorAndProvider(t *testing.T) (*MockExecutor, *MockExe... function registerExecutorWithSuccessfulBuild (line 2472) | func registerExecutorWithSuccessfulBuild(t *testing.T, p *MockExecutorPr... function runSuccessfulMockBuild (line 2486) | func runSuccessfulMockBuild(t *testing.T, prepareFn func(options Executo... function TestSecretsResolving (line 2496) | func TestSecretsResolving(t *testing.T) { function TestSetTraceStatus (line 2599) | func TestSetTraceStatus(t *testing.T) { function Test_GetDebugServicePolicy (line 2650) | func Test_GetDebugServicePolicy(t *testing.T) { function Test_expandContainerOptions (line 2692) | func Test_expandContainerOptions(t *testing.T) { function TestPrintPolicyOptions (line 2748) | func TestPrintPolicyOptions(t *testing.T) { function TestGetStageTimeoutContexts (line 2841) | func TestGetStageTimeoutContexts(t *testing.T) { function Test_logUsedImages (line 3030) | func Test_logUsedImages(t *testing.T) { function TestBuildStageMetrics (line 3162) | func TestBuildStageMetrics(t *testing.T) { function TestBuild_DispatchedJobExecutionMode (line 3196) | func TestBuild_DispatchedJobExecutionMode(t *testing.T) { function TestBuildStageMetricsFailBuild (line 3219) | func TestBuildStageMetricsFailBuild(t *testing.T) { function TestBuildDurationsAndBoundaryTimes (line 3274) | func TestBuildDurationsAndBoundaryTimes(t *testing.T) { function TestBuild_RunCallsEnsureFinishedAt (line 3317) | func TestBuild_RunCallsEnsureFinishedAt(t *testing.T) { function TestBuildIsProtected (line 3409) | func TestBuildIsProtected(t *testing.T) { function TestExpandingInputs (line 3477) | func TestExpandingInputs(t *testing.T) { function TestBuild_attemptExecuteStage (line 4275) | func TestBuild_attemptExecuteStage(t *testing.T) { function TestBuild_attemptExecuteStageWithRetryCallback (line 4417) | func TestBuild_attemptExecuteStageWithRetryCallback(t *testing.T) { function TestBuild_attemptExecuteStageExponentialBackoff (line 4506) | func TestBuild_attemptExecuteStageExponentialBackoff(t *testing.T) { function TestBuild_attemptExecuteStageInvalidAttempts (line 4559) | func TestBuild_attemptExecuteStageInvalidAttempts(t *testing.T) { function TestPredefinedServerVariables (line 4631) | func TestPredefinedServerVariables(t *testing.T) { function TestWrapStepStageErr_NormalizesWindowsExitCode (line 4774) | func TestWrapStepStageErr_NormalizesWindowsExitCode(t *testing.T) { function Test_wrapStepStageErr (line 4781) | func Test_wrapStepStageErr(t *testing.T) { function TestBuild_executeStepStage_ForwardsRegisterCancel (line 4859) | func TestBuild_executeStepStage_ForwardsRegisterCancel(t *testing.T) { function TestBuild_executeStepStage_NilRegisterCancel (line 4913) | func TestBuild_executeStepStage_NilRegisterCancel(t *testing.T) { FILE: common/buildlogger/build_logger.go type Trace (line 17) | type Trace interface type Options (line 22) | type Options struct constant Stdout (line 31) | Stdout StreamType = 'O' constant Stderr (line 32) | Stderr StreamType = 'E' type StreamType (line 35) | type StreamType type Logger (line 37) | type Logger struct method Stream (line 88) | func (l *Logger) Stream(streamID int, streamType StreamType) io.WriteC... method wrap (line 109) | func (l *Logger) wrap(w io.WriteCloser, streamID int, streamType Strea... method WithFields (line 122) | func (l *Logger) WithFields(fields logrus.Fields) *Logger { method SendRawLog (line 134) | func (l *Logger) SendRawLog(args ...any) { method Close (line 144) | func (l *Logger) Close() error { function NewNopCloser (line 53) | func NewNopCloser(w io.Writer) io.WriteCloser { constant StreamExecutorLevel (line 59) | StreamExecutorLevel = 0 constant StreamWorkLevel (line 61) | StreamWorkLevel = 1 constant StreamStartingServiceLevel (line 63) | StreamStartingServiceLevel = 15 function New (line 66) | func New(log Trace, entry *logrus.Entry, opts Options) Logger { FILE: common/buildlogger/build_logger_test.go type fakeJobTrace (line 14) | type fakeJobTrace struct method Write (line 18) | func (fjt *fakeJobTrace) Write(p []byte) (int, error) { method IsStdout (line 22) | func (fjt *fakeJobTrace) IsStdout() bool { method Read (line 26) | func (fjt *fakeJobTrace) Read() string { function newFakeJobTrace (line 30) | func newFakeJobTrace() *fakeJobTrace { function newBuildLogger (line 38) | func newBuildLogger(testName string, jt Trace) Logger { function runOnHijackedLogrusOutput (line 42) | func runOnHijackedLogrusOutput(t *testing.T, handler func(t *testing.T, ... function TestLogLineWithoutSecret (line 52) | func TestLogLineWithoutSecret(t *testing.T) { function TestLogLineWithSecret (line 66) | func TestLogLineWithSecret(t *testing.T) { function TestLogPrinters (line 88) | func TestLogPrinters(t *testing.T) { FILE: common/buildlogger/internal/build_logger_fuzz.go type nopWriter (line 17) | type nopWriter struct method Close (line 21) | func (nopWriter) Close() error { function Fuzz (line 25) | func Fuzz(data []byte) int { function chunk (line 106) | func chunk(r *rand.Rand, input []byte, fn func(part []byte)) { FILE: common/buildlogger/internal/masker/masker.go type Masker (line 22) | type Masker struct method Write (line 39) | func (m *Masker) Write(p []byte) (n int, err error) { method Close (line 44) | func (m *Masker) Close() error { function New (line 27) | func New(w io.WriteCloser, phrases [][]byte) *Masker { type masker (line 48) | type masker struct method Write (line 55) | func (m *masker) Write(p []byte) (n int, err error) { method Close (line 141) | func (m *masker) Close() error { FILE: common/buildlogger/internal/masker/masker_test.go function TestMasking (line 16) | func TestMasking(t *testing.T) { FILE: common/buildlogger/internal/nopcloser.go type nopCloser (line 5) | type nopCloser struct method Close (line 9) | func (nopCloser) Close() error { function NewNopCloser (line 13) | func NewNopCloser(w io.Writer) io.WriteCloser { FILE: common/buildlogger/internal/sync.go type syncWriter (line 8) | type syncWriter struct method Write (line 18) | func (s *syncWriter) Write(p []byte) (int, error) { method Close (line 25) | func (s *syncWriter) Close() error { function NewSync (line 14) | func NewSync(w io.WriteCloser) *syncWriter { FILE: common/buildlogger/internal/tee.go type Tee (line 13) | type Tee struct method WithFields (line 29) | func (t *Tee) WithFields(fields logrus.Fields) Tee { method WithoutLog (line 37) | func (t *Tee) WithoutLog() Tee { method WriterLevel (line 45) | func (t *Tee) WriterLevel(level logrus.Level) *io.PipeWriter { method log (line 49) | func (t *Tee) log(level logrus.Level, logPrefix string, args ...interf... method Debugln (line 76) | func (t *Tee) Debugln(args ...interface{}) { method Println (line 83) | func (t *Tee) Println(args ...interface{}) { method Infoln (line 87) | func (t *Tee) Infoln(args ...interface{}) { method Warningln (line 91) | func (t *Tee) Warningln(args ...interface{}) { method SoftErrorln (line 95) | func (t *Tee) SoftErrorln(args ...interface{}) { method Errorln (line 99) | func (t *Tee) Errorln(args ...interface{}) { function NewTee (line 25) | func NewTee(logFn func(args ...any), entry *logrus.Entry, disable bool) ... FILE: common/buildlogger/internal/timestamper/timestamper.go constant StdoutType (line 11) | StdoutType StreamType = 'O' constant StderrType (line 12) | StderrType StreamType = 'E' constant PartialLineType (line 14) | PartialLineType LineType = '+' constant FullLineType (line 15) | FullLineType LineType = ' ' constant hextable (line 17) | hextable = "0123456789abcdef" constant bufSize (line 22) | bufSize = 8 * 1024 constant fracs (line 25) | fracs = 6 constant format (line 27) | format = "YYYY-mm-ddTHH:MM:SS.123456Z " type StreamType (line 31) | type StreamType type LineType (line 32) | type LineType type Logger (line 64) | type Logger struct method Write (line 94) | func (l *Logger) Write(p []byte) (n int, err error) { method buffer (line 123) | func (l *Logger) buffer(p []byte) (n int, err error) { method writeLines (line 167) | func (l *Logger) writeLines(p []byte) (n int, err error) { method writeCarriageReturns (line 206) | func (l *Logger) writeCarriageReturns(p []byte) (n int, err error) { method writeHeader (line 238) | func (l *Logger) writeHeader(w io.Writer) error { method Close (line 275) | func (l *Logger) Close() error { function New (line 73) | func New(w io.Writer, streamType StreamType, streamNumber uint8, timesta... FILE: common/buildlogger/internal/timestamper/timestamper_test.go function setupDummyTime (line 15) | func setupDummyTime() func() { function writeLines (line 30) | func writeLines(w io.Writer) { function TestWithTimestamps (line 54) | func TestWithTimestamps(t *testing.T) { function TestWithoutTimestamp (line 109) | func TestWithoutTimestamp(t *testing.T) { function TestForcedFlush (line 151) | func TestForcedFlush(t *testing.T) { function BenchmarkWithTimestamps (line 177) | func BenchmarkWithTimestamps(b *testing.B) { FILE: common/buildlogger/internal/tokensanitizer/token_masker.go function DefaultTokenPrefixes (line 32) | func DefaultTokenPrefixes(maskAllDefaultTokens bool) []string { type TokenSanitizer (line 68) | type TokenSanitizer struct method Write (line 90) | func (m *TokenSanitizer) Write(p []byte) (n int, err error) { method Close (line 95) | func (m *TokenSanitizer) Close() error { function New (line 74) | func New(w io.WriteCloser, prefixes [][]byte) *TokenSanitizer { type tokenSanitizer (line 99) | type tokenSanitizer struct method Write (line 107) | func (m *tokenSanitizer) Write(p []byte) (n int, err error) { method Close (line 209) | func (m *tokenSanitizer) Close() error { FILE: common/buildlogger/internal/tokensanitizer/token_masker_test.go function TestTokenMasking (line 23) | func TestTokenMasking(t *testing.T) { function BenchmarkTokenMaskingPerformance (line 106) | func BenchmarkTokenMaskingPerformance(b *testing.B) { function BenchmarkTokenMaskingDuration (line 169) | func BenchmarkTokenMaskingDuration(b *testing.B) { function generateParagraph (line 186) | func generateParagraph(numberOfWords int, token, wordPool []string) stri... FILE: common/buildlogger/internal/unique.go function Unique (line 9) | func Unique(tokens []string) [][]byte { FILE: common/buildlogger/internal/urlsanitizer/urlsanitizer.go type URLSanitizer (line 34) | type URLSanitizer struct method Write (line 53) | func (s *URLSanitizer) Write(p []byte) (n int, err error) { method Close (line 155) | func (s *URLSanitizer) Close() error { function New (line 41) | func New(w io.WriteCloser) *URLSanitizer { function isParamEnd (line 168) | func isParamEnd(r rune) bool { FILE: common/buildlogger/internal/urlsanitizer/urlsanitizer_test.go function TestMasking (line 16) | func TestMasking(t *testing.T) { FILE: common/buildlogger/mocks.go function NewMockTrace (line 13) | func NewMockTrace(t interface { type MockTrace (line 26) | type MockTrace struct method EXPECT (line 34) | func (_m *MockTrace) EXPECT() *MockTrace_Expecter { method IsStdout (line 39) | func (_mock *MockTrace) IsStdout() bool { method Write (line 83) | func (_mock *MockTrace) Write(bytes []byte) (int, error) { type MockTrace_Expecter (line 30) | type MockTrace_Expecter struct method IsStdout (line 61) | func (_e *MockTrace_Expecter) IsStdout() *MockTrace_IsStdout_Call { method Write (line 115) | func (_e *MockTrace_Expecter) Write(bytes interface{}) *MockTrace_Writ... type MockTrace_IsStdout_Call (line 56) | type MockTrace_IsStdout_Call struct method Run (line 65) | func (_c *MockTrace_IsStdout_Call) Run(run func()) *MockTrace_IsStdout... method Return (line 72) | func (_c *MockTrace_IsStdout_Call) Return(b bool) *MockTrace_IsStdout_... method RunAndReturn (line 77) | func (_c *MockTrace_IsStdout_Call) RunAndReturn(run func() bool) *Mock... type MockTrace_Write_Call (line 109) | type MockTrace_Write_Call struct method Run (line 119) | func (_c *MockTrace_Write_Call) Run(run func(bytes []byte)) *MockTrace... method Return (line 132) | func (_c *MockTrace_Write_Call) Return(n int, err error) *MockTrace_Wr... method RunAndReturn (line 137) | func (_c *MockTrace_Write_Call) RunAndReturn(run func(bytes []byte) (i... FILE: common/buildtest/abort.go type withContext (line 18) | type withContext struct method WithContext (line 21) | func (c *withContext) WithContext(ctx context.Context) (context.Contex... function RunBuildWithCancel (line 29) | func RunBuildWithCancel(t *testing.T, config *common.RunnerConfig, setup... function RunBuildWithExecutorCancel (line 162) | func RunBuildWithExecutorCancel(t *testing.T, config *common.RunnerConfi... FILE: common/buildtest/binary.go function MustBuildBinary (line 10) | func MustBuildBinary(entrypoint string, binaryName string) string { FILE: common/buildtest/cleanup.go function RunBuildWithCleanupGitClone (line 13) | func RunBuildWithCleanupGitClone(t *testing.T, build *common.Build) { function RunBuildWithCleanupGitFetch (line 24) | func RunBuildWithCleanupGitFetch(t *testing.T, build *common.Build, untr... function RunBuildWithCleanupNormalSubmoduleStrategy (line 37) | func RunBuildWithCleanupNormalSubmoduleStrategy( function RunBuildWithCleanupRecursiveSubmoduleStrategy (line 58) | func RunBuildWithCleanupRecursiveSubmoduleStrategy( function GetNewUntrackedFileIntoSubmodulesCommands (line 81) | func GetNewUntrackedFileIntoSubmodulesCommands( FILE: common/buildtest/job_output_limit.go function RunRemoteBuildWithJobOutputLimitExceeded (line 17) | func RunRemoteBuildWithJobOutputLimitExceeded(t *testing.T, config *comm... function RunBuildWithJobOutputLimitExceeded (line 21) | func RunBuildWithJobOutputLimitExceeded(t *testing.T, config *common.Run... type jobOutputLimitExceededTestCase (line 25) | type jobOutputLimitExceededTestCase struct function runBuildWithJobOutputLimitExceeded (line 84) | func runBuildWithJobOutputLimitExceeded( function runBuildWithJobOutputLimitExceededCase (line 107) | func runBuildWithJobOutputLimitExceededCase(t *testing.T, tt jobOutputLi... FILE: common/buildtest/masking.go function RunBuildWithMasking (line 16) | func RunBuildWithMasking(t *testing.T, config *common.RunnerConfig, setu... function RunBuildWithMaskingProxyExec (line 66) | func RunBuildWithMaskingProxyExec(t *testing.T, config *common.RunnerCon... function testBuildWithMasking (line 70) | func testBuildWithMasking(t *testing.T, config *common.RunnerConfig, set... FILE: common/buildtest/sections.go function RunBuildWithSections (line 15) | func RunBuildWithSections(t *testing.T, build *common.Build) { FILE: common/buildtest/test.go constant testTimeout (line 18) | testTimeout = 30 * time.Minute type BuildSetupFn (line 20) | type BuildSetupFn function RunBuildReturningOutput (line 22) | func RunBuildReturningOutput(t *testing.T, build *common.Build) (string,... function RunBuildWithTrace (line 31) | func RunBuildWithTrace(t *testing.T, build *common.Build, trace *common.... function RunBuildWithOptions (line 35) | func RunBuildWithOptions(t *testing.T, build *common.Build, trace *commo... function RunBuild (line 45) | func RunBuild(t *testing.T, build *common.Build) error { function OnStage (line 52) | func OnStage(build *common.Build, stage string, fn func()) func() { function OnUserStage (line 88) | func OnUserStage(build *common.Build, fn func()) func() { function SetBuildFeatureFlag (line 92) | func SetBuildFeatureFlag(build *common.Build, flag string, value bool) { type baseJobGetter (line 106) | type baseJobGetter function getJobResponseWithCommands (line 110) | func getJobResponseWithCommands(t *testing.T, baseJobGetter baseJobGette... function WithEachFeatureFlag (line 122) | func WithEachFeatureFlag(t *testing.T, f func(t *testing.T, setup BuildS... function injectJobToken (line 145) | func injectJobToken(t *testing.T, jobResponse *spec.Job, token string) *... function InjectJobTokenFromEnv (line 163) | func InjectJobTokenFromEnv(t *testing.T, jobResponse *spec.Job, envVars ... FILE: common/buildtest/variables.go function RunBuildWithExpandedFileVariable (line 19) | func RunBuildWithExpandedFileVariable(t *testing.T, config *common.Runne... function RunBuildWithPassingEnvsMultistep (line 59) | func RunBuildWithPassingEnvsMultistep(t *testing.T, config *common.Runne... function RunBuildWithPassingEnvsJobIsolation (line 130) | func RunBuildWithPassingEnvsJobIsolation(t *testing.T, config *common.Ru... type shellFormatter (line 171) | type shellFormatter method EnvName (line 173) | func (s shellFormatter) EnvName(name string) string { method PipeVar (line 182) | func (s shellFormatter) PipeVar(variable string) string { FILE: common/command.go type Commander (line 9) | type Commander interface type CommanderFunc (line 16) | type CommanderFunc method Execute (line 19) | func (cf CommanderFunc) Execute(c *cli.Context) { function NewCommand (line 24) | func NewCommand(name, usage string, data Commander, flags ...cli.Flag) c... function NewCommandWithSubcommands (line 34) | func NewCommandWithSubcommands(name, usage string, data Commander, hidde... FILE: common/config.go type DockerSysCtls (line 45) | type DockerSysCtls type KubernetesHookHandlerType (line 48) | type KubernetesHookHandlerType constant PullPolicyAlways (line 51) | PullPolicyAlways = "always" constant PullPolicyNever (line 52) | PullPolicyNever = "never" constant PullPolicyIfNotPresent (line 53) | PullPolicyIfNotPresent = "if-not-present" constant DNSPolicyNone (line 55) | DNSPolicyNone KubernetesDNSPolicy = "none" constant DNSPolicyDefault (line 56) | DNSPolicyDefault KubernetesDNSPolicy = "default" constant DNSPolicyClusterFirst (line 57) | DNSPolicyClusterFirst KubernetesDNSPolicy = "cluster-first" constant DNSPolicyClusterFirstWithHostNet (line 58) | DNSPolicyClusterFirstWithHostNet KubernetesDNSPolicy = "cluster-first-wi... constant GenerateArtifactsMetadataVariable (line 60) | GenerateArtifactsMetadataVariable = "RUNNER_GENERATE_ARTIFACTS_METADATA" constant UnknownSystemID (line 62) | UnknownSystemID = "unknown" constant DefaultConnectionMaxAge (line 64) | DefaultConnectionMaxAge = 15 * time.Minute constant mask (line 67) | mask = "[MASKED]" type InvalidTimePeriodsError (line 76) | type InvalidTimePeriodsError struct method Error (line 85) | func (e *InvalidTimePeriodsError) Error() string { method Is (line 89) | func (e *InvalidTimePeriodsError) Is(err error) bool { method Unwrap (line 95) | func (e *InvalidTimePeriodsError) Unwrap() error { function NewInvalidTimePeriodsError (line 81) | func NewInvalidTimePeriodsError(periods []string, cause error) *InvalidT... type allowListKind (line 176) | type allowListKind constant allowListKindUser (line 179) | allowListKindUser allowListKind = "user" constant allowListKindGroup (line 180) | allowListKindGroup allowListKind = "group" function parseID (line 184) | func parseID(s string) (int64, error) { function allowListContainsID (line 190) | func allowListContainsID(id int64, kind allowListKind, allowedList []str... type StringOrArray (line 244) | type StringOrArray method UnmarshalTOML (line 246) | func (p *StringOrArray) UnmarshalTOML(data interface{}) error { type DockerConfig (line 269) | type DockerConfig struct method GetPullPolicies (line 101) | func (c DockerConfig) GetPullPolicies() ([]DockerPullPolicy, error) { method GetAllowedPullPolicies (line 123) | func (c DockerConfig) GetAllowedPullPolicies() ([]DockerPullPolicy, er... method IsUserAllowed (line 142) | func (c DockerConfig) IsUserAllowed(user string) bool { method GetUlimits (line 599) | func (c *DockerConfig) GetUlimits() ([]*units.Ulimit, error) { method computeNanoCPUs (line 1653) | func (c *DockerConfig) computeNanoCPUs(value string) (int64, error) { method GetNanoCPUs (line 1668) | func (c *DockerConfig) GetNanoCPUs() (int64, error) { method GetServiceNanoCPUs (line 1672) | func (c *DockerConfig) GetServiceNanoCPUs() (int64, error) { method getMemoryBytes (line 1676) | func (c *DockerConfig) getMemoryBytes(size string, fieldName string) i... method GetMemory (line 1689) | func (c *DockerConfig) GetMemory() int64 { method GetMemorySwap (line 1693) | func (c *DockerConfig) GetMemorySwap() int64 { method GetMemoryReservation (line 1697) | func (c *DockerConfig) GetMemoryReservation() int64 { method GetServiceMemory (line 1701) | func (c *DockerConfig) GetServiceMemory() int64 { method GetServiceMemorySwap (line 1705) | func (c *DockerConfig) GetServiceMemorySwap() int64 { method GetServiceMemoryReservation (line 1709) | func (c *DockerConfig) GetServiceMemoryReservation() int64 { method GetOomKillDisable (line 1713) | func (c *DockerConfig) GetOomKillDisable() *bool { method GetExpandedServices (line 1730) | func (c *DockerConfig) GetExpandedServices(vars spec.Variables) []Serv... method GetServicesLimit (line 1734) | func (c *DockerConfig) GetServicesLimit() int { method GetLogConfig (line 1743) | func (c *DockerConfig) GetLogConfig() (container.LogConfig, error) { type InstanceConfig (line 345) | type InstanceConfig struct type AutoscalerConfig (line 350) | type AutoscalerConfig struct method GetInstanceCreationTimeBuckets (line 405) | func (c AutoscalerConfig) GetInstanceCreationTimeBuckets() []float64 { method GetInstanceIsRunningTimeBuckets (line 412) | func (c AutoscalerConfig) GetInstanceIsRunningTimeBuckets() []float64 { method GetInstanceDeletionTimeBuckets (line 419) | func (c AutoscalerConfig) GetInstanceDeletionTimeBuckets() []float64 { method GetInstanceReadinessTimeBuckets (line 426) | func (c AutoscalerConfig) GetInstanceReadinessTimeBuckets() []float64 { type AutoscalerStateStorage (line 393) | type AutoscalerStateStorage struct type AutoscalerScaleThrottle (line 400) | type AutoscalerScaleThrottle struct type VMIsolation (line 433) | type VMIsolation struct type ConnectorConfig (line 441) | type ConnectorConfig struct type AutoscalerSettingsMap (line 455) | type AutoscalerSettingsMap method JSON (line 457) | func (settings AutoscalerSettingsMap) JSON() ([]byte, error) { type AutoscalerPolicyConfig (line 461) | type AutoscalerPolicyConfig struct method PreemptiveModeEnabled (line 471) | func (policy *AutoscalerPolicyConfig) PreemptiveModeEnabled() bool { type DockerMachine (line 478) | type DockerMachine struct method GetIdleCount (line 2096) | func (c *DockerMachine) GetIdleCount() int { method GetIdleCountMin (line 2105) | func (c *DockerMachine) GetIdleCountMin() int { method GetIdleScaleFactor (line 2114) | func (c *DockerMachine) GetIdleScaleFactor() float64 { method GetIdleTime (line 2123) | func (c *DockerMachine) GetIdleTime() int { method getActiveAutoscalingConfig (line 2135) | func (c *DockerMachine) getActiveAutoscalingConfig() *DockerMachineAut... method CompilePeriods (line 2146) | func (c *DockerMachine) CompilePeriods() error { method logDeprecationWarning (line 2172) | func (c *DockerMachine) logDeprecationWarning() { type DockerMachineShutdownDrain (line 500) | type DockerMachineShutdownDrain struct method IsEnabled (line 2186) | func (c DockerMachineShutdownDrain) IsEnabled() bool { method GetConcurrency (line 2190) | func (c DockerMachineShutdownDrain) GetConcurrency() int { method GetMaxRetries (line 2197) | func (c DockerMachineShutdownDrain) GetMaxRetries() int { method GetRetryBackoff (line 2204) | func (c DockerMachineShutdownDrain) GetRetryBackoff() time.Duration { type DockerMachineAutoscaling (line 507) | type DockerMachineAutoscaling struct method compilePeriods (line 2161) | func (a *DockerMachineAutoscaling) compilePeriods() error { type ParallelsConfig (line 517) | type ParallelsConfig struct type VirtualBoxConfig (line 525) | type VirtualBoxConfig struct type CustomConfig (line 534) | type CustomConfig struct type KubernetesDNSPolicy (line 628) | type KubernetesDNSPolicy method Get (line 632) | func (p KubernetesDNSPolicy) Get() (api.DNSPolicy, error) { type KubernetesHostAliasesFlag (line 652) | type KubernetesHostAliasesFlag method UnmarshalFlag (line 654) | func (h *KubernetesHostAliasesFlag) UnmarshalFlag(value string) error { type KubernetesConfig (line 658) | type KubernetesConfig struct method GetAllowedPullPolicies (line 162) | func (c KubernetesConfig) GetAllowedPullPolicies() ([]api.PullPolicy, ... method isUserOrGroupAllowed (line 204) | func (c KubernetesConfig) isUserOrGroupAllowed(idStr string, kind allo... method IsUserAllowed (line 235) | func (c KubernetesConfig) IsUserAllowed(user string) error { method IsGroupAllowed (line 239) | func (c KubernetesConfig) IsGroupAllowed(group string) error { method GetPullPolicies (line 556) | func (c KubernetesConfig) GetPullPolicies() ([]api.PullPolicy, error) { method ConvertFromDockerPullPolicy (line 578) | func (c KubernetesConfig) ConvertFromDockerPullPolicy(dockerPullPolici... method getCapabilities (line 1018) | func (c *KubernetesConfig) getCapabilities(defaultCapDrop []string) *a... method GetContainerSecurityContext (line 1140) | func (c *KubernetesConfig) GetContainerSecurityContext( method GetPollTimeout (line 1772) | func (c *KubernetesConfig) GetPollTimeout() int { method GetPollInterval (line 1779) | func (c *KubernetesConfig) GetPollInterval() int { method GetPollAttempts (line 1786) | func (c *KubernetesConfig) GetPollAttempts() int { method GetCleanupResourcesTimeout (line 1790) | func (c *KubernetesConfig) GetCleanupResourcesTimeout() time.Duration { method GetResourceAvailabilityCheckMaxAttempts (line 1798) | func (c *KubernetesConfig) GetResourceAvailabilityCheckMaxAttempts() i... method GetNodeTolerations (line 1806) | func (c *KubernetesConfig) GetNodeTolerations() []api.Toleration { method GetPodSecurityContext (line 1832) | func (c *KubernetesConfig) GetPodSecurityContext() *api.PodSecurityCon... method GetAffinity (line 1863) | func (c *KubernetesConfig) GetAffinity() *api.Affinity { method GetDNSConfig (line 1881) | func (c *KubernetesConfig) GetDNSConfig() *api.PodDNSConfig { method GetNodeAffinity (line 1901) | func (c *KubernetesConfig) GetNodeAffinity() *api.NodeAffinity { method GetContainerLifecycle (line 1919) | func (c *KubernetesConfig) GetContainerLifecycle() KubernetesContainer... method GetPodAffinity (line 1954) | func (c *KubernetesConfig) GetPodAffinity() *api.PodAffinity { method GetPodAntiAffinity (line 1974) | func (c *KubernetesConfig) GetPodAntiAffinity() *api.PodAntiAffinity { method GetHostAliases (line 2057) | func (c *KubernetesConfig) GetHostAliases() []api.HostAlias { method GetExpandedServices (line 2076) | func (c *KubernetesConfig) GetExpandedServices(vars spec.Variables) []... method GetPrintPodWarningEvents (line 2080) | func (c *KubernetesConfig) GetPrintPodWarningEvents() bool { method GetPodDisruptionBudget (line 2088) | func (c *KubernetesConfig) GetPodDisruptionBudget() bool { type KubernetesAutoscalerConfig (line 773) | type KubernetesAutoscalerConfig struct type RequestRetryLimit (line 784) | type RequestRetryLimit method Get (line 786) | func (r RequestRetryLimit) Get() int { type RequestRetryLimits (line 794) | type RequestRetryLimits type RequestRetryBackoffMax (line 796) | type RequestRetryBackoffMax method Get (line 798) | func (r RequestRetryBackoffMax) Get() time.Duration { type KubernetesPodSpec (line 809) | type KubernetesPodSpec struct method PodSpecPatch (line 817) | func (s *KubernetesPodSpec) PodSpecPatch() ([]byte, KubernetesPodSpecP... type KubernetesPodSpecPatchType (line 844) | type KubernetesPodSpecPatchType constant PatchTypeJSONPatchType (line 847) | PatchTypeJSONPatchType = KubernetesPodSpecPatchType("json") constant PatchTypeMergePatchType (line 848) | PatchTypeMergePatchType = KubernetesPodSpecPatchType("merge") constant PatchTypeStrategicMergePatchType (line 849) | PatchTypeStrategicMergePatchType = KubernetesPodSpecPatchType("strategic") type KubernetesDNSConfig (line 852) | type KubernetesDNSConfig struct type KubernetesDNSConfigOption (line 858) | type KubernetesDNSConfigOption struct type KubernetesVolumes (line 863) | type KubernetesVolumes struct type KubernetesConfigMap (line 873) | type KubernetesConfigMap struct type KubernetesHostPath (line 881) | type KubernetesHostPath struct type KubernetesPVC (line 890) | type KubernetesPVC struct type KubernetesSecret (line 898) | type KubernetesSecret struct type KubernetesEmptyDir (line 906) | type KubernetesEmptyDir struct type KubernetesCSI (line 915) | type KubernetesCSI struct type KubernetesNFS (line 925) | type KubernetesNFS struct method UnmarshalTOML (line 934) | func (n *KubernetesNFS) UnmarshalTOML(data any) error { type KubernetesSeccompProfile (line 978) | type KubernetesSeccompProfile struct method toAPI (line 1098) | func (p *KubernetesSeccompProfile) toAPI() *api.SeccompProfile { type KubernetesAppArmorProfile (line 983) | type KubernetesAppArmorProfile struct method toAPI (line 1119) | func (p *KubernetesAppArmorProfile) toAPI() *api.AppArmorProfile { type KubernetesPodSecurityContext (line 988) | type KubernetesPodSecurityContext struct type KubernetesContainerCapabilities (line 999) | type KubernetesContainerCapabilities struct type KubernetesContainerSecurityContext (line 1004) | type KubernetesContainerSecurityContext struct method getProcMount (line 1054) | func (c *KubernetesContainerSecurityContext) getProcMount() *api.ProcM... method getCapabilities (line 1201) | func (c *KubernetesContainerSecurityContext) getCapabilities() *api.Ca... function buildCapabilities (line 1040) | func buildCapabilities(enabled map[string]bool) *api.Capabilities { function validateProfileType (line 1070) | func validateProfileType[T ~string](kind string, typ T, valid []T) bool { function requireLocalhostProfile (line 1078) | func requireLocalhostProfile(kind, localhostProfile string) *string { function mergeCapabilitiesAddDrop (line 1170) | func mergeCapabilitiesAddDrop(capabilities ...*api.Capabilities) *api.Ca... function getContainerSecurityContextEffectiveFlagValue (line 1193) | func getContainerSecurityContextEffectiveFlagValue(containerValue, fallb... type KubernetesAffinity (line 1213) | type KubernetesAffinity struct type KubernetesNodeAffinity (line 1219) | type KubernetesNodeAffinity struct type KubernetesPodAffinity (line 1224) | type KubernetesPodAffinity struct type KubernetesPodAntiAffinity (line 1229) | type KubernetesPodAntiAffinity struct type KubernetesHostAliases (line 1234) | type KubernetesHostAliases struct type KubernetesContainerLifecyle (line 1240) | type KubernetesContainerLifecyle struct type KubernetesLifecycleHandler (line 1245) | type KubernetesLifecycleHandler struct method ToKubernetesLifecycleHandler (line 1275) | func (h *KubernetesLifecycleHandler) ToKubernetesLifecycleHandler() *a... type KubernetesLifecycleExecAction (line 1251) | type KubernetesLifecycleExecAction struct type KubernetesLifecycleHTTPGet (line 1255) | type KubernetesLifecycleHTTPGet struct type KubernetesLifecycleHTTPGetHeader (line 1263) | type KubernetesLifecycleHTTPGetHeader struct type KubernetesLifecycleTCPSocket (line 1268) | type KubernetesLifecycleTCPSocket struct type NodeSelector (line 1311) | type NodeSelector struct method GetNodeSelector (line 1923) | func (c *NodeSelector) GetNodeSelector() *api.NodeSelector { type PreferredSchedulingTerm (line 1315) | type PreferredSchedulingTerm struct method GetPreferredSchedulingTerm (line 2028) | func (c *PreferredSchedulingTerm) GetPreferredSchedulingTerm() api.Pre... type WeightedPodAffinityTerm (line 1320) | type WeightedPodAffinityTerm struct method GetWeightedPodAffinityTerm (line 2003) | func (c *WeightedPodAffinityTerm) GetWeightedPodAffinityTerm() api.Wei... type NodeSelectorTerm (line 1325) | type NodeSelectorTerm struct method GetNodeSelectorTerm (line 2010) | func (c *NodeSelectorTerm) GetNodeSelectorTerm() api.NodeSelectorTerm { type NodeSelectorRequirement (line 1330) | type NodeSelectorRequirement struct method GetNodeSelectorRequirement (line 1931) | func (c *NodeSelectorRequirement) GetNodeSelectorRequirement() api.Nod... type PodAffinityTerm (line 1336) | type PodAffinityTerm struct method GetPodAffinityTerm (line 1994) | func (c *PodAffinityTerm) GetPodAffinityTerm() api.PodAffinityTerm { method GetLabelSelector (line 2035) | func (c *PodAffinityTerm) GetLabelSelector() *metav1.LabelSelector { method GetNamespaceSelector (line 2046) | func (c *PodAffinityTerm) GetNamespaceSelector() *metav1.LabelSelector { type LabelSelector (line 1343) | type LabelSelector struct method GetLabelSelectorMatchExpressions (line 1939) | func (c *LabelSelector) GetLabelSelectorMatchExpressions() []metav1.La... type Service (line 1348) | type Service struct method Aliases (line 1356) | func (s *Service) Aliases() []string { return strings.Fields(strings.R... method ToImageDefinition (line 1358) | func (s *Service) ToImageDefinition() spec.Image { type RunnerCredentials (line 1376) | type RunnerCredentials struct method GetURL (line 2211) | func (c *RunnerCredentials) GetURL() string { method GetTLSCAFile (line 2215) | func (c *RunnerCredentials) GetTLSCAFile() string { method GetTLSCertFile (line 2219) | func (c *RunnerCredentials) GetTLSCertFile() string { method GetTLSKeyFile (line 2223) | func (c *RunnerCredentials) GetTLSKeyFile() string { method GetToken (line 2227) | func (c *RunnerCredentials) GetToken() string { method ShortDescription (line 2231) | func (c *RunnerCredentials) ShortDescription() string { method UniqueID (line 2235) | func (c *RunnerCredentials) UniqueID() string { method SameAs (line 2241) | func (c *RunnerCredentials) SameAs(other *RunnerCredentials) bool { type ArtifactConfig (line 1389) | type ArtifactConfig struct method GetUploadTimeout (line 1394) | func (a ArtifactConfig) GetUploadTimeout() time.Duration { method GetResponseHeaderTimeout (line 1402) | func (a ArtifactConfig) GetResponseHeaderTimeout() time.Duration { type RunnerSettings (line 1411) | type RunnerSettings struct method ComputeLabels (line 1570) | func (r *RunnerSettings) ComputeLabels(globalDefaults Labels) { method ComputedLabels (line 1582) | func (r *RunnerSettings) ComputedLabels() Labels { method GetGracefulKillTimeout (line 1586) | func (r *RunnerSettings) GetGracefulKillTimeout() time.Duration { method GetForceKillTimeout (line 1590) | func (r *RunnerSettings) GetForceKillTimeout() time.Duration { method IsFeatureFlagOn (line 1596) | func (r *RunnerSettings) IsFeatureFlagOn(name string) bool { method IsFeatureFlagDefined (line 1612) | func (r *RunnerSettings) IsFeatureFlagDefined(name string) bool { type RunnerConfig (line 1476) | type RunnerConfig struct method String (line 2251) | func (c *RunnerConfig) String() string { method WarnOnLegacyCIURL (line 2255) | func (c *RunnerConfig) WarnOnLegacyCIURL() { method GetSystemID (line 2265) | func (c *RunnerConfig) GetSystemID() string { method GetUnhealthyRequestsLimit (line 2273) | func (c *RunnerConfig) GetUnhealthyRequestsLimit() int { method GetJobStatusFinalUpdateRetryLimit (line 2281) | func (c *RunnerConfig) GetJobStatusFinalUpdateRetryLimit() int { method GetUnhealthyInterval (line 2289) | func (c *RunnerConfig) GetUnhealthyInterval() time.Duration { method GetRequestConcurrency (line 2297) | func (c *RunnerConfig) GetRequestConcurrency() int { method GetStrictCheckInterval (line 2301) | func (c *RunnerConfig) GetStrictCheckInterval() bool { method GetVariables (line 2309) | func (c *RunnerConfig) GetVariables() spec.Variables { method IsProxyExec (line 2324) | func (c *RunnerConfig) IsProxyExec() bool { method Log (line 2332) | func (c *RunnerConfig) Log() *logrus.Entry { method DeepCopy (line 2351) | func (c *RunnerConfig) DeepCopy() (*RunnerConfig, error) { method mask (line 2380) | func (r *RunnerConfig) mask() { method loadConfig (line 2493) | func (c *RunnerConfig) loadConfig(globalCfg *Config) error { method Validate (line 2632) | func (c *RunnerConfig) Validate() error { method validateLabels (line 2648) | func (c *RunnerConfig) validateLabels() error { method validateComputedLabels (line 2652) | func (c *RunnerConfig) validateComputedLabels() error { method validateSlotCgroups (line 2656) | func (c *RunnerConfig) validateSlotCgroups() error { method validateMachineOptionsWithName (line 2676) | func (c *RunnerConfig) validateMachineOptionsWithName() error { method GetSlotCgroupPath (line 2702) | func (c *RunnerConfig) GetSlotCgroupPath(data ExecutorData) string { method GetServiceSlotCgroupPath (line 2721) | func (c *RunnerConfig) GetServiceSlotCgroupPath(data ExecutorData) str... type SessionServer (line 1495) | type SessionServer struct method GetSessionTimeout (line 1631) | func (c *SessionServer) GetSessionTimeout() time.Duration { type Config (line 1501) | type Config struct method DeepCopy (line 2421) | func (c *Config) DeepCopy() (*Config, error) { method Masked (line 2434) | func (c *Config) Masked() (*Config, error) { method StatConfig (line 2446) | func (c *Config) StatConfig(configFile string) error { method LoadConfig (line 2454) | func (c *Config) LoadConfig(configFile string) error { method SaveConfig (line 2518) | func (c *Config) SaveConfig(configFile string) error { method GetCheckInterval (line 2545) | func (c *Config) GetCheckInterval() time.Duration { method GetShutdownTimeout (line 2552) | func (c *Config) GetShutdownTimeout() time.Duration { method RunnerByName (line 2568) | func (c *Config) RunnerByName(name string) (*RunnerConfig, error) { method RunnerByToken (line 2578) | func (c *Config) RunnerByToken(token string) (*RunnerConfig, error) { method RunnerByURLAndID (line 2588) | func (c *Config) RunnerByURLAndID(url string, id int64) (*RunnerConfig... method RunnerByNameAndToken (line 2598) | func (c *Config) RunnerByNameAndToken(name string, token string) (*Run... method Validate (line 2608) | func (c *Config) Validate() error { method validateLabels (line 2628) | func (c *Config) validateLabels() error { type MachineConfig (line 1528) | type MachineConfig struct type Experimental (line 1532) | type Experimental struct type UsageLogger (line 1536) | type UsageLogger struct type ConfigSaver (line 1544) | type ConfigSaver interface type defaultConfigSaver (line 1548) | type defaultConfigSaver struct method Save (line 1550) | func (s *defaultConfigSaver) Save(filePath string, data []byte) error { type CustomBuildDir (line 1566) | type CustomBuildDir struct function getDuration (line 1618) | func getDuration(source *int, defaultValue time.Duration) time.Duration { type SshConfig (line 1639) | type SshConfig struct method ShouldDisableStrictHostKeyChecking (line 1649) | func (c *SshConfig) ShouldDisableStrictHostKeyChecking() bool { function getExpandedServices (line 1717) | func getExpandedServices(services []Service, vars spec.Variables) []Serv... constant defaultShutdownDrainConcurrency (line 2181) | defaultShutdownDrainConcurrency = 3 constant defaultShutdownDrainMaxRetries (line 2182) | defaultShutdownDrainMaxRetries = 3 constant defaultShutdownDrainRetryBackoff (line 2183) | defaultShutdownDrainRetryBackoff = 5 * time.Second function NewConfigWithSaver (line 2404) | func NewConfigWithSaver(s ConfigSaver) *Config { function NewConfig (line 2411) | func NewConfig() *Config { function maskField (line 2562) | func maskField(field *string) { constant DefaultSlotCgroupTemplate (line 2689) | DefaultSlotCgroupTemplate = "gitlab-runner/slot-${slot}" function GetSlot (line 2692) | func GetSlot(data ExecutorData) int { function validateSlotCgroupTemplate (line 2745) | func validateSlotCgroupTemplate(template string, configName string) { function expandSlotTemplate (line 2757) | func expandSlotTemplate(template string, slot int) string { function parseVariable (line 2767) | func parseVariable(text string) (variable spec.Variable, err error) { function wildcardURL (line 2781) | func wildcardURL(url string) bool { FILE: common/config/runner/monitoring.go type Monitoring (line 9) | type Monitoring struct method Compile (line 13) | func (m *Monitoring) Compile() error { FILE: common/config/runner/monitoring/job_queuing_durations.go type JobQueuingDurations (line 11) | type JobQueuingDurations method Compile (line 13) | func (d JobQueuingDurations) Compile() error { method GetActiveConfiguration (line 26) | func (d JobQueuingDurations) GetActiveConfiguration() *JobQueuingDurat... type JobQueuingDuration (line 36) | type JobQueuingDuration struct method Compile (line 49) | func (d *JobQueuingDuration) Compile() error { method InPeriod (line 69) | func (d *JobQueuingDuration) InPeriod() bool { method JobsRunningForProjectMatched (line 73) | func (d *JobQueuingDuration) JobsRunningForProjectMatched(s string) bo... FILE: common/config/runner/monitoring/job_queuing_durations_test.go function TestJobQueuingDuration_GetActiveConfiguration (line 13) | func TestJobQueuingDuration_GetActiveConfiguration(t *testing.T) { FILE: common/config_log_options_test.go function TestDockerConfig_ValidateLogOptions (line 11) | func TestDockerConfig_ValidateLogOptions(t *testing.T) { function assertMapMatches (line 95) | func assertMapMatches(t *testing.T, expected, actual map[string]string) { FILE: common/config_test.go function TestConfigParse (line 26) | func TestConfigParse(t *testing.T) { function TestKubernetesHostAliases (line 733) | func TestKubernetesHostAliases(t *testing.T) { function TestService_ToImageDefinition (line 823) | func TestService_ToImageDefinition(t *testing.T) { function TestDockerMachine (line 888) | func TestDockerMachine(t *testing.T) { function TestRunnerSettings_GetGracefulKillTimeout_GetForceKillTimeout (line 1054) | func TestRunnerSettings_GetGracefulKillTimeout_GetForceKillTimeout(t *te... function TestDockerConfig_GetPullPolicies (line 1091) | func TestDockerConfig_GetPullPolicies(t *testing.T) { function TestDockerConfig_GetAllowedPullPolicies (line 1139) | func TestDockerConfig_GetAllowedPullPolicies(t *testing.T) { function TestKubernetesConfig_GetAllowedPullPolicies (line 1187) | func TestKubernetesConfig_GetAllowedPullPolicies(t *testing.T) { function TestKubernetesConfig_GetPullPolicies (line 1242) | func TestKubernetesConfig_GetPullPolicies(t *testing.T) { function TestKubernetesConfig_ConvertFromDockerPullPolicy (line 1291) | func TestKubernetesConfig_ConvertFromDockerPullPolicy(t *testing.T) { function TestStringOrArray_UnmarshalTOML (line 1327) | func TestStringOrArray_UnmarshalTOML(t *testing.T) { function TestKubernetesNFS_UnmarshalTOML (line 1387) | func TestKubernetesNFS_UnmarshalTOML(t *testing.T) { function TestAutoscalerPolicyConfig_PreemptiveModeEnabled (line 1484) | func TestAutoscalerPolicyConfig_PreemptiveModeEnabled(t *testing.T) { function TestRunnerSettings_IsFeatureFlagOn (line 1528) | func TestRunnerSettings_IsFeatureFlagOn(t *testing.T) { function TestEffectivePrivilege (line 1574) | func TestEffectivePrivilege(t *testing.T) { function TestContainerSecurityContext (line 1611) | func TestContainerSecurityContext(t *testing.T) { function TestPodSecurityContextSeccompAppArmor (line 1908) | func TestPodSecurityContextSeccompAppArmor(t *testing.T) { function TestKubernetesPodSpecContents (line 1978) | func TestKubernetesPodSpecContents(t *testing.T) { function TestContainerSecurityCapabilities (line 2048) | func TestContainerSecurityCapabilities(t *testing.T) { function TestGetCapabilities (line 2150) | func TestGetCapabilities(t *testing.T) { function TestKubernetesTerminationPeriod (line 2257) | func TestKubernetesTerminationPeriod(t *testing.T) { function TestConfig_SaveConfig (line 2294) | func TestConfig_SaveConfig(t *testing.T) { function TestConfig_Masked (line 2314) | func TestConfig_Masked(t *testing.T) { function TestConfig_GetCleanupResourcesTimeout (line 2704) | func TestConfig_GetCleanupResourcesTimeout(t *testing.T) { function Test_Docker_UserIsAllowed (line 2770) | func Test_Docker_UserIsAllowed(t *testing.T) { function Test_Kubernetes_GroupIsAllowed (line 2799) | func Test_Kubernetes_GroupIsAllowed(t *testing.T) { function Test_Kubernetes_UserIsAllowed (line 2840) | func Test_Kubernetes_UserIsAllowed(t *testing.T) { function TestLoadConfig (line 2882) | func TestLoadConfig(t *testing.T) { function TestLoadConfig_ExpandsEnvironmentVariables (line 2997) | func TestLoadConfig_ExpandsEnvironmentVariables(t *testing.T) { function Test_CommandLineFlags (line 3045) | func Test_CommandLineFlags(t *testing.T) { function TestConfig_SaveConfig_CustomBuildDir (line 3101) | func TestConfig_SaveConfig_CustomBuildDir(t *testing.T) { function ptr (line 3153) | func ptr[T any](v T) *T { function TestRunnerByName (line 3157) | func TestRunnerByName(t *testing.T) { function TestRunnerByToken (line 3208) | func TestRunnerByToken(t *testing.T) { function TestRunnerByURLAndID (line 3267) | func TestRunnerByURLAndID(t *testing.T) { function TestRunnerByNameAndToken (line 3353) | func TestRunnerByNameAndToken(t *testing.T) { function TestRunnerSettings_ComputeLabels (line 3439) | func TestRunnerSettings_ComputeLabels(t *testing.T) { function TestRunnerSettings_ComputedLabels (line 3513) | func TestRunnerSettings_ComputedLabels(t *testing.T) { function TestRunnerSettings_CombineLabels_MultipleCalls (line 3547) | func TestRunnerSettings_CombineLabels_MultipleCalls(t *testing.T) { function TestConfig_Validate (line 3565) | func TestConfig_Validate(t *testing.T) { function TestArtifactConfig_GetUploadTimeout (line 3700) | func TestArtifactConfig_GetUploadTimeout(t *testing.T) { function TestArtifactConfig_GetResponseHeaderTimeout (line 3736) | func TestArtifactConfig_GetResponseHeaderTimeout(t *testing.T) { function TestRunnerSettings_ArtifactConfig_Integration (line 3772) | func TestRunnerSettings_ArtifactConfig_Integration(t *testing.T) { function TestRunnerConfig_ValidateMachineOptionsWithName (line 3834) | func TestRunnerConfig_ValidateMachineOptionsWithName(t *testing.T) { function TestParseVariable (line 3890) | func TestParseVariable(t *testing.T) { function TestInvalidParseVariable (line 3896) | func TestInvalidParseVariable(t *testing.T) { function TestRunnerCredentials_SameAs (line 3901) | func TestRunnerCredentials_SameAs(t *testing.T) { FILE: common/consts.go constant DefaultTimeout (line 9) | DefaultTimeout = 7200 constant DefaultExecTimeout (line 10) | DefaultExecTimeout = 1800 constant DefaultCICDConfigFile (line 11) | DefaultCICDConfigFile = ".gitlab-ci.yml" constant CheckInterval (line 12) | CheckInterval = 3 * time.Second constant NotHealthyCheckInterval (line 13) | NotHealthyCheckInterval = 300 constant ReloadConfigInterval (line 14) | ReloadConfigInterval = 3 * time.Second constant DefaultUnhealthyRequestsLimit (line 15) | DefaultUnhealthyRequestsLimit = 3 constant DefaultUnhealthyInterval (line 16) | DefaultUnhealthyInterval = 60 * time.Minute constant DefaultfinalUpdateBackoffMax (line 17) | DefaultfinalUpdateBackoffMax = 60 * time.Minute constant DefaultFinalUpdateRetryLimit (line 18) | DefaultFinalUpdateRetryLimit = 10 constant DefaultWaitForServicesTimeout (line 19) | DefaultWaitForServicesTimeout = 30 constant DefaultShutdownTimeout (line 20) | DefaultShutdownTimeout = 30 * time.Second constant PreparationRetries (line 21) | PreparationRetries = 3 constant DefaultGetSourcesAttempts (line 22) | DefaultGetSourcesAttempts = 1 constant DefaultArtifactDownloadAttempts (line 23) | DefaultArtifactDownloadAttempts = 1 constant DefaultRestoreCacheAttempts (line 24) | DefaultRestoreCacheAttempts = 1 constant DefaultExecutorStageAttempts (line 25) | DefaultExecutorStageAttempts = 1 constant DefaultAfterScriptIgnoreErrors (line 26) | DefaultAfterScriptIgnoreErrors = true constant KubernetesPollInterval (line 27) | KubernetesPollInterval = 3 constant KubernetesPollTimeout (line 28) | KubernetesPollTimeout = 180 constant KubernetesCleanupResourcesTimeout (line 29) | KubernetesCleanupResourcesTimeout = 5 * time.Minute constant KubernetesResourceAvailabilityCheckMaxAttempts (line 30) | KubernetesResourceAvailabilityCheckMaxAttempts = 5 constant AfterScriptTimeout (line 31) | AfterScriptTimeout = 5 * time.Minute constant DefaultMetricsServerPort (line 32) | DefaultMetricsServerPort = 9252 constant DefaultCacheRequestTimeout (line 33) | DefaultCacheRequestTimeout = 10 constant DefaultNetworkClientTimeout (line 34) | DefaultNetworkClientTimeout = 60 * time.Minute constant DefaultArtifactUploadTimeout (line 35) | DefaultArtifactUploadTimeout = time.Hour constant DefaultArtifactResponseHeaderTimeout (line 36) | DefaultArtifactResponseHeaderTimeout = 10 * time.Minute constant DefaultSessionTimeout (line 37) | DefaultSessionTimeout = 30 * time.Minute constant WaitForBuildFinishTimeout (line 38) | WaitForBuildFinishTimeout = 5 * time.Minute constant SecretVariableDefaultsToFile (line 39) | SecretVariableDefaultsToFile = true constant TokenResetIntervalFactor (line 40) | TokenResetIntervalFactor = 0.75 constant DefaultRequestRetryLimit (line 41) | DefaultRequestRetryLimit = 5 constant RequestRetryBackoffMin (line 42) | RequestRetryBackoffMin = 500 * time.Millisecond constant DefaultRequestRetryBackoffMax (line 43) | DefaultRequestRetryBackoffMax = 2000 * time.Millisecond constant DefaultTraceOutputLimit (line 46) | DefaultTraceOutputLimit = 4 * 1024 * 1024 constant DefaultTracePatchLimit (line 47) | DefaultTracePatchLimit = 1024 * 1024 constant DefaultUpdateInterval (line 49) | DefaultUpdateInterval = 3 * time.Second constant MaxUpdateInterval (line 50) | MaxUpdateInterval = 15 * time.Minute constant MinTraceForceSendInterval (line 52) | MinTraceForceSendInterval = 30 * time.Second constant MaxTraceForceSendInterval (line 53) | MaxTraceForceSendInterval = 30 * time.Minute constant TraceForceSendUpdateIntervalMultiplier (line 54) | TraceForceSendUpdateIntervalMultiplier = 4 constant DefaultReaderBufferSize (line 58) | DefaultReaderBufferSize = 16 * 1024 constant ExecutorKubernetes (line 62) | ExecutorKubernetes = "kubernetes" constant DefaultKubernetesIntegrationTestNamespace (line 64) | DefaultKubernetesIntegrationTestNamespace = "k8s-runner-integration-tests" constant TestAlpineImage (line 70) | TestAlpineImage = "alpine:3.14.2" constant TestWindowsImage (line 71) | TestWindowsImage = "mcr.microsoft.com/windows/servercore:%s" constant TestPwshImage (line 72) | TestPwshImage = "mcr.microsoft.com/powershell:7.1.1-al... constant TestAlpineNoRootImage (line 73) | TestAlpineNoRootImage = "registry.gitlab.com/gitlab-org/gitlab... constant TestAlpineEntrypointImage (line 74) | TestAlpineEntrypointImage = "registry.gitlab.com/gitlab-org/gitlab... constant TestAlpineEntrypointStderrImage (line 75) | TestAlpineEntrypointStderrImage = "registry.gitlab.com/gitlab-org/gitlab... constant TestHelperEntrypointImage (line 76) | TestHelperEntrypointImage = "registry.gitlab.com/gitlab-org/gitlab... constant TestAlpineIDOverflowImage (line 77) | TestAlpineIDOverflowImage = "registry.gitlab.com/gitlab-org/gitlab... constant TestDockerDindImage (line 78) | TestDockerDindImage = "docker:23-dind" constant TestDockerGitImage (line 79) | TestDockerGitImage = "docker:23-git" constant TestLivenessImage (line 80) | TestLivenessImage = "registry.gitlab.com/gitlab-org/ci-cd/... constant Accept (line 85) | Accept = headers.Accept constant AcceptCharset (line 86) | AcceptCharset = headers.AcceptCharset constant AcceptEncoding (line 87) | AcceptEncoding = headers.AcceptEncoding constant AcceptLanguage (line 88) | AcceptLanguage = headers.AcceptLanguage constant Authorization (line 89) | Authorization = headers.Authorization constant CacheControl (line 90) | CacheControl = headers.CacheControl constant ContentLength (line 91) | ContentLength = headers.ContentLength constant ContentMD5 (line 92) | ContentMD5 = headers.ContentMD5 constant ContentType (line 93) | ContentType = headers.ContentType constant DoNotTrack (line 94) | DoNotTrack = headers.DoNotTrack constant IfMatch (line 95) | IfMatch = headers.IfMatch constant IfModifiedSince (line 96) | IfModifiedSince = headers.IfModifiedSince constant IfNoneMatch (line 97) | IfNoneMatch = headers.IfNoneMatch constant IfRange (line 98) | IfRange = headers.IfRange constant IfUnmodifiedSince (line 99) | IfUnmodifiedSince = headers.IfUnmodifiedSince constant MaxForwards (line 100) | MaxForwards = headers.MaxForwards constant ProxyAuthorization (line 101) | ProxyAuthorization = headers.ProxyAuthorization constant Pragma (line 102) | Pragma = headers.Pragma constant Range (line 103) | Range = headers.Range constant Referer (line 104) | Referer = headers.Referer constant UserAgent (line 105) | UserAgent = headers.UserAgent constant TE (line 106) | TE = headers.TE constant Via (line 107) | Via = headers.Via constant Warning (line 108) | Warning = headers.Warning constant Cookie (line 109) | Cookie = headers.Cookie constant Origin (line 110) | Origin = headers.Origin constant AcceptDatetime (line 111) | AcceptDatetime = headers.AcceptDatetime constant XRequestedWith (line 112) | XRequestedWith = headers.XRequestedWith constant AccessControlAllowOrigin (line 113) | AccessControlAllowOrigin = headers.AccessControlAllowOrigin constant AccessControlAllowMethods (line 114) | AccessControlAllowMethods = headers.AccessControlAllowMethods constant AccessControlAllowHeaders (line 115) | AccessControlAllowHeaders = headers.AccessControlAllowHeaders constant AccessControlAllowCredentials (line 116) | AccessControlAllowCredentials = headers.AccessControlAllowCredentials constant AccessControlExposeHeaders (line 117) | AccessControlExposeHeaders = headers.AccessControlExposeHeaders constant AccessControlMaxAge (line 118) | AccessControlMaxAge = headers.AccessControlMaxAge constant AccessControlRequestMethod (line 119) | AccessControlRequestMethod = headers.AccessControlRequestMethod constant AccessControlRequestHeaders (line 120) | AccessControlRequestHeaders = headers.AccessControlRequestHeaders constant AcceptPatch (line 121) | AcceptPatch = headers.AcceptPatch constant AcceptRanges (line 122) | AcceptRanges = headers.AcceptRanges constant Allow (line 123) | Allow = headers.Allow constant ContentEncoding (line 124) | ContentEncoding = headers.ContentEncoding constant ContentLanguage (line 125) | ContentLanguage = headers.ContentLanguage constant ContentLocation (line 126) | ContentLocation = headers.ContentLocation constant ContentDisposition (line 127) | ContentDisposition = headers.ContentDisposition constant ContentRange (line 128) | ContentRange = headers.ContentRange constant ETag (line 129) | ETag = headers.ETag constant Expires (line 130) | Expires = headers.Expires constant LastModified (line 131) | LastModified = headers.LastModified constant Link (line 132) | Link = headers.Link constant Location (line 133) | Location = headers.Location constant P3P (line 134) | P3P = headers.P3P constant ProxyAuthenticate (line 135) | ProxyAuthenticate = headers.ProxyAuthenticate constant Refresh (line 136) | Refresh = headers.Refresh constant RetryAfter (line 137) | RetryAfter = headers.RetryAfter constant Server (line 138) | Server = headers.Server constant SetCookie (line 139) | SetCookie = headers.SetCookie constant StrictTransportSecurity (line 140) | StrictTransportSecurity = headers.StrictTransportSecurity constant TransferEncoding (line 141) | TransferEncoding = headers.TransferEncoding constant Upgrade (line 142) | Upgrade = headers.Upgrade constant Vary (line 143) | Vary = headers.Vary constant WWWAuthenticate (line 144) | WWWAuthenticate = headers.WWWAuthenticate constant XFrameOptions (line 147) | XFrameOptions = headers.XFrameOptions constant XXSSProtection (line 148) | XXSSProtection = headers.XXSSProtection constant ContentSecurityPolicy (line 149) | ContentSecurityPolicy = headers.ContentSecurityPolicy constant XContentSecurityPolicy (line 150) | XContentSecurityPolicy = headers.XContentSecurityPolicy constant XWebKitCSP (line 151) | XWebKitCSP = headers.XWebKitCSP constant XContentTypeOptions (line 152) | XContentTypeOptions = headers.XContentTypeOptions constant XPoweredBy (line 153) | XPoweredBy = headers.XPoweredBy constant XUACompatible (line 154) | XUACompatible = headers.XUACompatible constant XForwardedProto (line 155) | XForwardedProto = headers.XForwardedProto constant XHTTPMethodOverride (line 156) | XHTTPMethodOverride = headers.XHTTPMethodOverride constant XForwardedFor (line 157) | XForwardedFor = headers.XForwardedFor constant XRealIP (line 158) | XRealIP = headers.XRealIP constant XCSRFToken (line 159) | XCSRFToken = headers.XCSRFToken constant XRatelimitLimit (line 160) | XRatelimitLimit = headers.XRatelimitLimit constant XRatelimitRemaining (line 161) | XRatelimitRemaining = headers.XRatelimitRemaining constant XRatelimitReset (line 162) | XRatelimitReset = headers.XRatelimitReset constant PrivateToken (line 164) | PrivateToken = "PRIVATE-TOKEN" constant JobToken (line 165) | JobToken = "JOB-TOKEN" constant RunnerToken (line 166) | RunnerToken = "RUNNER-TOKEN" FILE: common/executor.go type ExecutorData (line 14) | type ExecutorData interface type ExecutorDataLogger (line 18) | type ExecutorDataLogger interface function GetExecutorLogFields (line 24) | func GetExecutorLogFields(data ExecutorData) map[string]string { type ExecutorCommand (line 33) | type ExecutorCommand struct type ExecutorStage (line 41) | type ExecutorStage constant ExecutorStageCreated (line 45) | ExecutorStageCreated ExecutorStage = "created" constant ExecutorStagePrepare (line 47) | ExecutorStagePrepare ExecutorStage = "prepare" constant ExecutorStageFinish (line 49) | ExecutorStageFinish ExecutorStage = "finish" constant ExecutorStageCleanup (line 51) | ExecutorStageCleanup ExecutorStage = "cleanup" type ExecutorPrepareOptions (line 56) | type ExecutorPrepareOptions struct type NoFreeExecutorError (line 64) | type NoFreeExecutorError struct method Error (line 68) | func (e *NoFreeExecutorError) Error() string { type Executor (line 75) | type Executor interface type ManagedExecutorProvider (line 94) | type ManagedExecutorProvider interface type ExecutorProvider (line 123) | type ExecutorProvider interface type BuildError (line 143) | type BuildError struct method Error (line 150) | func (b *BuildError) Error() string { method Is (line 158) | func (b *BuildError) Is(err error) bool { method Unwrap (line 167) | func (b *BuildError) Unwrap() error { function MakeBuildError (line 172) | func MakeBuildError(format string, args ...interface{}) error { function ValidateExecutorProvider (line 178) | func ValidateExecutorProvider(provider ExecutorProvider) error { FILE: common/executor_test.go function TestBuildErrorIs (line 12) | func TestBuildErrorIs(t *testing.T) { function TestUnwrapBuildError (line 47) | func TestUnwrapBuildError(t *testing.T) { FILE: common/exit_code.go function NormalizeExitCode (line 14) | func NormalizeExitCode(code int) int { FILE: common/exit_code_test.go function TestNormalizeExitCode (line 11) | func TestNormalizeExitCode(t *testing.T) { FILE: common/failure_reason_mapper.go constant maxMappingDepth (line 10) | maxMappingDepth = 10 type failureReasonMapper (line 17) | type failureReasonMapper struct method Map (line 36) | func (f *failureReasonMapper) Map(reason spec.JobFailureReason) spec.J... method findSupported (line 65) | func (f *failureReasonMapper) findSupported(reason spec.JobFailureReas... method findBackwardCompatible (line 75) | func (f *failureReasonMapper) findBackwardCompatible(reason spec.JobFa... function newFailureReasonMapper (line 28) | func newFailureReasonMapper(supported []spec.JobFailureReason) *failureR... FILE: common/failure_reason_mapper_test.go function TestFailureReasonMapper_Map (line 14) | func TestFailureReasonMapper_Map(t *testing.T) { function TestFailureReasonsCompatibilityMap (line 149) | func TestFailureReasonsCompatibilityMap(t *testing.T) { FILE: common/labels.go constant maxAllowedNumberOfLabels (line 13) | maxAllowedNumberOfLabels = 32 constant labelKeyAllowedPattern (line 15) | labelKeyAllowedPattern = `^[a-zA-Z0-9_][a-zA-Z0-9._-]{2,64}$` constant labelValueAllowedPattern (line 16) | labelValueAllowedPattern = `^[a-zA-Z0-9._-]{1,256}$` type Labels (line 28) | type Labels method validatePatterns (line 30) | func (l Labels) validatePatterns() error { method validateCount (line 44) | func (l Labels) validateCount() error { FILE: common/mocks.go function NewMockWithContext (line 20) | func NewMockWithContext(t interface { type MockWithContext (line 33) | type MockWithContext struct method EXPECT (line 41) | func (_m *MockWithContext) EXPECT() *MockWithContext_Expecter { method WithContext (line 46) | func (_mock *MockWithContext) WithContext(context1 context.Context) (c... type MockWithContext_Expecter (line 37) | type MockWithContext_Expecter struct method WithContext (line 82) | func (_e *MockWithContext_Expecter) WithContext(context1 interface{}) ... type MockWithContext_WithContext_Call (line 76) | type MockWithContext_WithContext_Call struct method Run (line 86) | func (_c *MockWithContext_WithContext_Call) Run(run func(context1 cont... method Return (line 99) | func (_c *MockWithContext_WithContext_Call) Return(context11 context.C... method RunAndReturn (line 104) | func (_c *MockWithContext_WithContext_Call) RunAndReturn(run func(cont... function newMockUrlHelper (line 111) | func newMockUrlHelper(t interface { type mockUrlHelper (line 124) | type mockUrlHelper struct method EXPECT (line 132) | func (_m *mockUrlHelper) EXPECT() *mockUrlHelper_Expecter { method GetInsteadOfs (line 137) | func (_mock *mockUrlHelper) GetInsteadOfs() ([][2]string, error) { method GetRemoteURL (line 192) | func (_mock *mockUrlHelper) GetRemoteURL() (*url.URL, error) { type mockUrlHelper_Expecter (line 128) | type mockUrlHelper_Expecter struct method GetInsteadOfs (line 170) | func (_e *mockUrlHelper_Expecter) GetInsteadOfs() *mockUrlHelper_GetIn... method GetRemoteURL (line 225) | func (_e *mockUrlHelper_Expecter) GetRemoteURL() *mockUrlHelper_GetRem... type mockUrlHelper_GetInsteadOfs_Call (line 165) | type mockUrlHelper_GetInsteadOfs_Call struct method Run (line 174) | func (_c *mockUrlHelper_GetInsteadOfs_Call) Run(run func()) *mockUrlHe... method Return (line 181) | func (_c *mockUrlHelper_GetInsteadOfs_Call) Return(stringss [][2]strin... method RunAndReturn (line 186) | func (_c *mockUrlHelper_GetInsteadOfs_Call) RunAndReturn(run func() ([... type mockUrlHelper_GetRemoteURL_Call (line 220) | type mockUrlHelper_GetRemoteURL_Call struct method Run (line 229) | func (_c *mockUrlHelper_GetRemoteURL_Call) Run(run func()) *mockUrlHel... method Return (line 236) | func (_c *mockUrlHelper_GetRemoteURL_Call) Return(uRL *url.URL, err er... method RunAndReturn (line 241) | func (_c *mockUrlHelper_GetRemoteURL_Call) RunAndReturn(run func() (*u... function NewMockCommander (line 248) | func NewMockCommander(t interface { type MockCommander (line 261) | type MockCommander struct method EXPECT (line 269) | func (_m *MockCommander) EXPECT() *MockCommander_Expecter { method Execute (line 274) | func (_mock *MockCommander) Execute(c *cli.Context) { type MockCommander_Expecter (line 265) | type MockCommander_Expecter struct method Execute (line 286) | func (_e *MockCommander_Expecter) Execute(c interface{}) *MockCommande... type MockCommander_Execute_Call (line 280) | type MockCommander_Execute_Call struct method Run (line 290) | func (_c *MockCommander_Execute_Call) Run(run func(c *cli.Context)) *M... method Return (line 303) | func (_c *MockCommander_Execute_Call) Return() *MockCommander_Execute_... method RunAndReturn (line 308) | func (_c *MockCommander_Execute_Call) RunAndReturn(run func(c *cli.Con... function NewMockConfigSaver (line 315) | func NewMockConfigSaver(t interface { type MockConfigSaver (line 328) | type MockConfigSaver struct method EXPECT (line 336) | func (_m *MockConfigSaver) EXPECT() *MockConfigSaver_Expecter { method Save (line 341) | func (_mock *MockConfigSaver) Save(filePath string, data []byte) error { type MockConfigSaver_Expecter (line 332) | type MockConfigSaver_Expecter struct method Save (line 365) | func (_e *MockConfigSaver_Expecter) Save(filePath interface{}, data in... type MockConfigSaver_Save_Call (line 358) | type MockConfigSaver_Save_Call struct method Run (line 369) | func (_c *MockConfigSaver_Save_Call) Run(run func(filePath string, dat... method Return (line 387) | func (_c *MockConfigSaver_Save_Call) Return(err error) *MockConfigSave... method RunAndReturn (line 392) | func (_c *MockConfigSaver_Save_Call) RunAndReturn(run func(filePath st... function NewMockExecutorData (line 399) | func NewMockExecutorData(t interface { type MockExecutorData (line 412) | type MockExecutorData struct method EXPECT (line 420) | func (_m *MockExecutorData) EXPECT() *MockExecutorData_Expecter { type MockExecutorData_Expecter (line 416) | type MockExecutorData_Expecter struct function NewMockExecutorDataLogger (line 426) | func NewMockExecutorDataLogger(t interface { type MockExecutorDataLogger (line 439) | type MockExecutorDataLogger struct method EXPECT (line 447) | func (_m *MockExecutorDataLogger) EXPECT() *MockExecutorDataLogger_Exp... method LogFields (line 452) | func (_mock *MockExecutorDataLogger) LogFields() map[string]string { type MockExecutorDataLogger_Expecter (line 443) | type MockExecutorDataLogger_Expecter struct method LogFields (line 476) | func (_e *MockExecutorDataLogger_Expecter) LogFields() *MockExecutorDa... type MockExecutorDataLogger_LogFields_Call (line 471) | type MockExecutorDataLogger_LogFields_Call struct method Run (line 480) | func (_c *MockExecutorDataLogger_LogFields_Call) Run(run func()) *Mock... method Return (line 487) | func (_c *MockExecutorDataLogger_LogFields_Call) Return(stringToString... method RunAndReturn (line 492) | func (_c *MockExecutorDataLogger_LogFields_Call) RunAndReturn(run func... function NewMockExecutor (line 499) | func NewMockExecutor(t interface { type MockExecutor (line 512) | type MockExecutor struct method EXPECT (line 520) | func (_m *MockExecutor) EXPECT() *MockExecutor_Expecter { method Cleanup (line 525) | func (_mock *MockExecutor) Cleanup() { method Finish (line 558) | func (_mock *MockExecutor) Finish(err error) { method GetCurrentStage (line 598) | func (_mock *MockExecutor) GetCurrentStage() ExecutorStage { method Prepare (line 642) | func (_mock *MockExecutor) Prepare(options ExecutorPrepareOptions) err... method Run (line 693) | func (_mock *MockExecutor) Run(cmd ExecutorCommand) error { method SetCurrentStage (line 744) | func (_mock *MockExecutor) SetCurrentStage(stage ExecutorStage) { method Shell (line 784) | func (_mock *MockExecutor) Shell() *ShellScriptInfo { type MockExecutor_Expecter (line 516) | type MockExecutor_Expecter struct method Cleanup (line 536) | func (_e *MockExecutor_Expecter) Cleanup() *MockExecutor_Cleanup_Call { method Finish (line 570) | func (_e *MockExecutor_Expecter) Finish(err interface{}) *MockExecutor... method GetCurrentStage (line 620) | func (_e *MockExecutor_Expecter) GetCurrentStage() *MockExecutor_GetCu... method Prepare (line 665) | func (_e *MockExecutor_Expecter) Prepare(options interface{}) *MockExe... method Run (line 716) | func (_e *MockExecutor_Expecter) Run(cmd interface{}) *MockExecutor_Ru... method SetCurrentStage (line 756) | func (_e *MockExecutor_Expecter) SetCurrentStage(stage interface{}) *M... method Shell (line 808) | func (_e *MockExecutor_Expecter) Shell() *MockExecutor_Shell_Call { type MockExecutor_Cleanup_Call (line 531) | type MockExecutor_Cleanup_Call struct method Run (line 540) | func (_c *MockExecutor_Cleanup_Call) Run(run func()) *MockExecutor_Cle... method Return (line 547) | func (_c *MockExecutor_Cleanup_Call) Return() *MockExecutor_Cleanup_Ca... method RunAndReturn (line 552) | func (_c *MockExecutor_Cleanup_Call) RunAndReturn(run func()) *MockExe... type MockExecutor_Finish_Call (line 564) | type MockExecutor_Finish_Call struct method Run (line 574) | func (_c *MockExecutor_Finish_Call) Run(run func(err error)) *MockExec... method Return (line 587) | func (_c *MockExecutor_Finish_Call) Return() *MockExecutor_Finish_Call { method RunAndReturn (line 592) | func (_c *MockExecutor_Finish_Call) RunAndReturn(run func(err error)) ... type MockExecutor_GetCurrentStage_Call (line 615) | type MockExecutor_GetCurrentStage_Call struct method Run (line 624) | func (_c *MockExecutor_GetCurrentStage_Call) Run(run func()) *MockExec... method Return (line 631) | func (_c *MockExecutor_GetCurrentStage_Call) Return(executorStage Exec... method RunAndReturn (line 636) | func (_c *MockExecutor_GetCurrentStage_Call) RunAndReturn(run func() E... type MockExecutor_Prepare_Call (line 659) | type MockExecutor_Prepare_Call struct method Run (line 669) | func (_c *MockExecutor_Prepare_Call) Run(run func(options ExecutorPrep... method Return (line 682) | func (_c *MockExecutor_Prepare_Call) Return(err error) *MockExecutor_P... method RunAndReturn (line 687) | func (_c *MockExecutor_Prepare_Call) RunAndReturn(run func(options Exe... type MockExecutor_Run_Call (line 710) | type MockExecutor_Run_Call struct method Run (line 720) | func (_c *MockExecutor_Run_Call) Run(run func(cmd ExecutorCommand)) *M... method Return (line 733) | func (_c *MockExecutor_Run_Call) Return(err error) *MockExecutor_Run_C... method RunAndReturn (line 738) | func (_c *MockExecutor_Run_Call) RunAndReturn(run func(cmd ExecutorCom... type MockExecutor_SetCurrentStage_Call (line 750) | type MockExecutor_SetCurrentStage_Call struct method Run (line 760) | func (_c *MockExecutor_SetCurrentStage_Call) Run(run func(stage Execut... method Return (line 773) | func (_c *MockExecutor_SetCurrentStage_Call) Return() *MockExecutor_Se... method RunAndReturn (line 778) | func (_c *MockExecutor_SetCurrentStage_Call) RunAndReturn(run func(sta... type MockExecutor_Shell_Call (line 803) | type MockExecutor_Shell_Call struct method Run (line 812) | func (_c *MockExecutor_Shell_Call) Run(run func()) *MockExecutor_Shell... method Return (line 819) | func (_c *MockExecutor_Shell_Call) Return(shellScriptInfo *ShellScript... method RunAndReturn (line 824) | func (_c *MockExecutor_Shell_Call) RunAndReturn(run func() *ShellScrip... function NewMockManagedExecutorProvider (line 831) | func NewMockManagedExecutorProvider(t interface { type MockManagedExecutorProvider (line 844) | type MockManagedExecutorProvider struct method EXPECT (line 852) | func (_m *MockManagedExecutorProvider) EXPECT() *MockManagedExecutorPr... method Init (line 857) | func (_mock *MockManagedExecutorProvider) Init() { method Shutdown (line 890) | func (_mock *MockManagedExecutorProvider) Shutdown(ctx context.Context... type MockManagedExecutorProvider_Expecter (line 848) | type MockManagedExecutorProvider_Expecter struct method Init (line 868) | func (_e *MockManagedExecutorProvider_Expecter) Init() *MockManagedExe... method Shutdown (line 903) | func (_e *MockManagedExecutorProvider_Expecter) Shutdown(ctx interface... type MockManagedExecutorProvider_Init_Call (line 863) | type MockManagedExecutorProvider_Init_Call struct method Run (line 872) | func (_c *MockManagedExecutorProvider_Init_Call) Run(run func()) *Mock... method Return (line 879) | func (_c *MockManagedExecutorProvider_Init_Call) Return() *MockManaged... method RunAndReturn (line 884) | func (_c *MockManagedExecutorProvider_Init_Call) RunAndReturn(run func... type MockManagedExecutorProvider_Shutdown_Call (line 896) | type MockManagedExecutorProvider_Shutdown_Call struct method Run (line 907) | func (_c *MockManagedExecutorProvider_Shutdown_Call) Run(run func(ctx ... method Return (line 925) | func (_c *MockManagedExecutorProvider_Shutdown_Call) Return() *MockMan... method RunAndReturn (line 930) | func (_c *MockManagedExecutorProvider_Shutdown_Call) RunAndReturn(run ... function NewMockExecutorProvider (line 937) | func NewMockExecutorProvider(t interface { type MockExecutorProvider (line 950) | type MockExecutorProvider struct method EXPECT (line 958) | func (_m *MockExecutorProvider) EXPECT() *MockExecutorProvider_Expecter { method Acquire (line 963) | func (_mock *MockExecutorProvider) Acquire(config *RunnerConfig) (Exec... method CanCreate (line 1025) | func (_mock *MockExecutorProvider) CanCreate() bool { method Create (line 1069) | func (_mock *MockExecutorProvider) Create() Executor { method GetConfigInfo (line 1115) | func (_mock *MockExecutorProvider) GetConfigInfo(input *RunnerConfig, ... method GetDefaultShell (line 1161) | func (_mock *MockExecutorProvider) GetDefaultShell() string { method GetFeatures (line 1205) | func (_mock *MockExecutorProvider) GetFeatures(features *FeaturesInfo)... method Release (line 1256) | func (_mock *MockExecutorProvider) Release(config *RunnerConfig, data ... type MockExecutorProvider_Expecter (line 954) | type MockExecutorProvider_Expecter struct method Acquire (line 997) | func (_e *MockExecutorProvider_Expecter) Acquire(config interface{}) *... method CanCreate (line 1047) | func (_e *MockExecutorProvider_Expecter) CanCreate() *MockExecutorProv... method Create (line 1093) | func (_e *MockExecutorProvider_Expecter) Create() *MockExecutorProvide... method GetConfigInfo (line 1128) | func (_e *MockExecutorProvider_Expecter) GetConfigInfo(input interface... method GetDefaultShell (line 1183) | func (_e *MockExecutorProvider_Expecter) GetDefaultShell() *MockExecut... method GetFeatures (line 1228) | func (_e *MockExecutorProvider_Expecter) GetFeatures(features interfac... method Release (line 1269) | func (_e *MockExecutorProvider_Expecter) Release(config interface{}, d... type MockExecutorProvider_Acquire_Call (line 991) | type MockExecutorProvider_Acquire_Call struct method Run (line 1001) | func (_c *MockExecutorProvider_Acquire_Call) Run(run func(config *Runn... method Return (line 1014) | func (_c *MockExecutorProvider_Acquire_Call) Return(executorData Execu... method RunAndReturn (line 1019) | func (_c *MockExecutorProvider_Acquire_Call) RunAndReturn(run func(con... type MockExecutorProvider_CanCreate_Call (line 1042) | type MockExecutorProvider_CanCreate_Call struct method Run (line 1051) | func (_c *MockExecutorProvider_CanCreate_Call) Run(run func()) *MockEx... method Return (line 1058) | func (_c *MockExecutorProvider_CanCreate_Call) Return(b bool) *MockExe... method RunAndReturn (line 1063) | func (_c *MockExecutorProvider_CanCreate_Call) RunAndReturn(run func()... type MockExecutorProvider_Create_Call (line 1088) | type MockExecutorProvider_Create_Call struct method Run (line 1097) | func (_c *MockExecutorProvider_Create_Call) Run(run func()) *MockExecu... method Return (line 1104) | func (_c *MockExecutorProvider_Create_Call) Return(executor Executor) ... method RunAndReturn (line 1109) | func (_c *MockExecutorProvider_Create_Call) RunAndReturn(run func() Ex... type MockExecutorProvider_GetConfigInfo_Call (line 1121) | type MockExecutorProvider_GetConfigInfo_Call struct method Run (line 1132) | func (_c *MockExecutorProvider_GetConfigInfo_Call) Run(run func(input ... method Return (line 1150) | func (_c *MockExecutorProvider_GetConfigInfo_Call) Return() *MockExecu... method RunAndReturn (line 1155) | func (_c *MockExecutorProvider_GetConfigInfo_Call) RunAndReturn(run fu... type MockExecutorProvider_GetDefaultShell_Call (line 1178) | type MockExecutorProvider_GetDefaultShell_Call struct method Run (line 1187) | func (_c *MockExecutorProvider_GetDefaultShell_Call) Run(run func()) *... method Return (line 1194) | func (_c *MockExecutorProvider_GetDefaultShell_Call) Return(s string) ... method RunAndReturn (line 1199) | func (_c *MockExecutorProvider_GetDefaultShell_Call) RunAndReturn(run ... type MockExecutorProvider_GetFeatures_Call (line 1222) | type MockExecutorProvider_GetFeatures_Call struct method Run (line 1232) | func (_c *MockExecutorProvider_GetFeatures_Call) Run(run func(features... method Return (line 1245) | func (_c *MockExecutorProvider_GetFeatures_Call) Return(err error) *Mo... method RunAndReturn (line 1250) | func (_c *MockExecutorProvider_GetFeatures_Call) RunAndReturn(run func... type MockExecutorProvider_Release_Call (line 1262) | type MockExecutorProvider_Release_Call struct method Run (line 1273) | func (_c *MockExecutorProvider_Release_Call) Run(run func(config *Runn... method Return (line 1291) | func (_c *MockExecutorProvider_Release_Call) Return() *MockExecutorPro... method RunAndReturn (line 1296) | func (_c *MockExecutorProvider_Release_Call) RunAndReturn(run func(con... function NewMockContentProvider (line 1303) | func NewMockContentProvider(t interface { type MockContentProvider (line 1316) | type MockContentProvider struct method EXPECT (line 1324) | func (_m *MockContentProvider) EXPECT() *MockContentProvider_Expecter { method GetContentLength (line 1329) | func (_mock *MockContentProvider) GetContentLength() (int64, bool) { method GetReader (line 1382) | func (_mock *MockContentProvider) GetReader() (io.ReadCloser, error) { type MockContentProvider_Expecter (line 1320) | type MockContentProvider_Expecter struct method GetContentLength (line 1360) | func (_e *MockContentProvider_Expecter) GetContentLength() *MockConten... method GetReader (line 1415) | func (_e *MockContentProvider_Expecter) GetReader() *MockContentProvid... type MockContentProvider_GetContentLength_Call (line 1355) | type MockContentProvider_GetContentLength_Call struct method Run (line 1364) | func (_c *MockContentProvider_GetContentLength_Call) Run(run func()) *... method Return (line 1371) | func (_c *MockContentProvider_GetContentLength_Call) Return(n int64, b... method RunAndReturn (line 1376) | func (_c *MockContentProvider_GetContentLength_Call) RunAndReturn(run ... type MockContentProvider_GetReader_Call (line 1410) | type MockContentProvider_GetReader_Call struct method Run (line 1419) | func (_c *MockContentProvider_GetReader_Call) Run(run func()) *MockCon... method Return (line 1426) | func (_c *MockContentProvider_GetReader_Call) Return(readCloser io.Rea... method RunAndReturn (line 1431) | func (_c *MockContentProvider_GetReader_Call) RunAndReturn(run func() ... function NewMockFailuresCollector (line 1438) | func NewMockFailuresCollector(t interface { type MockFailuresCollector (line 1451) | type MockFailuresCollector struct method EXPECT (line 1459) | func (_m *MockFailuresCollector) EXPECT() *MockFailuresCollector_Expec... method RecordFailure (line 1464) | func (_mock *MockFailuresCollector) RecordFailure(reason spec.JobFailu... type MockFailuresCollector_Expecter (line 1455) | type MockFailuresCollector_Expecter struct method RecordFailure (line 1478) | func (_e *MockFailuresCollector_Expecter) RecordFailure(reason interfa... type MockFailuresCollector_RecordFailure_Call (line 1470) | type MockFailuresCollector_RecordFailure_Call struct method Run (line 1482) | func (_c *MockFailuresCollector_RecordFailure_Call) Run(run func(reaso... method Return (line 1505) | func (_c *MockFailuresCollector_RecordFailure_Call) Return() *MockFail... method RunAndReturn (line 1510) | func (_c *MockFailuresCollector_RecordFailure_Call) RunAndReturn(run f... function NewMockSupportedFailureReasonMapper (line 1517) | func NewMockSupportedFailureReasonMapper(t interface { type MockSupportedFailureReasonMapper (line 1530) | type MockSupportedFailureReasonMapper struct method EXPECT (line 1538) | func (_m *MockSupportedFailureReasonMapper) EXPECT() *MockSupportedFai... method Map (line 1543) | func (_mock *MockSupportedFailureReasonMapper) Map(fr spec.JobFailureR... type MockSupportedFailureReasonMapper_Expecter (line 1534) | type MockSupportedFailureReasonMapper_Expecter struct method Map (line 1566) | func (_e *MockSupportedFailureReasonMapper_Expecter) Map(fr interface{... type MockSupportedFailureReasonMapper_Map_Call (line 1560) | type MockSupportedFailureReasonMapper_Map_Call struct method Run (line 1570) | func (_c *MockSupportedFailureReasonMapper_Map_Call) Run(run func(fr s... method Return (line 1583) | func (_c *MockSupportedFailureReasonMapper_Map_Call) Return(jobFailure... method RunAndReturn (line 1588) | func (_c *MockSupportedFailureReasonMapper_Map_Call) RunAndReturn(run ... function NewMockJobTrace (line 1595) | func NewMockJobTrace(t interface { type MockJobTrace (line 1608) | type MockJobTrace struct method EXPECT (line 1616) | func (_m *MockJobTrace) EXPECT() *MockJobTrace_Expecter { method Abort (line 1621) | func (_mock *MockJobTrace) Abort() bool { method Cancel (line 1665) | func (_mock *MockJobTrace) Cancel() bool { method Fail (line 1709) | func (_mock *MockJobTrace) Fail(err error, failureData JobFailureData)... method Finish (line 1766) | func (_mock *MockJobTrace) Finish() { method IsStdout (line 1799) | func (_mock *MockJobTrace) IsStdout() bool { method SetAbortFunc (line 1843) | func (_mock *MockJobTrace) SetAbortFunc(abortFunc context.CancelFunc) { method SetCancelFunc (line 1883) | func (_mock *MockJobTrace) SetCancelFunc(cancelFunc context.CancelFunc) { method SetDebugModeEnabled (line 1923) | func (_mock *MockJobTrace) SetDebugModeEnabled(isEnabled bool) { method SetFailuresCollector (line 1963) | func (_mock *MockJobTrace) SetFailuresCollector(fc FailuresCollector) { method SetSupportedFailureReasonMapper (line 2003) | func (_mock *MockJobTrace) SetSupportedFailureReasonMapper(f Supported... method Success (line 2043) | func (_mock *MockJobTrace) Success() error { method Write (line 2087) | func (_mock *MockJobTrace) Write(p []byte) (int, error) { type MockJobTrace_Expecter (line 1612) | type MockJobTrace_Expecter struct method Abort (line 1643) | func (_e *MockJobTrace_Expecter) Abort() *MockJobTrace_Abort_Call { method Cancel (line 1687) | func (_e *MockJobTrace_Expecter) Cancel() *MockJobTrace_Cancel_Call { method Fail (line 1733) | func (_e *MockJobTrace_Expecter) Fail(err interface{}, failureData int... method Finish (line 1777) | func (_e *MockJobTrace_Expecter) Finish() *MockJobTrace_Finish_Call { method IsStdout (line 1821) | func (_e *MockJobTrace_Expecter) IsStdout() *MockJobTrace_IsStdout_Call { method SetAbortFunc (line 1855) | func (_e *MockJobTrace_Expecter) SetAbortFunc(abortFunc interface{}) *... method SetCancelFunc (line 1895) | func (_e *MockJobTrace_Expecter) SetCancelFunc(cancelFunc interface{})... method SetDebugModeEnabled (line 1935) | func (_e *MockJobTrace_Expecter) SetDebugModeEnabled(isEnabled interfa... method SetFailuresCollector (line 1975) | func (_e *MockJobTrace_Expecter) SetFailuresCollector(fc interface{}) ... method SetSupportedFailureReasonMapper (line 2015) | func (_e *MockJobTrace_Expecter) SetSupportedFailureReasonMapper(f int... method Success (line 2065) | func (_e *MockJobTrace_Expecter) Success() *MockJobTrace_Success_Call { method Write (line 2119) | func (_e *MockJobTrace_Expecter) Write(p interface{}) *MockJobTrace_Wr... type MockJobTrace_Abort_Call (line 1638) | type MockJobTrace_Abort_Call struct method Run (line 1647) | func (_c *MockJobTrace_Abort_Call) Run(run func()) *MockJobTrace_Abort... method Return (line 1654) | func (_c *MockJobTrace_Abort_Call) Return(b bool) *MockJobTrace_Abort_... method RunAndReturn (line 1659) | func (_c *MockJobTrace_Abort_Call) RunAndReturn(run func() bool) *Mock... type MockJobTrace_Cancel_Call (line 1682) | type MockJobTrace_Cancel_Call struct method Run (line 1691) | func (_c *MockJobTrace_Cancel_Call) Run(run func()) *MockJobTrace_Canc... method Return (line 1698) | func (_c *MockJobTrace_Cancel_Call) Return(b bool) *MockJobTrace_Cance... method RunAndReturn (line 1703) | func (_c *MockJobTrace_Cancel_Call) RunAndReturn(run func() bool) *Moc... type MockJobTrace_Fail_Call (line 1726) | type MockJobTrace_Fail_Call struct method Run (line 1737) | func (_c *MockJobTrace_Fail_Call) Run(run func(err error, failureData ... method Return (line 1755) | func (_c *MockJobTrace_Fail_Call) Return(err1 error) *MockJobTrace_Fai... method RunAndReturn (line 1760) | func (_c *MockJobTrace_Fail_Call) RunAndReturn(run func(err error, fai... type MockJobTrace_Finish_Call (line 1772) | type MockJobTrace_Finish_Call struct method Run (line 1781) | func (_c *MockJobTrace_Finish_Call) Run(run func()) *MockJobTrace_Fini... method Return (line 1788) | func (_c *MockJobTrace_Finish_Call) Return() *MockJobTrace_Finish_Call { method RunAndReturn (line 1793) | func (_c *MockJobTrace_Finish_Call) RunAndReturn(run func()) *MockJobT... type MockJobTrace_IsStdout_Call (line 1816) | type MockJobTrace_IsStdout_Call struct method Run (line 1825) | func (_c *MockJobTrace_IsStdout_Call) Run(run func()) *MockJobTrace_Is... method Return (line 1832) | func (_c *MockJobTrace_IsStdout_Call) Return(b bool) *MockJobTrace_IsS... method RunAndReturn (line 1837) | func (_c *MockJobTrace_IsStdout_Call) RunAndReturn(run func() bool) *M... type MockJobTrace_SetAbortFunc_Call (line 1849) | type MockJobTrace_SetAbortFunc_Call struct method Run (line 1859) | func (_c *MockJobTrace_SetAbortFunc_Call) Run(run func(abortFunc conte... method Return (line 1872) | func (_c *MockJobTrace_SetAbortFunc_Call) Return() *MockJobTrace_SetAb... method RunAndReturn (line 1877) | func (_c *MockJobTrace_SetAbortFunc_Call) RunAndReturn(run func(abortF... type MockJobTrace_SetCancelFunc_Call (line 1889) | type MockJobTrace_SetCancelFunc_Call struct method Run (line 1899) | func (_c *MockJobTrace_SetCancelFunc_Call) Run(run func(cancelFunc con... method Return (line 1912) | func (_c *MockJobTrace_SetCancelFunc_Call) Return() *MockJobTrace_SetC... method RunAndReturn (line 1917) | func (_c *MockJobTrace_SetCancelFunc_Call) RunAndReturn(run func(cance... type MockJobTrace_SetDebugModeEnabled_Call (line 1929) | type MockJobTrace_SetDebugModeEnabled_Call struct method Run (line 1939) | func (_c *MockJobTrace_SetDebugModeEnabled_Call) Run(run func(isEnable... method Return (line 1952) | func (_c *MockJobTrace_SetDebugModeEnabled_Call) Return() *MockJobTrac... method RunAndReturn (line 1957) | func (_c *MockJobTrace_SetDebugModeEnabled_Call) RunAndReturn(run func... type MockJobTrace_SetFailuresCollector_Call (line 1969) | type MockJobTrace_SetFailuresCollector_Call struct method Run (line 1979) | func (_c *MockJobTrace_SetFailuresCollector_Call) Run(run func(fc Fail... method Return (line 1992) | func (_c *MockJobTrace_SetFailuresCollector_Call) Return() *MockJobTra... method RunAndReturn (line 1997) | func (_c *MockJobTrace_SetFailuresCollector_Call) RunAndReturn(run fun... type MockJobTrace_SetSupportedFailureReasonMapper_Call (line 2009) | type MockJobTrace_SetSupportedFailureReasonMapper_Call struct method Run (line 2019) | func (_c *MockJobTrace_SetSupportedFailureReasonMapper_Call) Run(run f... method Return (line 2032) | func (_c *MockJobTrace_SetSupportedFailureReasonMapper_Call) Return() ... method RunAndReturn (line 2037) | func (_c *MockJobTrace_SetSupportedFailureReasonMapper_Call) RunAndRet... type MockJobTrace_Success_Call (line 2060) | type MockJobTrace_Success_Call struct method Run (line 2069) | func (_c *MockJobTrace_Success_Call) Run(run func()) *MockJobTrace_Suc... method Return (line 2076) | func (_c *MockJobTrace_Success_Call) Return(err error) *MockJobTrace_S... method RunAndReturn (line 2081) | func (_c *MockJobTrace_Success_Call) RunAndReturn(run func() error) *M... type MockJobTrace_Write_Call (line 2113) | type MockJobTrace_Write_Call struct method Run (line 2123) | func (_c *MockJobTrace_Write_Call) Run(run func(p []byte)) *MockJobTra... method Return (line 2136) | func (_c *MockJobTrace_Write_Call) Return(n int, err error) *MockJobTr... method RunAndReturn (line 2141) | func (_c *MockJobTrace_Write_Call) RunAndReturn(run func(p []byte) (in... function NewMockNetwork (line 2148) | func NewMockNetwork(t interface { type MockNetwork (line 2161) | type MockNetwork struct method EXPECT (line 2169) | func (_m *MockNetwork) EXPECT() *MockNetwork_Expecter { method DownloadArtifacts (line 2174) | func (_mock *MockNetwork) DownloadArtifacts(config JobCredentials, art... method PatchTrace (line 2237) | func (_mock *MockNetwork) PatchTrace(config RunnerConfig, jobCredentia... method ProcessJob (line 2312) | func (_mock *MockNetwork) ProcessJob(config RunnerConfig, buildCredent... method RegisterRunner (line 2380) | func (_mock *MockNetwork) RegisterRunner(config RunnerConfig, paramete... method RequestJob (line 2439) | func (_mock *MockNetwork) RequestJob(ctx context.Context, config Runne... method ResetToken (line 2513) | func (_mock *MockNetwork) ResetToken(runner RunnerConfig, systemID str... method ResetTokenWithPAT (line 2572) | func (_mock *MockNetwork) ResetTokenWithPAT(runner RunnerConfig, syste... method SetConnectionMaxAge (line 2637) | func (_mock *MockNetwork) SetConnectionMaxAge(duration time.Duration) { method UnregisterRunner (line 2677) | func (_mock *MockNetwork) UnregisterRunner(config RunnerConfig) bool { method UnregisterRunnerManager (line 2728) | func (_mock *MockNetwork) UnregisterRunnerManager(config RunnerConfig,... method UpdateJob (line 2785) | func (_mock *MockNetwork) UpdateJob(config RunnerConfig, jobCredential... method UploadRawArtifacts (line 2848) | func (_mock *MockNetwork) UploadRawArtifacts(config JobCredentials, bo... method VerifyRunner (line 2920) | func (_mock *MockNetwork) VerifyRunner(config RunnerConfig, systemID s... type MockNetwork_Expecter (line 2165) | type MockNetwork_Expecter struct method DownloadArtifacts (line 2199) | func (_e *MockNetwork_Expecter) DownloadArtifacts(config interface{}, ... method PatchTrace (line 2264) | func (_e *MockNetwork_Expecter) PatchTrace(config interface{}, jobCred... method ProcessJob (line 2347) | func (_e *MockNetwork_Expecter) ProcessJob(config interface{}, buildCr... method RegisterRunner (line 2406) | func (_e *MockNetwork_Expecter) RegisterRunner(config interface{}, par... method RequestJob (line 2475) | func (_e *MockNetwork_Expecter) RequestJob(ctx interface{}, config int... method ResetToken (line 2539) | func (_e *MockNetwork_Expecter) ResetToken(runner interface{}, systemI... method ResetTokenWithPAT (line 2599) | func (_e *MockNetwork_Expecter) ResetTokenWithPAT(runner interface{}, ... method SetConnectionMaxAge (line 2649) | func (_e *MockNetwork_Expecter) SetConnectionMaxAge(duration interface... method UnregisterRunner (line 2700) | func (_e *MockNetwork_Expecter) UnregisterRunner(config interface{}) *... method UnregisterRunnerManager (line 2752) | func (_e *MockNetwork_Expecter) UnregisterRunnerManager(config interfa... method UpdateJob (line 2810) | func (_e *MockNetwork_Expecter) UpdateJob(config interface{}, jobCrede... method UploadRawArtifacts (line 2882) | func (_e *MockNetwork_Expecter) UploadRawArtifacts(config interface{},... method VerifyRunner (line 2946) | func (_e *MockNetwork_Expecter) VerifyRunner(config interface{}, syste... type MockNetwork_DownloadArtifacts_Call (line 2191) | type MockNetwork_DownloadArtifacts_Call struct method Run (line 2203) | func (_c *MockNetwork_DownloadArtifacts_Call) Run(run func(config JobC... method Return (line 2226) | func (_c *MockNetwork_DownloadArtifacts_Call) Return(downloadState Dow... method RunAndReturn (line 2231) | func (_c *MockNetwork_DownloadArtifacts_Call) RunAndReturn(run func(co... type MockNetwork_PatchTrace_Call (line 2254) | type MockNetwork_PatchTrace_Call struct method Run (line 2268) | func (_c *MockNetwork_PatchTrace_Call) Run(run func(config RunnerConfi... method Return (line 2301) | func (_c *MockNetwork_PatchTrace_Call) Return(patchTraceResult PatchTr... method RunAndReturn (line 2306) | func (_c *MockNetwork_PatchTrace_Call) RunAndReturn(run func(config Ru... type MockNetwork_ProcessJob_Call (line 2340) | type MockNetwork_ProcessJob_Call struct method Run (line 2351) | func (_c *MockNetwork_ProcessJob_Call) Run(run func(config RunnerConfi... method Return (line 2369) | func (_c *MockNetwork_ProcessJob_Call) Return(jobTrace JobTrace, err e... method RunAndReturn (line 2374) | func (_c *MockNetwork_ProcessJob_Call) RunAndReturn(run func(config Ru... type MockNetwork_RegisterRunner_Call (line 2399) | type MockNetwork_RegisterRunner_Call struct method Run (line 2410) | func (_c *MockNetwork_RegisterRunner_Call) Run(run func(config RunnerC... method Return (line 2428) | func (_c *MockNetwork_RegisterRunner_Call) Return(registerRunnerRespon... method RunAndReturn (line 2433) | func (_c *MockNetwork_RegisterRunner_Call) RunAndReturn(run func(confi... type MockNetwork_RequestJob_Call (line 2467) | type MockNetwork_RequestJob_Call struct method Run (line 2479) | func (_c *MockNetwork_RequestJob_Call) Run(run func(ctx context.Contex... method Return (line 2502) | func (_c *MockNetwork_RequestJob_Call) Return(job *spec.Job, b bool) *... method RunAndReturn (line 2507) | func (_c *MockNetwork_RequestJob_Call) RunAndReturn(run func(ctx conte... type MockNetwork_ResetToken_Call (line 2532) | type MockNetwork_ResetToken_Call struct method Run (line 2543) | func (_c *MockNetwork_ResetToken_Call) Run(run func(runner RunnerConfi... method Return (line 2561) | func (_c *MockNetwork_ResetToken_Call) Return(resetTokenResponse *Rese... method RunAndReturn (line 2566) | func (_c *MockNetwork_ResetToken_Call) RunAndReturn(run func(runner Ru... type MockNetwork_ResetTokenWithPAT_Call (line 2591) | type MockNetwork_ResetTokenWithPAT_Call struct method Run (line 2603) | func (_c *MockNetwork_ResetTokenWithPAT_Call) Run(run func(runner Runn... method Return (line 2626) | func (_c *MockNetwork_ResetTokenWithPAT_Call) Return(resetTokenRespons... method RunAndReturn (line 2631) | func (_c *MockNetwork_ResetTokenWithPAT_Call) RunAndReturn(run func(ru... type MockNetwork_SetConnectionMaxAge_Call (line 2643) | type MockNetwork_SetConnectionMaxAge_Call struct method Run (line 2653) | func (_c *MockNetwork_SetConnectionMaxAge_Call) Run(run func(duration ... method Return (line 2666) | func (_c *MockNetwork_SetConnectionMaxAge_Call) Return() *MockNetwork_... method RunAndReturn (line 2671) | func (_c *MockNetwork_SetConnectionMaxAge_Call) RunAndReturn(run func(... type MockNetwork_UnregisterRunner_Call (line 2694) | type MockNetwork_UnregisterRunner_Call struct method Run (line 2704) | func (_c *MockNetwork_UnregisterRunner_Call) Run(run func(config Runne... method Return (line 2717) | func (_c *MockNetwork_UnregisterRunner_Call) Return(b bool) *MockNetwo... method RunAndReturn (line 2722) | func (_c *MockNetwork_UnregisterRunner_Call) RunAndReturn(run func(con... type MockNetwork_UnregisterRunnerManager_Call (line 2745) | type MockNetwork_UnregisterRunnerManager_Call struct method Run (line 2756) | func (_c *MockNetwork_UnregisterRunnerManager_Call) Run(run func(confi... method Return (line 2774) | func (_c *MockNetwork_UnregisterRunnerManager_Call) Return(b bool) *Mo... method RunAndReturn (line 2779) | func (_c *MockNetwork_UnregisterRunnerManager_Call) RunAndReturn(run f... type MockNetwork_UpdateJob_Call (line 2802) | type MockNetwork_UpdateJob_Call struct method Run (line 2814) | func (_c *MockNetwork_UpdateJob_Call) Run(run func(config RunnerConfig... method Return (line 2837) | func (_c *MockNetwork_UpdateJob_Call) Return(updateJobResult UpdateJob... method RunAndReturn (line 2842) | func (_c *MockNetwork_UpdateJob_Call) RunAndReturn(run func(config Run... type MockNetwork_UploadRawArtifacts_Call (line 2874) | type MockNetwork_UploadRawArtifacts_Call struct method Run (line 2886) | func (_c *MockNetwork_UploadRawArtifacts_Call) Run(run func(config Job... method Return (line 2909) | func (_c *MockNetwork_UploadRawArtifacts_Call) Return(uploadState Uplo... method RunAndReturn (line 2914) | func (_c *MockNetwork_UploadRawArtifacts_Call) RunAndReturn(run func(c... type MockNetwork_VerifyRunner_Call (line 2939) | type MockNetwork_VerifyRunner_Call struct method Run (line 2950) | func (_c *MockNetwork_VerifyRunner_Call) Run(run func(config RunnerCon... method Return (line 2968) | func (_c *MockNetwork_VerifyRunner_Call) Return(verifyRunnerResponse *... method RunAndReturn (line 2973) | func (_c *MockNetwork_VerifyRunner_Call) RunAndReturn(run func(config ... function newMockLogger (line 2980) | func newMockLogger(t interface { type mockLogger (line 2993) | type mockLogger struct method EXPECT (line 3001) | func (_m *mockLogger) EXPECT() *mockLogger_Expecter { method Println (line 3006) | func (_mock *mockLogger) Println(args ...interface{}) { method Warningln (line 3053) | func (_mock *mockLogger) Warningln(args ...interface{}) { type mockLogger_Expecter (line 2997) | type mockLogger_Expecter struct method Println (line 3020) | func (_e *mockLogger_Expecter) Println(args ...interface{}) *mockLogge... method Warningln (line 3067) | func (_e *mockLogger_Expecter) Warningln(args ...interface{}) *mockLog... type mockLogger_Println_Call (line 3014) | type mockLogger_Println_Call struct method Run (line 3025) | func (_c *mockLogger_Println_Call) Run(run func(args ...interface{})) ... method Return (line 3042) | func (_c *mockLogger_Println_Call) Return() *mockLogger_Println_Call { method RunAndReturn (line 3047) | func (_c *mockLogger_Println_Call) RunAndReturn(run func(args ...inter... type mockLogger_Warningln_Call (line 3061) | type mockLogger_Warningln_Call struct method Run (line 3072) | func (_c *mockLogger_Warningln_Call) Run(run func(args ...interface{})... method Return (line 3089) | func (_c *mockLogger_Warningln_Call) Return() *mockLogger_Warningln_Ca... method RunAndReturn (line 3094) | func (_c *mockLogger_Warningln_Call) RunAndReturn(run func(args ...int... function NewMockSecretsResolver (line 3101) | func NewMockSecretsResolver(t interface { type MockSecretsResolver (line 3114) | type MockSecretsResolver struct method EXPECT (line 3122) | func (_m *MockSecretsResolver) EXPECT() *MockSecretsResolver_Expecter { method Resolve (line 3127) | func (_mock *MockSecretsResolver) Resolve(secrets spec.Secrets) (spec.... type MockSecretsResolver_Expecter (line 3118) | type MockSecretsResolver_Expecter struct method Resolve (line 3161) | func (_e *MockSecretsResolver_Expecter) Resolve(secrets interface{}) *... type MockSecretsResolver_Resolve_Call (line 3155) | type MockSecretsResolver_Resolve_Call struct method Run (line 3165) | func (_c *MockSecretsResolver_Resolve_Call) Run(run func(secrets spec.... method Return (line 3178) | func (_c *MockSecretsResolver_Resolve_Call) Return(variables spec.Vari... method RunAndReturn (line 3183) | func (_c *MockSecretsResolver_Resolve_Call) RunAndReturn(run func(secr... function NewMockSecretResolverRegistry (line 3190) | func NewMockSecretResolverRegistry(t interface { type MockSecretResolverRegistry (line 3203) | type MockSecretResolverRegistry struct method EXPECT (line 3211) | func (_m *MockSecretResolverRegistry) EXPECT() *MockSecretResolverRegi... method GetFor (line 3216) | func (_mock *MockSecretResolverRegistry) GetFor(secret spec.Secret) (S... method Register (line 3278) | func (_mock *MockSecretResolverRegistry) Register(f secretResolverFact... type MockSecretResolverRegistry_Expecter (line 3207) | type MockSecretResolverRegistry_Expecter struct method GetFor (line 3250) | func (_e *MockSecretResolverRegistry_Expecter) GetFor(secret interface... method Register (line 3290) | func (_e *MockSecretResolverRegistry_Expecter) Register(f interface{})... type MockSecretResolverRegistry_GetFor_Call (line 3244) | type MockSecretResolverRegistry_GetFor_Call struct method Run (line 3254) | func (_c *MockSecretResolverRegistry_GetFor_Call) Run(run func(secret ... method Return (line 3267) | func (_c *MockSecretResolverRegistry_GetFor_Call) Return(secretResolve... method RunAndReturn (line 3272) | func (_c *MockSecretResolverRegistry_GetFor_Call) RunAndReturn(run fun... type MockSecretResolverRegistry_Register_Call (line 3284) | type MockSecretResolverRegistry_Register_Call struct method Run (line 3294) | func (_c *MockSecretResolverRegistry_Register_Call) Run(run func(f sec... method Return (line 3307) | func (_c *MockSecretResolverRegistry_Register_Call) Return() *MockSecr... method RunAndReturn (line 3312) | func (_c *MockSecretResolverRegistry_Register_Call) RunAndReturn(run f... function NewMockSecretResolver (line 3319) | func NewMockSecretResolver(t interface { type MockSecretResolver (line 3332) | type MockSecretResolver struct method EXPECT (line 3340) | func (_m *MockSecretResolver) EXPECT() *MockSecretResolver_Expecter { method IsSupported (line 3345) | func (_mock *MockSecretResolver) IsSupported() bool { method Name (line 3389) | func (_mock *MockSecretResolver) Name() string { method Resolve (line 3433) | func (_mock *MockSecretResolver) Resolve() (string, error) { type MockSecretResolver_Expecter (line 3336) | type MockSecretResolver_Expecter struct method IsSupported (line 3367) | func (_e *MockSecretResolver_Expecter) IsSupported() *MockSecretResolv... method Name (line 3411) | func (_e *MockSecretResolver_Expecter) Name() *MockSecretResolver_Name... method Resolve (line 3464) | func (_e *MockSecretResolver_Expecter) Resolve() *MockSecretResolver_R... type MockSecretResolver_IsSupported_Call (line 3362) | type MockSecretResolver_IsSupported_Call struct method Run (line 3371) | func (_c *MockSecretResolver_IsSupported_Call) Run(run func()) *MockSe... method Return (line 3378) | func (_c *MockSecretResolver_IsSupported_Call) Return(b bool) *MockSec... method RunAndReturn (line 3383) | func (_c *MockSecretResolver_IsSupported_Call) RunAndReturn(run func()... type MockSecretResolver_Name_Call (line 3406) | type MockSecretResolver_Name_Call struct method Run (line 3415) | func (_c *MockSecretResolver_Name_Call) Run(run func()) *MockSecretRes... method Return (line 3422) | func (_c *MockSecretResolver_Name_Call) Return(s string) *MockSecretRe... method RunAndReturn (line 3427) | func (_c *MockSecretResolver_Name_Call) RunAndReturn(run func() string... type MockSecretResolver_Resolve_Call (line 3459) | type MockSecretResolver_Resolve_Call struct method Run (line 3468) | func (_c *MockSecretResolver_Resolve_Call) Run(run func()) *MockSecret... method Return (line 3475) | func (_c *MockSecretResolver_Resolve_Call) Return(s string, err error)... method RunAndReturn (line 3480) | func (_c *MockSecretResolver_Resolve_Call) RunAndReturn(run func() (st... function NewMockShell (line 3487) | func NewMockShell(t interface { type MockShell (line 3500) | type MockShell struct method EXPECT (line 3508) | func (_m *MockShell) EXPECT() *MockShell_Expecter { method GenerateSaveScript (line 3513) | func (_mock *MockShell) GenerateSaveScript(info ShellScriptInfo, scrip... method GenerateScript (line 3585) | func (_mock *MockShell) GenerateScript(ctx context.Context, buildStage... method GetConfiguration (line 3657) | func (_mock *MockShell) GetConfiguration(info ShellScriptInfo) (*Shell... method GetEntrypointCommand (line 3719) | func (_mock *MockShell) GetEntrypointCommand(info ShellScriptInfo, pro... method GetFeatures (line 3778) | func (_mock *MockShell) GetFeatures(features *FeaturesInfo) { method GetName (line 3818) | func (_mock *MockShell) GetName() string { method IsDefault (line 3862) | func (_mock *MockShell) IsDefault() bool { type MockShell_Expecter (line 3504) | type MockShell_Expecter struct method GenerateSaveScript (line 3547) | func (_e *MockShell_Expecter) GenerateSaveScript(info interface{}, scr... method GenerateScript (line 3619) | func (_e *MockShell_Expecter) GenerateScript(ctx interface{}, buildSta... method GetConfiguration (line 3691) | func (_e *MockShell_Expecter) GetConfiguration(info interface{}) *Mock... method GetEntrypointCommand (line 3745) | func (_e *MockShell_Expecter) GetEntrypointCommand(info interface{}, p... method GetFeatures (line 3790) | func (_e *MockShell_Expecter) GetFeatures(features interface{}) *MockS... method GetName (line 3840) | func (_e *MockShell_Expecter) GetName() *MockShell_GetName_Call { method IsDefault (line 3884) | func (_e *MockShell_Expecter) IsDefault() *MockShell_IsDefault_Call { type MockShell_GenerateSaveScript_Call (line 3539) | type MockShell_GenerateSaveScript_Call struct method Run (line 3551) | func (_c *MockShell_GenerateSaveScript_Call) Run(run func(info ShellSc... method Return (line 3574) | func (_c *MockShell_GenerateSaveScript_Call) Return(s string, err erro... method RunAndReturn (line 3579) | func (_c *MockShell_GenerateSaveScript_Call) RunAndReturn(run func(inf... type MockShell_GenerateScript_Call (line 3611) | type MockShell_GenerateScript_Call struct method Run (line 3623) | func (_c *MockShell_GenerateScript_Call) Run(run func(ctx context.Cont... method Return (line 3646) | func (_c *MockShell_GenerateScript_Call) Return(s string, err error) *... method RunAndReturn (line 3651) | func (_c *MockShell_GenerateScript_Call) RunAndReturn(run func(ctx con... type MockShell_GetConfiguration_Call (line 3685) | type MockShell_GetConfiguration_Call struct method Run (line 3695) | func (_c *MockShell_GetConfiguration_Call) Run(run func(info ShellScri... method Return (line 3708) | func (_c *MockShell_GetConfiguration_Call) Return(shellConfiguration *... method RunAndReturn (line 3713) | func (_c *MockShell_GetConfiguration_Call) RunAndReturn(run func(info ... type MockShell_GetEntrypointCommand_Call (line 3738) | type MockShell_GetEntrypointCommand_Call struct method Run (line 3749) | func (_c *MockShell_GetEntrypointCommand_Call) Run(run func(info Shell... method Return (line 3767) | func (_c *MockShell_GetEntrypointCommand_Call) Return(strings []string... method RunAndReturn (line 3772) | func (_c *MockShell_GetEntrypointCommand_Call) RunAndReturn(run func(i... type MockShell_GetFeatures_Call (line 3784) | type MockShell_GetFeatures_Call struct method Run (line 3794) | func (_c *MockShell_GetFeatures_Call) Run(run func(features *FeaturesI... method Return (line 3807) | func (_c *MockShell_GetFeatures_Call) Return() *MockShell_GetFeatures_... method RunAndReturn (line 3812) | func (_c *MockShell_GetFeatures_Call) RunAndReturn(run func(features *... type MockShell_GetName_Call (line 3835) | type MockShell_GetName_Call struct method Run (line 3844) | func (_c *MockShell_GetName_Call) Run(run func()) *MockShell_GetName_C... method Return (line 3851) | func (_c *MockShell_GetName_Call) Return(s string) *MockShell_GetName_... method RunAndReturn (line 3856) | func (_c *MockShell_GetName_Call) RunAndReturn(run func() string) *Moc... type MockShell_IsDefault_Call (line 3879) | type MockShell_IsDefault_Call struct method Run (line 3888) | func (_c *MockShell_IsDefault_Call) Run(run func()) *MockShell_IsDefau... method Return (line 3895) | func (_c *MockShell_IsDefault_Call) Return(b bool) *MockShell_IsDefaul... method RunAndReturn (line 3900) | func (_c *MockShell_IsDefault_Call) RunAndReturn(run func() bool) *Moc... FILE: common/network.go type UpdateState (line 13) | type UpdateState type PatchState (line 14) | type PatchState type UploadState (line 15) | type UploadState type DownloadState (line 16) | type DownloadState type JobState (line 17) | type JobState type ContentProvider (line 21) | type ContentProvider interface type BytesProvider (line 34) | type BytesProvider struct method GetReader (line 40) | func (p BytesProvider) GetReader() (io.ReadCloser, error) { method GetContentLength (line 45) | func (p BytesProvider) GetContentLength() (int64, bool) { type StreamProvider (line 51) | type StreamProvider struct method GetReader (line 59) | func (p StreamProvider) GetReader() (io.ReadCloser, error) { method GetContentLength (line 64) | func (p StreamProvider) GetContentLength() (int64, bool) { constant Pending (line 69) | Pending JobState = "pending" constant Running (line 70) | Running JobState = "running" constant Failed (line 71) | Failed JobState = "failed" constant Success (line 72) | Success JobState = "success" constant ScriptFailure (line 76) | ScriptFailure spec.JobFailureReason = "script_failure" constant RunnerSystemFailure (line 77) | RunnerSystemFailure spec.JobFailureReason = "runner_system_failure" constant JobExecutionTimeout (line 78) | JobExecutionTimeout spec.JobFailureReason = "job_execution_timeout" constant ImagePullFailure (line 79) | ImagePullFailure spec.JobFailureReason = "image_pull_failure" constant UnknownFailure (line 80) | UnknownFailure spec.JobFailureReason = "unknown_failure" constant ConfigurationError (line 85) | ConfigurationError spec.JobFailureReason = "configuration_error" constant JobCanceled (line 94) | JobCanceled spec.JobFailureReason = "job_canceled" constant UpdateSucceeded (line 129) | UpdateSucceeded UpdateState = iota constant UpdateAcceptedButNotCompleted (line 130) | UpdateAcceptedButNotCompleted constant UpdateTraceValidationFailed (line 131) | UpdateTraceValidationFailed constant UpdateNotFound (line 132) | UpdateNotFound constant UpdateAbort (line 133) | UpdateAbort constant UpdateFailed (line 134) | UpdateFailed constant PatchSucceeded (line 138) | PatchSucceeded PatchState = iota constant PatchNotFound (line 139) | PatchNotFound constant PatchAbort (line 140) | PatchAbort constant PatchRangeMismatch (line 141) | PatchRangeMismatch constant PatchFailed (line 142) | PatchFailed constant UploadSucceeded (line 146) | UploadSucceeded UploadState = iota constant UploadTooLarge (line 147) | UploadTooLarge constant UploadForbidden (line 148) | UploadForbidden constant UploadFailed (line 149) | UploadFailed constant UploadServiceUnavailable (line 150) | UploadServiceUnavailable constant UploadRedirected (line 151) | UploadRedirected constant DownloadSucceeded (line 155) | DownloadSucceeded DownloadState = iota constant DownloadForbidden (line 156) | DownloadForbidden constant DownloadUnauthorized (line 157) | DownloadUnauthorized constant DownloadFailed (line 158) | DownloadFailed constant DownloadNotFound (line 159) | DownloadNotFound type FeaturesInfo (line 162) | type FeaturesInfo struct type ConfigInfo (line 196) | type ConfigInfo struct type RegisterRunnerParameters (line 200) | type RegisterRunnerParameters struct type RegisterRunnerRequest (line 211) | type RegisterRunnerRequest struct type RegisterRunnerResponse (line 217) | type RegisterRunnerResponse struct type VerifyRunnerRequest (line 223) | type VerifyRunnerRequest struct type VerifyRunnerResponse (line 228) | type VerifyRunnerResponse struct type UnregisterRunnerRequest (line 234) | type UnregisterRunnerRequest struct type UnregisterRunnerManagerRequest (line 238) | type UnregisterRunnerManagerRequest struct type ResetTokenRequest (line 243) | type ResetTokenRequest struct type ResetTokenResponse (line 247) | type ResetTokenResponse struct type Info (line 253) | type Info struct type JobRequest (line 266) | type JobRequest struct type SessionInfo (line 274) | type SessionInfo struct type UpdateJobRequest (line 280) | type UpdateJobRequest struct type JobTraceOutput (line 290) | type JobTraceOutput struct type JobCredentials (line 295) | type JobCredentials struct method GetURL (line 304) | func (j *JobCredentials) GetURL() string { method GetTLSCAFile (line 308) | func (j *JobCredentials) GetTLSCAFile() string { method GetTLSCertFile (line 312) | func (j *JobCredentials) GetTLSCertFile() string { method GetTLSKeyFile (line 316) | func (j *JobCredentials) GetTLSKeyFile() string { method GetToken (line 320) | func (j *JobCredentials) GetToken() string { type UpdateJobInfo (line 324) | type UpdateJobInfo struct type RouterDiscovery (line 332) | type RouterDiscovery struct type FailuresCollector (line 337) | type FailuresCollector interface type SupportedFailureReasonMapper (line 341) | type SupportedFailureReasonMapper interface type JobTrace (line 345) | type JobTrace interface type UpdateJobResult (line 360) | type UpdateJobResult struct type PatchTraceResult (line 366) | type PatchTraceResult struct function NewPatchTraceResult (line 373) | func NewPatchTraceResult(sentOffset int, state PatchState, newUpdateInte... type ArtifactsOptions (line 381) | type ArtifactsOptions struct type Network (line 389) | type Network interface FILE: common/network_test.go function TestCacheCheckPolicy (line 17) | func TestCacheCheckPolicy(t *testing.T) { function TestShouldCache (line 49) | func TestShouldCache(t *testing.T) { function TestSecrets_expandVariables (line 79) | func TestSecrets_expandVariables(t *testing.T) { function TestGCPSecretManagerSecrets_expandVariables (line 219) | func TestGCPSecretManagerSecrets_expandVariables(t *testing.T) { function TestAzureKeyVaultSecrets_expandVariables (line 316) | func TestAzureKeyVaultSecrets_expandVariables(t *testing.T) { function TestJobResponse_JobURL (line 419) | func TestJobResponse_JobURL(t *testing.T) { function Test_Image_ExecutorOptions_UnmarshalJSON (line 441) | func Test_Image_ExecutorOptions_UnmarshalJSON(t *testing.T) { function TestJobResponse_Run (line 571) | func TestJobResponse_Run(t *testing.T) { function TestFeaturesInfo_JSONMarshaling (line 765) | func TestFeaturesInfo_JSONMarshaling(t *testing.T) { FILE: common/process_logger_adaptor.go type ProcessLoggerAdapter (line 9) | type ProcessLoggerAdapter struct method WithFields (line 19) | func (l *ProcessLoggerAdapter) WithFields(fields logrus.Fields) proces... method Warn (line 25) | func (l *ProcessLoggerAdapter) Warn(args ...interface{}) { function NewProcessLoggerAdapter (line 13) | func NewProcessLoggerAdapter(buildlogger buildlogger.Logger) *ProcessLog... FILE: common/reset_token.go function ResetToken (line 3) | func ResetToken(network Network, runner *RunnerConfig, systemID string, ... FILE: common/secrets.go type logger (line 12) | type logger interface type SecretsResolver (line 17) | type SecretsResolver interface type SecretResolverRegistry (line 21) | type SecretResolverRegistry interface type secretResolverFactory (line 26) | type secretResolverFactory type SecretResolver (line 28) | type SecretResolver interface function GetSecretResolverRegistry (line 44) | func GetSecretResolverRegistry() SecretResolverRegistry { type defaultSecretResolverRegistry (line 48) | type defaultSecretResolverRegistry struct method Register (line 52) | func (r *defaultSecretResolverRegistry) Register(f secretResolverFacto... method GetFor (line 56) | func (r *defaultSecretResolverRegistry) GetFor(secret spec.Secret) (Se... function newSecretsResolver (line 67) | func newSecretsResolver(l logger, registry SecretResolverRegistry, featu... type defaultSecretsResolver (line 81) | type defaultSecretsResolver struct method Resolve (line 87) | func (r *defaultSecretsResolver) Resolve(secrets spec.Secrets) (spec.V... method handleSecret (line 116) | func (r *defaultSecretsResolver) handleSecret(variableKey string, secr... FILE: common/secrets_test.go function TestDefaultResolver_Resolve (line 16) | func TestDefaultResolver_Resolve(t *testing.T) { FILE: common/shell.go type ShellConfiguration (line 12) | type ShellConfiguration struct method String (line 35) | func (s *ShellConfiguration) String() string { type ShellType (line 23) | type ShellType constant NormalShell (line 30) | NormalShell ShellType = iota constant LoginShell (line 31) | LoginShell constant InteractiveShell (line 32) | InteractiveShell type ShellScriptInfo (line 39) | type ShellScriptInfo struct type Shell (line 51) | type Shell interface function RegisterShell (line 65) | func RegisterShell(shell Shell) { function GetShell (line 77) | func GetShell(shell string) Shell { function GetShellConfiguration (line 85) | func GetShellConfiguration(info ShellScriptInfo) (*ShellConfiguration, e... function GenerateShellScript (line 94) | func GenerateShellScript(ctx context.Context, buildStage BuildStage, inf... function GetDefaultShell (line 103) | func GetDefaultShell() string { FILE: common/spec/inputs.go type Inputs (line 17) | type Inputs struct method UnmarshalJSON (line 137) | func (i *Inputs) UnmarshalJSON(data []byte) error { method All (line 178) | func (i *Inputs) All() iter.Seq2[value.Value, value.Value] { method Attr (line 188) | func (i *Inputs) Attr(a string) (value.Value, error) { method Get (line 198) | func (i *Inputs) Get(key value.Value) (value.Value, error) { method Keys (line 206) | func (i *Inputs) Keys() iter.Seq[value.Value] { method Len (line 216) | func (i *Inputs) Len() int { method Values (line 220) | func (i *Inputs) Values() iter.Seq[value.Value] { method WithMarks (line 230) | func (i *Inputs) WithMarks(marks uint16) value.Mapper { method SetMetricsCollector (line 236) | func (i *Inputs) SetMetricsCollector(collector *JobInputsMetricsCollec... method Expand (line 240) | func (i *Inputs) Expand(text string) (string, error) { type JobInput (line 23) | type JobInput struct method UnmarshalJSON (line 100) | func (i *JobInput) UnmarshalJSON(data []byte) error { method validate (line 113) | func (i *JobInput) validate() error { type JobInputValue (line 28) | type JobInputValue struct type JobInputContentTypeName (line 34) | type JobInputContentTypeName method MoaKind (line 60) | func (t JobInputContentTypeName) MoaKind() (value.Kind, error) { type InputExpander (line 36) | type InputExpander interface type InputInterpolationError (line 40) | type InputInterpolationError struct method Error (line 44) | func (e *InputInterpolationError) Error() string { constant JobInputContentTypeNameString (line 49) | JobInputContentTypeNameString JobInputContentTypeName = "string" constant JobInputContentTypeNameNumber (line 50) | JobInputContentTypeNameNumber JobInputContentTypeName = "number" constant JobInputContentTypeNameBoolean (line 51) | JobInputContentTypeNameBoolean JobInputContentTypeName = "boolean" constant JobInputContentTypeNameArray (line 52) | JobInputContentTypeNameArray JobInputContentTypeName = "array" constant JobInputContentTypeNameStruct (line 53) | JobInputContentTypeNameStruct JobInputContentTypeName = "struct" type interpolationDetector (line 87) | type interpolationDetector struct method Enter (line 89) | func (v *interpolationDetector) Enter(expr ast.Expr) (ast.Visitor, err... method Exit (line 96) | func (v *interpolationDetector) Exit(expr ast.Expr) (ast.Expr, error) { function NewJobInputs (line 153) | func NewJobInputs(inputs []JobInput) (Inputs, error) { function ExpandInputs (line 285) | func ExpandInputs(inputs *Inputs, v any) error { function processStruct (line 308) | func processStruct(inputs *Inputs, rv reflect.Value) error { function tryExpanderInterface (line 364) | func tryExpanderInterface(inputs *Inputs, field reflect.Value) error { function expandStringField (line 383) | func expandStringField(inputs *Inputs, field reflect.Value) error { function expandSlice (line 401) | func expandSlice(inputs *Inputs, field reflect.Value) error { function expandStringSlice (line 417) | func expandStringSlice(inputs *Inputs, field reflect.Value) error { function expandStructSlice (line 427) | func expandStructSlice(inputs *Inputs, field reflect.Value) error { FILE: common/spec/inputs_metrics.go constant interpolationErrorTypeParse (line 7) | interpolationErrorTypeParse = "parse" constant interpolationErrorTypeEvaluation (line 8) | interpolationErrorTypeEvaluation = "evaluation" constant interpolationErrorTypeSensitiveUnsupported (line 9) | interpolationErrorTypeSensitiveUnsupported = "sensitive_unsupported" type JobInputsMetricsCollector (line 12) | type JobInputsMetricsCollector struct method Describe (line 34) | func (c *JobInputsMetricsCollector) Describe(descs chan<- *prometheus.... method Collect (line 40) | func (c *JobInputsMetricsCollector) Collect(metrics chan<- prometheus.... method recordSuccess (line 46) | func (c *JobInputsMetricsCollector) recordSuccess() { method recordParseError (line 55) | func (c *JobInputsMetricsCollector) recordParseError() { method recordEvalError (line 64) | func (c *JobInputsMetricsCollector) recordEvalError() { method recordSensitiveUnsupportedError (line 73) | func (c *JobInputsMetricsCollector) recordSensitiveUnsupportedError() { function NewJobInputsMetricsCollector (line 17) | func NewJobInputsMetricsCollector() *JobInputsMetricsCollector { FILE: common/spec/inputs_metrics_test.go function TestJobInputsInterpolationMetrics (line 19) | func TestJobInputsInterpolationMetrics(t *testing.T) { function prepareTestInputs (line 141) | func prepareTestInputs(t *testing.T, jsonData string) *Inputs { function getCounterValue (line 150) | func getCounterValue(t *testing.T, counter prometheus.Counter) float64 { function getCounterValueWithLabel (line 159) | func getCounterValueWithLabel(t *testing.T, counterVec *prometheus.Count... FILE: common/spec/inputs_test.go constant complexExampleInputs (line 21) | complexExampleInputs = ` function TestJobInputs_Unmarshalling (line 88) | func TestJobInputs_Unmarshalling(t *testing.T) { function TestJobInputs_Unmarshalling_Sensitive (line 105) | func TestJobInputs_Unmarshalling_Sensitive(t *testing.T) { function TestJobInputs_Unmarshalling_Error (line 147) | func TestJobInputs_Unmarshalling_Error(t *testing.T) { function TestJobInputs_Expand_string (line 259) | func TestJobInputs_Expand_string(t *testing.T) { function TestJobInputs_Expand_sensitive_string_reject (line 273) | func TestJobInputs_Expand_sensitive_string_reject(t *testing.T) { function TestJobInputs_Expand_nonstring (line 286) | func TestJobInputs_Expand_nonstring(t *testing.T) { function TestJobInputs_Expand_ArrayElement (line 300) | func TestJobInputs_Expand_ArrayElement(t *testing.T) { function TestJobInputs_Expand_StructField (line 325) | func TestJobInputs_Expand_StructField(t *testing.T) { type customInputExpander (line 354) | type customInputExpander method Expand (line 356) | func (c *customInputExpander) Expand(inputs *Inputs) error { function TestInputsTag (line 361) | func TestInputsTag(t *testing.T) { function TestJobInputs_Expand_NoInputsDefined (line 437) | func TestJobInputs_Expand_NoInputsDefined(t *testing.T) { FILE: common/spec/mocks.go function NewMockInputExpander (line 13) | func NewMockInputExpander(t interface { type MockInputExpander (line 26) | type MockInputExpander struct method EXPECT (line 34) | func (_m *MockInputExpander) EXPECT() *MockInputExpander_Expecter { method Expand (line 39) | func (_mock *MockInputExpander) Expand(inputs *Inputs) error { type MockInputExpander_Expecter (line 30) | type MockInputExpander_Expecter struct method Expand (line 62) | func (_e *MockInputExpander_Expecter) Expand(inputs interface{}) *Mock... type MockInputExpander_Expand_Call (line 56) | type MockInputExpander_Expand_Call struct method Run (line 66) | func (_c *MockInputExpander_Expand_Call) Run(run func(inputs *Inputs))... method Return (line 79) | func (_c *MockInputExpander_Expand_Call) Return(err error) *MockInputE... method RunAndReturn (line 84) | func (_c *MockInputExpander_Expand_Call) RunAndReturn(run func(inputs ... FILE: common/spec/spec.go type JobFailureReason (line 17) | type JobFailureReason method String (line 19) | func (r JobFailureReason) String() string { type JobInfo (line 23) | type JobInfo struct type GitInfoRefType (line 49) | type GitInfoRefType constant RefTypeBranch (line 52) | RefTypeBranch GitInfoRefType = "branch" constant RefTypeTag (line 53) | RefTypeTag GitInfoRefType = "tag" type GitInfo (line 56) | type GitInfo struct type Variable (line 68) | type Variable struct type RunnerInfo (line 79) | type RunnerInfo struct type StepScript (line 83) | type StepScript type StepName (line 85) | type StepName constant StepNameRun (line 88) | StepNameRun StepName = "run" constant StepNameScript (line 89) | StepNameScript StepName = "script" constant StepNameAfterScript (line 90) | StepNameAfterScript StepName = "after_script" type StepWhen (line 93) | type StepWhen constant StepWhenOnFailure (line 96) | StepWhenOnFailure StepWhen = "on_failure" constant StepWhenOnSuccess (line 97) | StepWhenOnSuccess StepWhen = "on_success" constant StepWhenAlways (line 98) | StepWhenAlways StepWhen = "always" type CachePolicy (line 101) | type CachePolicy constant CachePolicyUndefined (line 104) | CachePolicyUndefined CachePolicy = "" constant CachePolicyPullPush (line 105) | CachePolicyPullPush CachePolicy = "pull-push" constant CachePolicyPull (line 106) | CachePolicyPull CachePolicy = "pull" constant CachePolicyPush (line 107) | CachePolicyPush CachePolicy = "push" type Step (line 110) | type Step struct method Expand (line 118) | func (s *Step) Expand(inputs *Inputs) error { type Steps (line 131) | type Steps type UnsuportedExecutorOptionsError (line 134) | type UnsuportedExecutorOptionsError struct method Error (line 143) | func (ueoe *UnsuportedExecutorOptionsError) Error() string { type executorOptions (line 138) | type executorOptions struct method validate (line 151) | func (eo *executorOptions) validate(data []byte, supportedOptions []st... method UnsupportedOptions (line 178) | func (eo *executorOptions) UnsupportedOptions() error { type ImageDockerOptions (line 188) | type ImageDockerOptions struct method UnmarshalJSON (line 215) | func (ido *ImageDockerOptions) UnmarshalJSON(data []byte) error { method Expand (line 228) | func (ido *ImageDockerOptions) Expand(vars Variables) ImageDockerOptio... type StringOrInt64 (line 194) | type StringOrInt64 method UnmarshalJSON (line 277) | func (si *StringOrInt64) UnmarshalJSON(data []byte) error { type ImageKubernetesOptions (line 196) | type ImageKubernetesOptions struct method UnmarshalJSON (line 235) | func (iko *ImageKubernetesOptions) UnmarshalJSON(data []byte) error { method Expand (line 248) | func (iko *ImageKubernetesOptions) Expand(vars Variables) ImageKuberne... method GetUIDGID (line 254) | func (iko *ImageKubernetesOptions) GetUIDGID() (int64, int64, error) { type ImageExecutorOptions (line 200) | type ImageExecutorOptions struct method UnmarshalJSON (line 293) | func (ieo *ImageExecutorOptions) UnmarshalJSON(data []byte) error { method UnsupportedOptions (line 306) | func (ieo *ImageExecutorOptions) UnsupportedOptions() error { function mapKeys (line 207) | func mapKeys[K comparable, V any](m map[K]V) []K { type PullPolicy (line 314) | type PullPolicy type Image (line 316) | type Image struct method Aliases (line 327) | func (i *Image) Aliases() []string { return strings.Fields(strings.Rep... method UnsupportedOptions (line 329) | func (i *Image) UnsupportedOptions() error { type Port (line 333) | type Port struct type Services (line 339) | type Services method UnsupportedOptions (line 341) | func (s Services) UnsupportedOptions() error { type ArtifactPaths (line 349) | type ArtifactPaths type ArtifactExclude (line 351) | type ArtifactExclude type ArtifactWhen (line 353) | type ArtifactWhen method OnSuccess (line 361) | func (when ArtifactWhen) OnSuccess() bool { method OnFailure (line 365) | func (when ArtifactWhen) OnFailure() bool { constant ArtifactWhenOnFailure (line 356) | ArtifactWhenOnFailure ArtifactWhen = "on_failure" constant ArtifactWhenOnSuccess (line 357) | ArtifactWhenOnSuccess ArtifactWhen = "on_success" constant ArtifactWhenAlways (line 358) | ArtifactWhenAlways ArtifactWhen = "always" type ArtifactFormat (line 369) | type ArtifactFormat constant ArtifactFormatDefault (line 372) | ArtifactFormatDefault ArtifactFormat = "" constant ArtifactFormatZip (line 373) | ArtifactFormatZip ArtifactFormat = "zip" constant ArtifactFormatGzip (line 374) | ArtifactFormatGzip ArtifactFormat = "gzip" constant ArtifactFormatRaw (line 375) | ArtifactFormatRaw ArtifactFormat = "raw" constant ArtifactFormatZipZstd (line 376) | ArtifactFormatZipZstd ArtifactFormat = "zipzstd" constant ArtifactFormatTarZstd (line 377) | ArtifactFormatTarZstd ArtifactFormat = "tarzstd" type Artifact (line 380) | type Artifact struct type Artifacts (line 391) | type Artifacts type PolicyOptions (line 393) | type PolicyOptions struct type Cache (line 400) | type Cache struct method CheckPolicy (line 436) | func (c Cache) CheckPolicy(wanted CachePolicy) (bool, error) { type CacheWhen (line 410) | type CacheWhen method ShouldCache (line 420) | func (when CacheWhen) ShouldCache(jobSuccess bool) bool { method OnSuccess (line 428) | func (when CacheWhen) OnSuccess() bool { method OnFailure (line 432) | func (when CacheWhen) OnFailure() bool { type CacheFallbackKeys (line 411) | type CacheFallbackKeys constant CacheWhenOnFailure (line 415) | CacheWhenOnFailure CacheWhen = "on_failure" constant CacheWhenOnSuccess (line 416) | CacheWhenOnSuccess CacheWhen = "on_success" constant CacheWhenAlways (line 417) | CacheWhenAlways CacheWhen = "always" type Caches (line 447) | type Caches type Credentials (line 449) | type Credentials struct type DependencyArtifactsFile (line 456) | type DependencyArtifactsFile struct type Dependency (line 461) | type Dependency struct type Dependencies (line 468) | type Dependencies type Tracing (line 470) | type Tracing struct type OTELEndpoint (line 476) | type OTELEndpoint struct type OTELEndpointAuth (line 481) | type OTELEndpointAuth struct type HTTPBearerGCPOIDCAuth (line 486) | type HTTPBearerGCPOIDCAuth struct type GitlabFeatures (line 490) | type GitlabFeatures struct type Hooks (line 497) | type Hooks method Get (line 511) | func (hooks Hooks) Get(name HookName) Hook { type Hook (line 499) | type Hook struct type HookName (line 504) | type HookName constant HookPreGetSourcesScript (line 507) | HookPreGetSourcesScript HookName = "pre_get_sources_script" constant HookPostGetSourcesScript (line 508) | HookPostGetSourcesScript HookName = "post_get_sources_script" type TLSData (line 521) | type TLSData struct type Job (line 527) | type Job struct method ValidateStepsJobRequest (line 578) | func (j *Job) ValidateStepsJobRequest(executorSupportsNativeSteps bool... method RepoCleanURL (line 890) | func (j *Job) RepoCleanURL() string { method JobURL (line 894) | func (j *Job) JobURL() string { method UnsupportedOptions (line 900) | func (j *Job) UnsupportedOptions() error { type Run (line 554) | type Run method UnmarshalJSON (line 556) | func (r *Run) UnmarshalJSON(data []byte) error { type Secrets (line 623) | type Secrets method ExpandVariables (line 634) | func (s Secrets) ExpandVariables(vars Variables) { type Secret (line 625) | type Secret struct method ExpandVariables (line 640) | func (s Secret) ExpandVariables(vars Variables) { method IsFile (line 662) | func (s Secret) IsFile() bool { type GCPSecretManagerSecret (line 670) | type GCPSecretManagerSecret struct method expandVariables (line 725) | func (s *GCPSecretManagerSecret) expandVariables(vars Variables) { type GCPSecretManagerServer (line 676) | type GCPSecretManagerServer struct method expandVariables (line 732) | func (s *GCPSecretManagerServer) expandVariables(vars Variables) { type AWSSecret (line 683) | type AWSSecret struct method expandVariables (line 701) | func (s *AWSSecret) expandVariables(vars Variables) { type AWSServer (line 694) | type AWSServer struct method expandVariables (line 712) | func (s *AWSServer) expandVariables(vars Variables) { type AzureKeyVaultSecret (line 739) | type AzureKeyVaultSecret struct method expandVariables (line 752) | func (s *AzureKeyVaultSecret) expandVariables(vars Variables) { type AzureKeyVaultServer (line 745) | type AzureKeyVaultServer struct method expandVariables (line 759) | func (s *AzureKeyVaultServer) expandVariables(vars Variables) { type VaultSecret (line 763) | type VaultSecret struct method expandVariables (line 789) | func (s *VaultSecret) expandVariables(vars Variables) { method AuthName (line 797) | func (s *VaultSecret) AuthName() string { method AuthPath (line 801) | func (s *VaultSecret) AuthPath() string { method AuthData (line 805) | func (s *VaultSecret) AuthData() auth_methods.Data { method EngineName (line 809) | func (s *VaultSecret) EngineName() string { method EnginePath (line 813) | func (s *VaultSecret) EnginePath() string { method SecretPath (line 817) | func (s *VaultSecret) SecretPath() string { method SecretField (line 821) | func (s *VaultSecret) SecretField() string { type VaultServer (line 770) | type VaultServer struct method expandVariables (line 825) | func (s *VaultServer) expandVariables(vars Variables) { type VaultAuth (line 776) | type VaultAuth struct method expandVariables (line 832) | func (a *VaultAuth) expandVariables(vars Variables) { type VaultAuthData (line 782) | type VaultAuthData type VaultEngine (line 784) | type VaultEngine struct method expandVariables (line 841) | func (e *VaultEngine) expandVariables(vars Variables) { type GitLabSecretsManagerSecret (line 848) | type GitLabSecretsManagerSecret struct type GitLabSecretsManagerServer (line 857) | type GitLabSecretsManagerServer struct type GitLabSecretsManagerServerInlineAuth (line 865) | type GitLabSecretsManagerServerInlineAuth struct type GitLabSecretsManagerEngine (line 885) | type GitLabSecretsManagerEngine struct FILE: common/spec/spec_test.go function Test_Image_ExecutorOptions_GetUIDGID (line 11) | func Test_Image_ExecutorOptions_GetUIDGID(t *testing.T) { FILE: common/spec/variables.go type Variables (line 13) | type Variables method tmpFile (line 25) | func (b Variables) tmpFile(s string) string { method PublicOrInternal (line 29) | func (b Variables) PublicOrInternal() (variables Variables) { method StringList (line 38) | func (b Variables) StringList() (variables []string) { method GetAllVariableNames (line 57) | func (b Variables) GetAllVariableNames() string { method Get (line 68) | func (b Variables) Get(key string) string { method Set (line 74) | func (b *Variables) Set(newJobVars ...Variable) { method Value (line 99) | func (b Variables) Value(key string) string { method value (line 107) | func (b Variables) value(key string, pathnames bool) string { method Bool (line 128) | func (b Variables) Bool(key string) bool { method OverwriteKey (line 144) | func (b Variables) OverwriteKey(key string, variable Variable) { method ExpandValue (line 153) | func (b Variables) ExpandValue(value string) string { method Expand (line 157) | func (b Variables) Expand() Variables { method Masked (line 169) | func (b Variables) Masked() (masked []string) { method Dedup (line 182) | func (b Variables) Dedup(keepOriginal bool) Variables { method String (line 15) | func (b Variable) String() string { constant TempProjectDirVariableKey (line 19) | TempProjectDirVariableKey = "RUNNER_TEMP_PROJECT_DIR" FILE: common/spec/variables_test.go function TestVariablesJSON (line 14) | func TestVariablesJSON(t *testing.T) { function TestVariableString (line 31) | func TestVariableString(t *testing.T) { function TestPublicAndInternalVariables (line 36) | func TestPublicAndInternalVariables(t *testing.T) { function TestMaskedVariables (line 47) | func TestMaskedVariables(t *testing.T) { function TestListVariables (line 56) | func TestListVariables(t *testing.T) { function TestGetVariable (line 71) | func TestGetVariable(t *testing.T) { function TestVariablesExpansion (line 81) | func TestVariablesExpansion(t *testing.T) { function TestFileVariablesExpansion (line 97) | func TestFileVariablesExpansion(t *testing.T) { function TestSpecialVariablesExpansion (line 133) | func TestSpecialVariablesExpansion(t *testing.T) { function TestOverwriteKey (line 149) | func TestOverwriteKey(t *testing.T) { type multipleKeyUsagesTestCase (line 189) | type multipleKeyUsagesTestCase struct function TestMultipleUsageOfAKey (line 194) | func TestMultipleUsageOfAKey(t *testing.T) { function TestRawVariableExpansion (line 245) | func TestRawVariableExpansion(t *testing.T) { function TestBoolVariables (line 264) | func TestBoolVariables(t *testing.T) { function Test_JobVariables_Set (line 292) | func Test_JobVariables_Set(t *testing.T) { function Test_JobVariables_Dedup (line 354) | func Test_JobVariables_Dedup(t *testing.T) { FILE: common/steps.go method UseNativeSteps (line 13) | func (b *Build) UseNativeSteps() bool { FILE: common/support.go constant repoRemoteURL (line 28) | repoRemoteURL = "https://gitlab.com/gitlab-org/ci-cd/gitlab-runner-pipel... constant repoRefType (line 30) | repoRefType = spec.RefTypeBranch constant repoSHA (line 32) | repoSHA = "69b18e5ed3610cf646119c3e38f462c64ec462b7" constant repoBeforeSHA (line 33) | repoBeforeSHA = "1ea27a9695f80d7816d9e8ce025d9b2df83d0dd7" constant repoRefName (line 34) | repoRefName = "main" constant repoLFSSHA (line 36) | repoLFSSHA = "c8f2a61def956871b91f73fcd0c320afb257fd6e" constant repoLFSBeforeSHA (line 37) | repoLFSBeforeSHA = "86002a2304d89a193f91b8b0907c4cf2f95a6d28" constant repoLFSRefName (line 38) | repoLFSRefName = "add-lfs-object" constant repoSubmoduleLFSSHA (line 40) | repoSubmoduleLFSSHA = "86002a2304d89a193f91b8b0907c4cf2f95a6d28" constant repoSubmoduleLFSBeforeSHA (line 41) | repoSubmoduleLFSBeforeSHA = "1ea27a9695f80d7816d9e8ce025d9b2df83d0dd7" constant repoSubmoduleLFSRefName (line 42) | repoSubmoduleLFSRefName = "add-lfs-submodule" constant repoStepsSHA (line 44) | repoStepsSHA = "1142c6530a1eb81f0a5476db25fbfbf9a4e08f30" constant repoStepsBeforeSHA (line 45) | repoStepsBeforeSHA = "1ea27a9695f80d7816d9e8ce025d9b2df83d0dd7" constant repoStepsRefName (line 46) | repoStepsRefName = "add-steps" constant FilesLFSFile1LFSsize (line 48) | FilesLFSFile1LFSsize = int64(2097152) function GetGitInfo (line 56) | func GetGitInfo(url string) spec.GitInfo { function GetLFSGitInfo (line 67) | func GetLFSGitInfo(url string) spec.GitInfo { function GetSubmoduleLFSGitInfo (line 78) | func GetSubmoduleLFSGitInfo(url string) spec.GitInfo { function GetStepsGitInfo (line 89) | func GetStepsGitInfo(url string) spec.GitInfo { function GetSuccessfulBuild (line 100) | func GetSuccessfulBuild() (spec.Job, error) { function GetSuccessfulMultilineCommandBuild (line 104) | func GetSuccessfulMultilineCommandBuild() (spec.Job, error) { function GetRemoteSuccessfulBuild (line 109) | func GetRemoteSuccessfulBuild() (spec.Job, error) { function GetRemoteSuccessfulLFSBuild (line 113) | func GetRemoteSuccessfulLFSBuild() (spec.Job, error) { function GetRemoteSuccessfulBuildWithAfterScript (line 120) | func GetRemoteSuccessfulBuildWithAfterScript() (spec.Job, error) { function GetRemoteSuccessfulBuildPrintVars (line 133) | func GetRemoteSuccessfulBuildPrintVars(shell string, vars ...string) (sp... function GetRemoteSuccessfulBuildPrintVarsAfterScript (line 139) | func GetRemoteSuccessfulBuildPrintVarsAfterScript(shell string, vars ...... function GetRemoteSuccessfulMultistepBuild (line 145) | func GetRemoteSuccessfulMultistepBuild() (spec.Job, error) { function GetRemoteFailingMultistepBuild (line 168) | func GetRemoteFailingMultistepBuild(failingStepName spec.StepName) (spec... function GetRemoteFailingMultistepBuildPrintVars (line 183) | func GetRemoteFailingMultistepBuildPrintVars(shell string, fail bool, va... function getShellPrintVars (line 213) | func getShellPrintVars(shell string, vars ...string) []string { function GetRemoteSuccessfulBuildWithDumpedVariables (line 231) | func GetRemoteSuccessfulBuildWithDumpedVariables() (spec.Job, error) { function GetFailedBuild (line 252) | func GetFailedBuild() (spec.Job, error) { function GetRemoteFailedBuild (line 256) | func GetRemoteFailedBuild() (spec.Job, error) { function GetLongRunningBuild (line 260) | func GetLongRunningBuild() (spec.Job, error) { function GetRemoteLongRunningBuild (line 264) | func GetRemoteLongRunningBuild() (spec.Job, error) { function GetRemoteLongRunningBuildWithAfterScript (line 268) | func GetRemoteLongRunningBuildWithAfterScript(shell string) (spec.Job, e... function GetMultilineBashBuild (line 309) | func GetMultilineBashBuild() (spec.Job, error) { function GetMultilineBashBuildPowerShell (line 316) | func GetMultilineBashBuildPowerShell() (spec.Job, error) { function GetRemoteBrokenTLSBuild (line 320) | func GetRemoteBrokenTLSBuild() (spec.Job, error) { function GetRemoteGitLabComTLSBuild (line 329) | func GetRemoteGitLabComTLSBuild() (spec.Job, error) { function getRemoteCustomTLSBuild (line 338) | func getRemoteCustomTLSBuild(chain string) (spec.Job, error) { function getBuildResponse (line 354) | func getBuildResponse(repoURL string, commands []string) spec.Job { function getStepsBuildResponse (line 374) | func getStepsBuildResponse(repoURL, stepsYAML string) (spec.Job, error) { function GetRemoteStepsBuildResponse (line 390) | func GetRemoteStepsBuildResponse(stepsYAML string) (spec.Job, error) { function GetRemoteBuildResponse (line 394) | func GetRemoteBuildResponse(commands ...string) (spec.Job, error) { function GetLocalBuildResponse (line 398) | func GetLocalBuildResponse(commands ...string) (spec.Job, error) { function getLocalRepoURL (line 410) | func getLocalRepoURL() (string, error) { function RunLocalRepoGitCommand (line 432) | func RunLocalRepoGitCommand(arguments ...string) error { function buildSnakeOilCert (line 444) | func buildSnakeOilCert() (string, error) { function getGitLabComTLSChain (line 477) | func getGitLabComTLSChain() (string, error) { FILE: common/test.go function Int64Ptr (line 5) | func Int64Ptr(v int64) *int64 { type TestRunnerConfig (line 9) | type TestRunnerConfig struct method WithAutoscalerConfig (line 19) | func (c *TestRunnerConfig) WithAutoscalerConfig(ac *AutoscalerConfig) ... method WithToken (line 24) | func (c *TestRunnerConfig) WithToken(token string) *TestRunnerConfig { function NewTestRunnerConfig (line 13) | func NewTestRunnerConfig() *TestRunnerConfig { type TestAutoscalerConfig (line 29) | type TestAutoscalerConfig struct method WithPolicies (line 39) | func (c *TestAutoscalerConfig) WithPolicies(policies ...AutoscalerPoli... function NewTestAutoscalerConfig (line 33) | func NewTestAutoscalerConfig() *TestAutoscalerConfig { type mockLightJobTrace (line 58) | type mockLightJobTrace struct method Write (line 68) | func (l *mockLightJobTrace) Write(p []byte) (int, error) { function NewMockLightJobTrace (line 62) | func NewMockLightJobTrace(t *testing.T) *mockLightJobTrace { FILE: common/trace.go type Trace (line 12) | type Trace struct method Write (line 27) | func (s *Trace) Write(p []byte) (n int, err error) { method SetDebugModeEnabled (line 37) | func (s *Trace) SetDebugModeEnabled(_ bool) { method Success (line 40) | func (s *Trace) Success() error { method Fail (line 44) | func (s *Trace) Fail(err error, failureData JobFailureData) error { method Finish (line 48) | func (s *Trace) Finish() { method SetCancelFunc (line 51) | func (s *Trace) SetCancelFunc(cancelFunc context.CancelFunc) { method Cancel (line 58) | func (s *Trace) Cancel() bool { method SetAbortFunc (line 70) | func (s *Trace) SetAbortFunc(abortFunc context.CancelFunc) { method Abort (line 77) | func (s *Trace) Abort() bool { method SetFailuresCollector (line 92) | func (s *Trace) SetFailuresCollector(fc FailuresCollector) {} method SetSupportedFailureReasonMapper (line 94) | func (s *Trace) SetSupportedFailureReasonMapper(f SupportedFailureReas... method IsStdout (line 96) | func (s *Trace) IsStdout() bool { constant ExitCodeUnsupportedOptions (line 19) | ExitCodeUnsupportedOptions = 3 type JobFailureData (line 21) | type JobFailureData struct FILE: common/usage_log.go function UsageLogRecordFrom (line 7) | func UsageLogRecordFrom(runner *RunnerConfig, build *Build) usage_log.Re... FILE: common/version.go type AppVersionInfo (line 33) | type AppVersionInfo struct method Printer (line 44) | func (v *AppVersionInfo) Printer(c *cli.Context) { method Line (line 48) | func (v *AppVersionInfo) Line() string { method ShortLine (line 52) | func (v *AppVersionInfo) ShortLine() string { method UserAgent (line 56) | func (v *AppVersionInfo) UserAgent() string { method Variables (line 60) | func (v *AppVersionInfo) Variables() spec.Variables { method Extended (line 74) | func (v *AppVersionInfo) Extended() string { method NewMetricsCollector (line 86) | func (v *AppVersionInfo) NewMetricsCollector() *prometheus.GaugeVec { function init (line 113) | func init() { FILE: executors/abstract.go type ExecutorOptions (line 13) | type ExecutorOptions struct type AbstractExecutor (line 23) | type AbstractExecutor struct method updateShell (line 36) | func (e *AbstractExecutor) updateShell() error { method ExpandValue (line 45) | func (e *AbstractExecutor) ExpandValue(value string) string { method generateShellConfiguration (line 49) | func (e *AbstractExecutor) generateShellConfiguration() error { method startBuild (line 64) | func (e *AbstractExecutor) startBuild() error { method RootDir (line 79) | func (e *AbstractExecutor) RootDir() string { method CacheDir (line 87) | func (e *AbstractExecutor) CacheDir() string { method CustomBuildEnabled (line 95) | func (e *AbstractExecutor) CustomBuildEnabled() bool { method SafeDirectoryCheckout (line 103) | func (e *AbstractExecutor) SafeDirectoryCheckout() bool { method Shell (line 111) | func (e *AbstractExecutor) Shell() *common.ShellScriptInfo { method Prepare (line 115) | func (e *AbstractExecutor) Prepare(options common.ExecutorPrepareOptio... method PrepareConfiguration (line 121) | func (e *AbstractExecutor) PrepareConfiguration(options common.Executo... method PrepareBuildAndShell (line 130) | func (e *AbstractExecutor) PrepareBuildAndShell() error { method Finish (line 148) | func (e *AbstractExecutor) Finish(err error) { method Cleanup (line 152) | func (e *AbstractExecutor) Cleanup() { method GetCurrentStage (line 156) | func (e *AbstractExecutor) GetCurrentStage() common.ExecutorStage { method SetCurrentStage (line 163) | func (e *AbstractExecutor) SetCurrentStage(stage common.ExecutorStage) { FILE: executors/custom/api/config.go type ConfigExecOutput (line 7) | type ConfigExecOutput struct type DriverInfo (line 23) | type DriverInfo struct FILE: executors/custom/api/const.go constant BuildFailureExitCodeVariable (line 6) | BuildFailureExitCodeVariable = "BUILD_FAILURE_EXIT_CODE" constant SystemFailureExitCodeVariable (line 10) | SystemFailureExitCodeVariable = "SYSTEM_FAILURE_EXIT_CODE" constant BuildCodeFileVariable (line 14) | BuildCodeFileVariable = "BUILD_EXIT_CODE_FILE" constant JobResponseFileVariable (line 18) | JobResponseFileVariable = "JOB_RESPONSE_FILE" FILE: executors/custom/command/command.go constant BuildFailureExitCode (line 19) | BuildFailureExitCode = 1 constant SystemFailureExitCode (line 20) | SystemFailureExitCode = 2 type Command (line 23) | type Command interface type Options (line 30) | type Options struct type command (line 35) | type command struct method Run (line 81) | func (c *command) Run() error { method waitForCommand (line 103) | func (c *command) waitForCommand() { method parseBuildFailure (line 120) | func (c *command) parseBuildFailure(eerr *exec.ExitError) error { function New (line 49) | func New( FILE: executors/custom/command/command_test.go function newCommand (line 21) | func newCommand( function TestCommand_Run (line 52) | func TestCommand_Run(t *testing.T) { FILE: executors/custom/command/errors.go type ErrUnknownFailure (line 7) | type ErrUnknownFailure struct method Error (line 12) | func (e *ErrUnknownFailure) Error() string { FILE: executors/custom/command/mocks.go function NewMockCommand (line 13) | func NewMockCommand(t interface { type MockCommand (line 26) | type MockCommand struct method EXPECT (line 34) | func (_m *MockCommand) EXPECT() *MockCommand_Expecter { method Run (line 39) | func (_mock *MockCommand) Run() error { type MockCommand_Expecter (line 30) | type MockCommand_Expecter struct method Run (line 61) | func (_e *MockCommand_Expecter) Run() *MockCommand_Run_Call { type MockCommand_Run_Call (line 56) | type MockCommand_Run_Call struct method Run (line 65) | func (_c *MockCommand_Run_Call) Run(run func()) *MockCommand_Run_Call { method Return (line 72) | func (_c *MockCommand_Run_Call) Return(err error) *MockCommand_Run_Call { method RunAndReturn (line 77) | func (_c *MockCommand_Run_Call) RunAndReturn(run func() error) *MockCo... FILE: executors/custom/config.go type config (line 10) | type config struct method GetConfigExecTimeout (line 14) | func (c *config) GetConfigExecTimeout() time.Duration { method GetPrepareExecTimeout (line 18) | func (c *config) GetPrepareExecTimeout() time.Duration { method GetCleanupScriptTimeout (line 22) | func (c *config) GetCleanupScriptTimeout() time.Duration { method GetGracefulKillTimeout (line 26) | func (c *config) GetGracefulKillTimeout() time.Duration { method GetForceKillTimeout (line 30) | func (c *config) GetForceKillTimeout() time.Duration { function getDuration (line 34) | func getDuration(source *int, defaultValue time.Duration) time.Duration { FILE: executors/custom/config_test.go type getDurationTestCase (line 15) | type getDurationTestCase struct function testGetDuration (line 20) | func testGetDuration(t *testing.T, defaultValue time.Duration, assert fu... function TestConfig_GetConfigExecTimeout (line 42) | func TestConfig_GetConfigExecTimeout(t *testing.T) { function TestConfig_GetPrepareExecTimeout (line 54) | func TestConfig_GetPrepareExecTimeout(t *testing.T) { function TestConfig_GetCleanupExecTimeout (line 66) | func TestConfig_GetCleanupExecTimeout(t *testing.T) { function TestConfig_GetTerminateTimeout (line 78) | func TestConfig_GetTerminateTimeout(t *testing.T) { function TestConfig_GetForceKillTimeout (line 90) | func TestConfig_GetForceKillTimeout(t *testing.T) { FILE: executors/custom/consts.go constant defaultConfigExecTimeout (line 5) | defaultConfigExecTimeout = time.Hour constant defaultPrepareExecTimeout (line 6) | defaultPrepareExecTimeout = time.Hour constant defaultCleanupExecTimeout (line 7) | defaultCleanupExecTimeout = time.Hour FILE: executors/custom/custom.go type commandOutputs (line 25) | type commandOutputs struct method Close (line 30) | func (c *commandOutputs) Close() error { type prepareCommandOpts (line 34) | type prepareCommandOpts struct type ConfigExecOutput (line 40) | type ConfigExecOutput struct method InjectInto (line 51) | func (c *ConfigExecOutput) InjectInto(executor *executor) { type jsonService (line 44) | type jsonService struct type executor (line 79) | type executor struct method Prepare (line 92) | func (e *executor) Prepare(options common.ExecutorPrepareOptions) error { method prepareConfig (line 145) | func (e *executor) prepareConfig() error { method createJobResponseFile (line 161) | func (e *executor) createJobResponseFile() (string, error) { method dynamicConfig (line 178) | func (e *executor) dynamicConfig() error { method logStartupMessage (line 224) | func (e *executor) logStartupMessage() { method prepareCommand (line 243) | func (e *executor) prepareCommand(ctx context.Context, opts prepareCom... method getCIJobServicesEnv (line 276) | func (e *executor) getCIJobServicesEnv() spec.Variable { method Run (line 302) | func (e *executor) Run(cmd common.ExecutorCommand) error { method Cleanup (line 342) | func (e *executor) Cleanup() { function NewProvider (line 382) | func NewProvider(runnerCommandPath string) common.ExecutorProvider { FILE: executors/custom/custom_test.go type executorTestCase (line 30) | type executorTestCase struct function getRunnerConfig (line 57) | func getRunnerConfig(custom *common.CustomConfig) common.RunnerConfig { function prepareExecutorForCleanup (line 76) | func prepareExecutorForCleanup(t *testing.T, tt executorTestCase) (*exec... function prepareExecutor (line 86) | func prepareExecutor(t *testing.T, tt executorTestCase) (*executor, comm... function jobID (line 123) | func jobID() int64 { function assertOutput (line 130) | func assertOutput(t *testing.T, tt executorTestCase, out *bytes.Buffer) { function mockCommandFactory (line 138) | func mockCommandFactory(t *testing.T, tt executorTestCase) { function TestExecutor_Prepare (line 193) | func TestExecutor_Prepare(t *testing.T) { function TestExecutor_Cleanup (line 610) | func TestExecutor_Cleanup(t *testing.T) { function TestExecutor_Run (line 723) | func TestExecutor_Run(t *testing.T) { function TestExecutor_Env (line 839) | func TestExecutor_Env(t *testing.T) { function TestExecutor_ServicesEnv (line 937) | func TestExecutor_ServicesEnv(t *testing.T) { FILE: executors/custom/integration_test.go constant integrationTestCustomExecutor (line 38) | integrationTestCustomExecutor = "custom-integration-test" function TestMain (line 42) | func TestMain(m *testing.M) { function newBuild (line 64) | func newBuild(t *testing.T, jobResponse spec.Job, shell string) *common.... function timeoutInSeconds (line 104) | func timeoutInSeconds(duration time.Duration) *int { function TestBuildSuccess (line 111) | func TestBuildSuccess(t *testing.T) { function TestBuildScriptSections (line 123) | func TestBuildScriptSections(t *testing.T) { function TestBuildSuccessRawVariable (line 139) | func TestBuildSuccessRawVariable(t *testing.T) { function TestBuildBuildFailure (line 178) | func TestBuildBuildFailure(t *testing.T) { function TestBuildSystemFailure (line 199) | func TestBuildSystemFailure(t *testing.T) { function TestBuildUnknownFailure (line 220) | func TestBuildUnknownFailure(t *testing.T) { function TestBuildCancel (line 241) | func TestBuildCancel(t *testing.T) { function TestBuildMasking (line 249) | func TestBuildMasking(t *testing.T) { function TestBuildWithGitStrategyCloneWithoutLFS (line 257) | func TestBuildWithGitStrategyCloneWithoutLFS(t *testing.T) { function TestBuildWithGitStrategyCloneNoCheckoutWithoutLFS (line 281) | func TestBuildWithGitStrategyCloneNoCheckoutWithoutLFS(t *testing.T) { function TestBuildWithGitSubmoduleStrategyRecursiveAndGitStrategyNone (line 309) | func TestBuildWithGitSubmoduleStrategyRecursiveAndGitStrategyNone(t *tes... function TestBuildWithGitSubmoduleStrategyRecursiveAndGitStrategyEmpty (line 333) | func TestBuildWithGitSubmoduleStrategyRecursiveAndGitStrategyEmpty(t *te... function TestBuildWithoutDebugTrace (line 357) | func TestBuildWithoutDebugTrace(t *testing.T) { function TestBuildWithDebugTrace (line 371) | func TestBuildWithDebugTrace(t *testing.T) { function TestBuildMultilineCommand (line 386) | func TestBuildMultilineCommand(t *testing.T) { function TestBuildWithGoodGitSSLCAInfo (line 411) | func TestBuildWithGoodGitSSLCAInfo(t *testing.T) { function TestBuildWithGitSSLAndStrategyFetch (line 428) | func TestBuildWithGitSSLAndStrategyFetch(t *testing.T) { function TestBuildChangesBranchesWhenFetchingRepo (line 453) | func TestBuildChangesBranchesWhenFetchingRepo(t *testing.T) { function TestBuildPowerShellCatchesExceptions (line 473) | func TestBuildPowerShellCatchesExceptions(t *testing.T) { function TestBuildOnCustomDirectory (line 545) | func TestBuildOnCustomDirectory(t *testing.T) { function TestBuildLogLimitExceeded (line 601) | func TestBuildLogLimitExceeded(t *testing.T) { function TestBuildWithAccessToJobResponseFile (line 609) | func TestBuildWithAccessToJobResponseFile(t *testing.T) { function TestCleanupProjectGitClone (line 627) | func TestCleanupProjectGitClone(t *testing.T) { function TestCleanupProjectGitFetch (line 638) | func TestCleanupProjectGitFetch(t *testing.T) { function TestCleanupProjectGitSubmoduleNormal (line 652) | func TestCleanupProjectGitSubmoduleNormal(t *testing.T) { function TestCleanupProjectGitSubmoduleRecursive (line 668) | func TestCleanupProjectGitSubmoduleRecursive(t *testing.T) { function setupExecutor (line 689) | func setupExecutor(t *testing.T, build *common.Build) { FILE: executors/custom/terminal.go method TerminalConnect (line 11) | func (e *executor) TerminalConnect() (terminalsession.Conn, error) { FILE: executors/custom/terminal_test.go function TestExecutor_Connect (line 11) | func TestExecutor_Connect(t *testing.T) { FILE: executors/custom/testdata/test_executor/main.go constant isBuildError (line 16) | isBuildError = "CUSTOM_ENV_IS_BUILD_ERROR" constant isSystemError (line 17) | isSystemError = "CUSTOM_ENV_IS_SYSTEM_ERROR" constant isUnknownError (line 18) | isUnknownError = "CUSTOM_ENV_IS_UNKNOWN_ERROR" constant isRunOnCustomDir (line 19) | isRunOnCustomDir = "CUSTOM_ENV_IS_RUN_ON_CUSTOM_DIR" constant stageConfig (line 23) | stageConfig = "config" constant stagePrepare (line 24) | stagePrepare = "prepare" constant stageRun (line 25) | stageRun = "run" constant stageCleanup (line 26) | stageCleanup = "cleanup" function setBuildFailure (line 43) | func setBuildFailure(msg string, args ...interface{}) { function setSystemFailure (line 48) | func setSystemFailure(msg string, args ...interface{}) { function setFailure (line 53) | func setFailure(failureType string, msg string, args ...interface{}) { function printJobResponseDetails (line 70) | func printJobResponseDetails() { type stageFunc (line 109) | type stageFunc function main (line 111) | func main() { function config (line 148) | func config(shell string, args []string) { function prepare (line 171) | func prepare(shell string, args []string) { function run (line 177) | func run(shell string, args []string) { function mockError (line 203) | func mockError() { function createCommand (line 232) | func createCommand(shell string, script string, stage string) *exec.Cmd { function cleanup (line 265) | func cleanup(shell string, args []string) { FILE: executors/default_executor_provider.go type DefaultExecutorProvider (line 9) | type DefaultExecutorProvider struct method CanCreate (line 16) | func (e DefaultExecutorProvider) CanCreate() bool { method Create (line 20) | func (e DefaultExecutorProvider) Create() common.Executor { method Acquire (line 27) | func (e DefaultExecutorProvider) Acquire(config *common.RunnerConfig) ... method Release (line 31) | func (e DefaultExecutorProvider) Release(config *common.RunnerConfig, ... method GetFeatures (line 33) | func (e DefaultExecutorProvider) GetFeatures(features *common.Features... method GetConfigInfo (line 42) | func (e DefaultExecutorProvider) GetConfigInfo(input *common.RunnerCon... method GetDefaultShell (line 50) | func (e DefaultExecutorProvider) GetDefaultShell() string { FILE: executors/docker/autoscaler/autoscaler.go function NewProvider (line 8) | func NewProvider(dockerProvider common.ExecutorProvider) common.Executor... FILE: executors/docker/autoscaler/autoscaler_integration_test.go function newRunnerConfig (line 32) | func newRunnerConfig(t *testing.T, shell string) *common.RunnerConfig { function setupAcquireBuild (line 89) | func setupAcquireBuild(t *testing.T, build *common.Build) { function TestBuildSuccess (line 106) | func TestBuildSuccess(t *testing.T) { function TestBuildTimeout (line 121) | func TestBuildTimeout(t *testing.T) { function TestBuildSuccessUsingDockerHost (line 171) | func TestBuildSuccessUsingDockerHost(t *testing.T) { function TestBuildSuccessUsingDockerHostLegacyTunnel (line 195) | func TestBuildSuccessUsingDockerHostLegacyTunnel(t *testing.T) { function TestBuildCancel (line 216) | func TestBuildCancel(t *testing.T) { function TestBuildMasking (line 222) | func TestBuildMasking(t *testing.T) { function TestBuildExpandedFileVariable (line 228) | func TestBuildExpandedFileVariable(t *testing.T) { FILE: executors/docker/autoscaler/autoscaler_integration_unix_test.go function getImage (line 7) | func getImage() string { FILE: executors/docker/autoscaler/autoscaler_integration_windows_test.go function getImage (line 14) | func getImage() string { FILE: executors/docker/config_updater.go function configUpdater (line 9) | func configUpdater(input *common.RunnerConfig, output *common.ConfigInfo) { FILE: executors/docker/config_updater_test.go function TestDockerConfigUpdate (line 13) | func TestDockerConfigUpdate(t *testing.T) { FILE: executors/docker/consts.go constant dockerCleanupTimeout (line 5) | dockerCleanupTimeout = 5 * time.Minute constant waitForContainerTimeout (line 7) | waitForContainerTimeout = 15 * time.Second constant osTypeLinux (line 9) | osTypeLinux = "linux" constant osTypeWindows (line 10) | osTypeWindows = "windows" constant osTypeFreeBSD (line 11) | osTypeFreeBSD = "freebsd" FILE: executors/docker/docker.go constant ExecutorStagePrepare (line 55) | ExecutorStagePrepare common.ExecutorStage = "docker_prepare" constant ExecutorStageRun (line 56) | ExecutorStageRun common.ExecutorStage = "docker_run" constant ExecutorStageCleanup (line 57) | ExecutorStageCleanup common.ExecutorStage = "docker_cleanup" constant ExecutorStageBootstrap (line 59) | ExecutorStageBootstrap common.ExecutorStage = "docker_bootstrap" constant ExecutorStageCreatingBuildVolumes (line 60) | ExecutorStageCreatingBuildVolumes common.ExecutorStage = "docker_creatin... constant ExecutorStageCreatingServices (line 61) | ExecutorStageCreatingServices common.ExecutorStage = "docker_creatin... constant ExecutorStageCreatingUserVolumes (line 62) | ExecutorStageCreatingUserVolumes common.ExecutorStage = "docker_creatin... constant ExecutorStagePullingImage (line 63) | ExecutorStagePullingImage common.ExecutorStage = "docker_pulling... constant ServiceLogOutputLimit (line 65) | ServiceLogOutputLimit = 64 * 1024 constant labelServiceType (line 67) | labelServiceType = "service" constant labelWaitType (line 68) | labelWaitType = "wait" constant internalFakeTunnelHostname (line 74) | internalFakeTunnelHostname = "http://internal.tunnel.invalid" constant runnerJobVarsNames (line 78) | runnerJobVarsNames = "RUNNER_JOB_VAR_NAMES" type executor (line 88) | type executor struct method getServiceVariables (line 263) | func (e *executor) getServiceVariables(serviceDefinition spec.Image) [... method expandAndGetDockerImage (line 270) | func (e *executor) expandAndGetDockerImage( method getHelperImage (line 291) | func (e *executor) getHelperImage() (*image.InspectResponse, error) { method getLocalHelperImage (line 323) | func (e *executor) getLocalHelperImage() *image.InspectResponse { method getBuildImage (line 336) | func (e *executor) getBuildImage() (*image.InspectResponse, error) { method parseDeviceString (line 358) | func (e *executor) parseDeviceString(deviceString string) (device cont... method bindDevices (line 387) | func (e *executor) bindDevices() (err error) { method bindContainerDevices (line 392) | func (e *executor) bindContainerDevices(devices []string) ([]container... method bindDeviceRequests (line 406) | func (e *executor) bindDeviceRequests() (err error) { method bindContainerDeviceRequests (line 411) | func (e *executor) bindContainerDeviceRequests(gpus string) ([]contain... method isInPrivilegedServiceList (line 439) | func (e *executor) isInPrivilegedServiceList(serviceDefinition spec.Im... method createService (line 443) | func (e *executor) createService( method processSecurityOpt (line 538) | func (e *executor) processSecurityOpt(securityOpts []string) ([]string... method createHostConfigForService (line 572) | func (e *executor) createHostConfigForService(imageIsPrivileged bool, ... method createServiceContainerConfig (line 625) | func (e *executor) createServiceContainerConfig( method getServicesDevices (line 661) | func (e *executor) getServicesDevices(image string) ([]container.Devic... method getServicesDeviceRequests (line 683) | func (e *executor) getServicesDeviceRequests() ([]container.DeviceRequ... method networkConfig (line 687) | func (e *executor) networkConfig(aliases []string) *network.Networking... method networkConfigLegacy (line 717) | func (e *executor) networkConfigLegacy(aliases []string) *network.Netw... method getProjectUniqRandomizedName (line 729) | func (e *executor) getProjectUniqRandomizedName() string { method makeContainerName (line 746) | func (e *executor) makeContainerName(suffix string) string { method createBuildNetwork (line 750) | func (e *executor) createBuildNetwork() error { method cleanupNetwork (line 765) | func (e *executor) cleanupNetwork(ctx context.Context) error { method isInPrivilegedImageList (line 791) | func (e *executor) isInPrivilegedImageList(imageDefinition spec.Image)... method createContainer (line 853) | func (e *executor) createContainer( method createContainerConfig (line 912) | func (e *executor) createContainerConfig( method prepareContainerEnvVariables (line 978) | func (e *executor) prepareContainerEnvVariables() (spec.Variables, err... method getBuildContainerUser (line 1014) | func (e *executor) getBuildContainerUser(imageDefinition spec.Image) (... method getCgroupParent (line 1030) | func (e *executor) getCgroupParent() string { method getServiceCgroupParent (line 1038) | func (e *executor) getServiceCgroupParent() string { method createHostConfig (line 1045) | func (e *executor) createHostConfig(isBuildContainer, imageIsPrivilege... method startAndWatchContainer (line 1117) | func (e *executor) startAndWatchContainer(ctx context.Context, id stri... method removeContainer (line 1151) | func (e *executor) removeContainer(ctx context.Context, id string) err... method disconnectNetwork (line 1174) | func (e *executor) disconnectNetwork(ctx context.Context, id string) { method verifyAllowedImage (line 1210) | func (e *executor) verifyAllowedImage(image, optionName string, allowe... method expandImageName (line 1220) | func (e *executor) expandImageName(imageName string, allowedInternalIm... method overwriteEntrypoint (line 1246) | func (e *executor) overwriteEntrypoint(image *spec.Image) []string { method createDependencies (line 1362) | func (e *executor) createDependencies() error { method createVolumes (line 1387) | func (e *executor) createVolumes() error { method createBuildVolume (line 1405) | func (e *executor) createBuildVolume() error { method Prepare (line 1436) | func (e *executor) Prepare(options common.ExecutorPrepareOptions) error { method setupDefaultExecutorOptions (line 1499) | func (e *executor) setupDefaultExecutorOptions(os string) { method prepareHelperImage (line 1542) | func (e *executor) prepareHelperImage() (helperimage.Info, error) { method prepareBuildsDir (line 1554) | func (e *executor) prepareBuildsDir(options common.ExecutorPrepareOpti... method Cleanup (line 1576) | func (e *executor) Cleanup() { method sendSIGTERMToContainerProcs (line 1630) | func (e *executor) sendSIGTERMToContainerProcs(ctx context.Context, co... method execScriptOnContainer (line 1652) | func (e *executor) execScriptOnContainer(ctx context.Context, containe... method cleanupVolume (line 1698) | func (e *executor) cleanupVolume(ctx context.Context) error { method createHostConfigForServiceHealthCheck (line 1712) | func (e *executor) createHostConfigForServiceHealthCheck(service *serv... method addServiceHealthCheckEnvironment (line 1742) | func (e *executor) addServiceHealthCheckEnvironment(service *serviceIn... method getContainerIPAndExposedPorts (line 1758) | func (e *executor) getContainerIPAndExposedPorts(id string) ([]string,... method readContainerLogs (line 1828) | func (e *executor) readContainerLogs(containerID string) string { method prepareContainerLabels (line 1853) | func (e *executor) prepareContainerLabels(otherLabels map[string]strin... type dockerConnector (line 129) | type dockerConnector method Connect (line 131) | func (dc dockerConnector) Connect(ctx context.Context, options common.... type dockerTunnel (line 138) | type dockerTunnel struct function newDockerTunnel (line 150) | func newDockerTunnel( type dockerConnection (line 193) | type dockerConnection struct method Close (line 199) | func (dc *dockerConnection) Close() error { function newDockerConnection (line 222) | func newDockerConnection(dockerTunnel *dockerTunnel, cancel func()) (*do... function createDockerConnection (line 239) | func createDockerConnection(ctx context.Context, opts common.ExecutorPre... function fakeContainer (line 354) | func fakeContainer(id string, names ...string) *container.Summary { function isInAllowedPrivilegedImages (line 426) | func isInAllowedPrivilegedImages(image string, allowedPrivilegedImages [... function platformForImage (line 524) | func platformForImage(image *image.InspectResponse, opts spec.ImageExecu... type containerConfigurator (line 795) | type containerConfigurator interface type defaultContainerConfigurator (line 801) | type defaultContainerConfigurator struct method ContainerConfig (line 827) | func (c *defaultContainerConfigurator) ContainerConfig(image *image.In... method HostConfig (line 842) | func (c *defaultContainerConfigurator) HostConfig() (*container.HostCo... method NetworkConfig (line 849) | func (c *defaultContainerConfigurator) NetworkConfig(aliases []string)... function newDefaultContainerConfigurator (line 811) | func newDefaultContainerConfigurator( function gzipString (line 1001) | func gzipString(src string) (string, error) { function connectDocker (line 1258) | func connectDocker(ctx context.Context, options common.ExecutorPrepareOp... function environmentDialContext (line 1305) | func environmentDialContext( function validateOSType (line 1353) | func validateOSType(info system.Info) error { function shouldIgnoreDockerError (line 1638) | func shouldIgnoreDockerError(err error, isFuncs ...func(error) bool) bool { FILE: executors/docker/docker_command.go constant buildContainerType (line 26) | buildContainerType = "build" constant predefinedContainerType (line 27) | predefinedContainerType = "predefined" type commandExecutor (line 30) | type commandExecutor struct method getBuildContainer (line 38) | func (s *commandExecutor) getBuildContainer() *container.InspectRespon... method Prepare (line 45) | func (s *commandExecutor) Prepare(options common.ExecutorPrepareOption... method isUmaskDisabled (line 74) | func (s *commandExecutor) isUmaskDisabled() bool { method Run (line 87) | func (s *commandExecutor) Run(cmd common.ExecutorCommand) error { method runContainer (line 95) | func (s *commandExecutor) runContainer(containerType string, cmd commo... method requestContainer (line 127) | func (s *commandExecutor) requestContainer(containerType string) (*con... method hasExistingContainer (line 138) | func (s *commandExecutor) hasExistingContainer(containerType string, c... method requestHelperContainer (line 157) | func (s *commandExecutor) requestHelperContainer() (*container.Inspect... method getHelperImageCmd (line 188) | func (s *commandExecutor) getHelperImageCmd() []string { method requestBuildContainer (line 199) | func (s *commandExecutor) requestBuildContainer() (*container.InspectR... method changeFilesOwnership (line 234) | func (s *commandExecutor) changeFilesOwnership() error { method executeChown (line 302) | func (s *commandExecutor) executeChown(dockerExec exec.Docker, uid int... method executeChownOnDir (line 321) | func (s *commandExecutor) executeChownOnDir( method GetMetricsSelector (line 352) | func (s *commandExecutor) GetMetricsSelector() string { function getUIDandGID (line 274) | func getUIDandGID( function newDockerOptions (line 356) | func newDockerOptions() executors.ExecutorOptions { function newDockerCreator (line 372) | func newDockerCreator(options executors.ExecutorOptions) func() common.E... function dockerFeaturesUpdater (line 387) | func dockerFeaturesUpdater(features *common.FeaturesInfo) { function NewProvider (line 400) | func NewProvider() common.ExecutorProvider { function NewWindowsProvider (line 412) | func NewWindowsProvider() common.ExecutorProvider { FILE: executors/docker/docker_command_integration_test.go constant minDockerDaemonVersion (line 48) | minDockerDaemonVersion = "1.41" function TestMain (line 60) | func TestMain(m *testing.M) { type safeBuffer (line 68) | type safeBuffer struct method Read (line 80) | func (s *safeBuffer) Read(p []byte) (n int, err error) { method Write (line 86) | func (s *safeBuffer) Write(p []byte) (n int, err error) { method String (line 92) | func (s *safeBuffer) String() string { function newSafeBuffer (line 73) | func newSafeBuffer() *safeBuffer { function TestDockerCommandMultistepBuild (line 98) | func TestDockerCommandMultistepBuild(t *testing.T) { function getBuildForOS (line 169) | func getBuildForOS(t *testing.T, getJobResp func() (spec.Job, error)) co... function getRunnerConfigForOS (line 182) | func getRunnerConfigForOS(t *testing.T) *common.RunnerConfig { function windowsDockerImageTag (line 212) | func windowsDockerImageTag(version string, tagMap map[string]string) (st... function getDefaultWindowsImage (line 226) | func getDefaultWindowsImage(t *testing.T) string { function getWindowsImage (line 234) | func getWindowsImage(t *testing.T, imageRef string, tagMap map[string]st... function TestBuildPassingEnvsMultistep (line 248) | func TestBuildPassingEnvsMultistep(t *testing.T) { function TestDockerCommandSuccessRunRawVariable (line 263) | func TestDockerCommandSuccessRunRawVariable(t *testing.T) { function TestDockerCommandSuccessRunFileVariableContent (line 282) | func TestDockerCommandSuccessRunFileVariableContent(t *testing.T) { function TestBuildScriptSections (line 305) | func TestBuildScriptSections(t *testing.T) { function TestDockerCommandUsingCustomClonePath (line 323) | func TestDockerCommandUsingCustomClonePath(t *testing.T) { function TestDockerCommandNoRootImage (line 368) | func TestDockerCommandNoRootImage(t *testing.T) { function TestDockerCommandEntrypointWithStderrOutput (line 393) | func TestDockerCommandEntrypointWithStderrOutput(t *testing.T) { function TestDockerCommandOwnershipOverflow (line 421) | func TestDockerCommandOwnershipOverflow(t *testing.T) { function TestDockerCommandWithAllowedImagesRun (line 459) | func TestDockerCommandWithAllowedImagesRun(t *testing.T) { function TestDockerCommandDisableEntrypointOverwrite (line 494) | func TestDockerCommandDisableEntrypointOverwrite(t *testing.T) { function TestDockerCommandMissingImage (line 571) | func TestDockerCommandMissingImage(t *testing.T) { function TestDockerCommandMissingTag (line 583) | func TestDockerCommandMissingTag(t *testing.T) { function TestDockerCommandMissingServiceImage (line 595) | func TestDockerCommandMissingServiceImage(t *testing.T) { function TestDockerCommandPullingImageNoHost (line 613) | func TestDockerCommandPullingImageNoHost(t *testing.T) { function TestDockerCommandBuildCancel (line 626) | func TestDockerCommandBuildCancel(t *testing.T) { function TestBuildMasking (line 632) | func TestBuildMasking(t *testing.T) { function TestBuildMaskingProxyExec (line 638) | func TestBuildMaskingProxyExec(t *testing.T) { function TestBuildExpandedFileVariable (line 644) | func TestBuildExpandedFileVariable(t *testing.T) { function TestDockerCommandTwoServicesFromOneImage (line 653) | func TestDockerCommandTwoServicesFromOneImage(t *testing.T) { function TestDockerCommandServiceNameEmpty (line 709) | func TestDockerCommandServiceNameEmpty(t *testing.T) { function TestDockerCommandOutput (line 765) | func TestDockerCommandOutput(t *testing.T) { function TestDockerPrivilegedServiceAccessingBuildsFolder (line 794) | func TestDockerPrivilegedServiceAccessingBuildsFolder(t *testing.T) { function getTestDockerJob (line 836) | func getTestDockerJob(t *testing.T, job spec.Job) *common.Build { function TestDockerExtendedConfigurationFromJob (line 862) | func TestDockerExtendedConfigurationFromJob(t *testing.T) { function TestCacheInContainer (line 923) | func TestCacheInContainer(t *testing.T) { function TestDockerImageNameFromVariable (line 1024) | func TestDockerImageNameFromVariable(t *testing.T) { function TestDockerServiceNameFromVariable (line 1059) | func TestDockerServiceNameFromVariable(t *testing.T) { function TestDockerServiceHealthcheck (line 1094) | func TestDockerServiceHealthcheck(t *testing.T) { function TestDockerServiceAliases (line 1213) | func TestDockerServiceAliases(t *testing.T) { function TestDockerServiceHealthcheckOverflow (line 1259) | func TestDockerServiceHealthcheckOverflow(t *testing.T) { function TestDockerHandlesAliasDuplicates (line 1298) | func TestDockerHandlesAliasDuplicates(t *testing.T) { function runDockerInDocker (line 1338) | func runDockerInDocker(version string) (id string, err error) { function getDockerCredentials (line 1349) | func getDockerCredentials(id string) (credentials docker.Credentials, er... function waitForDocker (line 1368) | func waitForDocker(credentials docker.Credentials) error { function testDockerVersion (line 1384) | func testDockerVersion(t *testing.T, version string) { function TestDocker1_8Compatibility (line 1434) | func TestDocker1_8Compatibility(t *testing.T) { function TestDocker1_9Compatibility (line 1441) | func TestDocker1_9Compatibility(t *testing.T) { function TestDocker1_10Compatibility (line 1448) | func TestDocker1_10Compatibility(t *testing.T) { function TestDocker1_11Compatibility (line 1455) | func TestDocker1_11Compatibility(t *testing.T) { function TestDocker1_12Compatibility (line 1462) | func TestDocker1_12Compatibility(t *testing.T) { function TestDocker1_13Compatibility (line 1469) | func TestDocker1_13Compatibility(t *testing.T) { function TestDockerCommandWithGitSSLCAInfo (line 1476) | func TestDockerCommandWithGitSSLCAInfo(t *testing.T) { function TestDockerCommandWithHelperImageConfig (line 1508) | func TestDockerCommandWithHelperImageConfig(t *testing.T) { function TestDockerCommand_Pwsh (line 1547) | func TestDockerCommand_Pwsh(t *testing.T) { function TestDockerCommandWithDoingPruneAndAfterScript (line 1572) | func TestDockerCommandWithDoingPruneAndAfterScript(t *testing.T) { function TestDockerCommandRunAttempts (line 1631) | func TestDockerCommandRunAttempts(t *testing.T) { function assertFailedToInspectContainer (line 1695) | func assertFailedToInspectContainer(t *testing.T, trace *safeBuffer, att... function removeBuildContainer (line 1715) | func removeBuildContainer(t *testing.T) <-chan string { function TestDockerCommandRunAttempts_InvalidAttempts (line 1745) | func TestDockerCommandRunAttempts_InvalidAttempts(t *testing.T) { function TestDockerCommand_WriteToVolumeNonRootImage (line 1761) | func TestDockerCommand_WriteToVolumeNonRootImage(t *testing.T) { function TestChownAndUmaskUsage (line 1809) | func TestChownAndUmaskUsage(t *testing.T) { function TestBuildLogLimitExceeded (line 1920) | func TestBuildLogLimitExceeded(t *testing.T) { function TestCleanupProjectGitClone (line 1926) | func TestCleanupProjectGitClone(t *testing.T) { function TestCleanupProjectGitFetch (line 1933) | func TestCleanupProjectGitFetch(t *testing.T) { function TestCleanupProjectGitSubmoduleNormal (line 1947) | func TestCleanupProjectGitSubmoduleNormal(t *testing.T) { function TestCleanupProjectGitSubmoduleRecursive (line 1962) | func TestCleanupProjectGitSubmoduleRecursive(t *testing.T) { function TestDockerCommandServiceVariables (line 1987) | func TestDockerCommandServiceVariables(t *testing.T) { function TestDockerCommandConflictingPullPolicies (line 2039) | func TestDockerCommandConflictingPullPolicies(t *testing.T) { function Test_CaptureServiceLogs (line 2107) | func Test_CaptureServiceLogs(t *testing.T) { function Test_ExpandingVolumes (line 2180) | func Test_ExpandingVolumes(t *testing.T) { function Test_ContainerOptionsExpansion (line 2266) | func Test_ContainerOptionsExpansion(t *testing.T) { function TestDockerCommandWithRunnerServiceEnvironmentVariables (line 2307) | func TestDockerCommandWithRunnerServiceEnvironmentVariables(t *testing.T) { function TestDockerBuildContainerGracefulShutdownNoInit (line 2354) | func TestDockerBuildContainerGracefulShutdownNoInit(t *testing.T) { function TestDockerBuildContainerGracefulShutdownWithInit (line 2358) | func TestDockerBuildContainerGracefulShutdownWithInit(t *testing.T) { function testDockerBuildContainerGracefulShutdown (line 2362) | func testDockerBuildContainerGracefulShutdown(t *testing.T, useInit bool) { function Test_FF_USE_INIT_WITH_DOCKER_EXECUTOR (line 2440) | func Test_FF_USE_INIT_WITH_DOCKER_EXECUTOR(t *testing.T) { function Test_ServiceLabels (line 2487) | func Test_ServiceLabels(t *testing.T) { function Test_ServiceVolumeMounts (line 2577) | func Test_ServiceVolumeMounts(t *testing.T) { function TestDockerCommandWithPlatform (line 2622) | func TestDockerCommandWithPlatform(t *testing.T) { function TestDockerCommandWithUser (line 2679) | func TestDockerCommandWithUser(t *testing.T) { function TestGitCredHelper (line 2711) | func TestGitCredHelper(t *testing.T) { function TestPwshGitCredHelper (line 2748) | func TestPwshGitCredHelper(t *testing.T) { function TestDockerCommand_MacAddressConfig (line 2868) | func TestDockerCommand_MacAddressConfig(t *testing.T) { function Test_CacheVolumeProtected (line 3035) | func Test_CacheVolumeProtected(t *testing.T) { function setupExecutor (line 3112) | func setupExecutor(t *testing.T, build *common.Build) { FILE: executors/docker/docker_log_options_integration_test.go function TestDockerLogOptions (line 17) | func TestDockerLogOptions(t *testing.T) { FILE: executors/docker/docker_steps_integration_test.go function Test_StepsIntegration (line 23) | func Test_StepsIntegration(t *testing.T) { FILE: executors/docker/docker_test.go function TestParseDeviceStringOne (line 53) | func TestParseDeviceStringOne(t *testing.T) { function TestParseDeviceStringTwo (line 64) | func TestParseDeviceStringTwo(t *testing.T) { function TestParseDeviceStringThree (line 75) | func TestParseDeviceStringThree(t *testing.T) { function TestParseDeviceStringFour (line 86) | func TestParseDeviceStringFour(t *testing.T) { function TestBindDeviceRequests (line 94) | func TestBindDeviceRequests(t *testing.T) { type testAllowedImageDescription (line 149) | type testAllowedImageDescription struct function TestVerifyAllowedImage (line 190) | func TestVerifyAllowedImage(t *testing.T) { function TestIsInAllowedPrivilegedImages (line 205) | func TestIsInAllowedPrivilegedImages(t *testing.T) { function executorWithMockClient (line 217) | func executorWithMockClient(c *docker.MockClient) *executor { function TestHelperImageWithVariable (line 232) | func TestHelperImageWithVariable(t *testing.T) { function TestPrepareBuildsDir (line 256) | func TestPrepareBuildsDir(t *testing.T) { type volumesTestCase (line 344) | type volumesTestCase struct function getExecutorForVolumesTests (line 360) | func getExecutorForVolumesTests(t *testing.T, test volumesTestCase) *exe... function TestCreateVolumes (line 458) | func TestCreateVolumes(t *testing.T) { function TestCreateBuildVolume (line 520) | func TestCreateBuildVolume(t *testing.T) { function TestCreateDependencies (line 664) | func TestCreateDependencies(t *testing.T) { type containerConfigExpectations (line 742) | type containerConfigExpectations type dockerConfigurationTestFakeDockerClient (line 744) | type dockerConfigurationTestFakeDockerClient struct method ContainerCreate (line 751) | func (c *dockerConfigurationTestFakeDockerClient) ContainerCreate( function createExecutorForTestDockerConfiguration (line 763) | func createExecutorForTestDockerConfiguration( function prepareTestDockerConfiguration (line 803) | func prepareTestDockerConfiguration( function testDockerConfigurationWithJobContainer (line 824) | func testDockerConfigurationWithJobContainer( function testDockerConfigurationWithPredefinedContainer (line 845) | func testDockerConfigurationWithPredefinedContainer( function TestDockerMemorySetting (line 867) | func TestDockerMemorySetting(t *testing.T) { function TestDockerMemorySwapSetting (line 879) | func TestDockerMemorySwapSetting(t *testing.T) { function TestDockerMemoryReservationSetting (line 891) | func TestDockerMemoryReservationSetting(t *testing.T) { function TestDockerCPUSSetting (line 903) | func TestDockerCPUSSetting(t *testing.T) { function TestDockerIsolationWithCorrectValues (line 930) | func TestDockerIsolationWithCorrectValues(t *testing.T) { function TestDockerIsolationWithIncorrectValue (line 951) | func TestDockerIsolationWithIncorrectValue(t *testing.T) { function TestDockerServiceContainerConfigIncludesDockerLabels (line 964) | func TestDockerServiceContainerConfigIncludesDockerLabels(t *testing.T) { function TestDockerMacAddress (line 1004) | func TestDockerMacAddress(t *testing.T) { function TestDockerCgroupParentSetting (line 1018) | func TestDockerCgroupParentSetting(t *testing.T) { function TestDockerCPUSetCPUsSetting (line 1030) | func TestDockerCPUSetCPUsSetting(t *testing.T) { function TestDockerCPUSetMemsSetting (line 1042) | func TestDockerCPUSetMemsSetting(t *testing.T) { function TestDockerServiceSettings (line 1054) | func TestDockerServiceSettings(t *testing.T) { function TestDockerContainerLabelsSetting (line 1154) | func TestDockerContainerLabelsSetting(t *testing.T) { function TestDockerTmpfsSetting (line 1184) | func TestDockerTmpfsSetting(t *testing.T) { function TestDockerServicesDevicesSetting (line 1198) | func TestDockerServicesDevicesSetting(t *testing.T) { function TestDockerGetServicesDevices (line 1267) | func TestDockerGetServicesDevices(t *testing.T) { function TestDockerServicesDeviceRequestsSetting (line 1399) | func TestDockerServicesDeviceRequestsSetting(t *testing.T) { function TestDockerGetServicesDeviceRequests (line 1435) | func TestDockerGetServicesDeviceRequests(t *testing.T) { function TestDockerUserSetting (line 1511) | func TestDockerUserSetting(t *testing.T) { function TestDockerUserNSSetting (line 1527) | func TestDockerUserNSSetting(t *testing.T) { function TestDockerRuntimeSetting (line 1544) | func TestDockerRuntimeSetting(t *testing.T) { function TestDockerSysctlsSetting (line 1556) | func TestDockerSysctlsSetting(t *testing.T) { function TestDockerUlimitSetting (line 1570) | func TestDockerUlimitSetting(t *testing.T) { type testAllowedPrivilegedJobDescription (line 1627) | type testAllowedPrivilegedJobDescription struct function TestDockerPrivilegedJobSetting (line 1664) | func TestDockerPrivilegedJobSetting(t *testing.T) { type networksTestCase (line 1685) | type networksTestCase struct function TestDockerCreateNetwork (line 1694) | func TestDockerCreateNetwork(t *testing.T) { function getExecutorForNetworksTests (line 1818) | func getExecutorForNetworksTests(t *testing.T, test networksTestCase) *e... function TestCheckOSType (line 1890) | func TestCheckOSType(t *testing.T) { function TestHelperImageRegistry (line 1929) | func TestHelperImageRegistry(t *testing.T) { function TestLocalHelperImage (line 1978) | func TestLocalHelperImage(t *testing.T) { function createFakePrebuiltImages (line 2225) | func createFakePrebuiltImages(t *testing.T, architecture string) { function TestGetUIDandGID (line 2249) | func TestGetUIDandGID(t *testing.T) { function TestExpandingDockerImageWithImagePullPolicyAlways (line 2305) | func TestExpandingDockerImageWithImagePullPolicyAlways(t *testing.T) { function TestExpandingDockerImageWithImagePullPolicyNever (line 2334) | func TestExpandingDockerImageWithImagePullPolicyNever(t *testing.T) { function TestDockerImageWithVariablePlatform (line 2369) | func TestDockerImageWithVariablePlatform(t *testing.T) { function TestExpandingVolumeDestination (line 2405) | func TestExpandingVolumeDestination(t *testing.T) { function TestDockerImageWithUser (line 2498) | func TestDockerImageWithUser(t *testing.T) { function TestDockerConfigGetLogConfig (line 2574) | func TestDockerConfigGetLogConfig(t *testing.T) { function mockExecutorPrepareInteraction (line 2659) | func mockExecutorPrepareInteraction(t *testing.T, c *docker.MockClient) { type env (line 2703) | type env struct method WithContext (line 2731) | func (e *env) WithContext(ctx context.Context) (context.Context, conte... method Prepare (line 2735) | func (e *env) Prepare( type envClient (line 2709) | type envClient struct method Dial (line 2713) | func (c *envClient) Dial(n string, addr string) (net.Conn, error) { method Run (line 2718) | func (c *envClient) Run(ctx context.Context, options executors.RunOpti... method DialRun (line 2722) | func (c *envClient) DialRun(ctx context.Context, command string) (net.... method Close (line 2727) | func (c *envClient) Close() error { function TestConnectEnvironment (line 2744) | func TestConnectEnvironment(t *testing.T) { function TestTooManyServicesRequestedError (line 2787) | func TestTooManyServicesRequestedError(t *testing.T) { function Test_bootstrap (line 2821) | func Test_bootstrap(t *testing.T) { function TestDockerSlotCgroupSettings (line 2929) | func TestDockerSlotCgroupSettings(t *testing.T) { type mockAutoscalerExecutorData (line 3055) | type mockAutoscalerExecutorData struct method AcquisitionSlot (line 3059) | func (m *mockAutoscalerExecutorData) AcquisitionSlot() int { function testDockerConfigurationWithSlotCgroups (line 3064) | func testDockerConfigurationWithSlotCgroups( function testDockerServiceContainerCgroup (line 3092) | func testDockerServiceContainerCgroup( function TestPrepareContainerEnvVariables (line 3119) | func TestPrepareContainerEnvVariables(t *testing.T) { function checkVariable (line 3194) | func checkVariable(vars spec.Variables, key string) bool { function TestRemoveContainerVolumeKeep (line 3203) | func TestRemoveContainerVolumeKeep(t *testing.T) { function TestProcessSecurityOpt (line 3246) | func TestProcessSecurityOpt(t *testing.T) { function TestDockerSecurityOptSetting (line 3330) | func TestDockerSecurityOptSetting(t *testing.T) { function TestDockerServicesSecurityOptSetting (line 3354) | func TestDockerServicesSecurityOptSetting(t *testing.T) { FILE: executors/docker/internal/exec/exec.go type conn (line 19) | type conn interface type reader (line 25) | type reader interface type IOStreams (line 29) | type IOStreams struct type Docker (line 35) | type Docker interface function NewDocker (line 46) | func NewDocker(ctx context.Context, c docker.Client, waiter wait.KillWai... type defaultDocker (line 55) | type defaultDocker struct method Exec (line 62) | func (d *defaultDocker) Exec(ctx context.Context, containerID string, ... function attachOptions (line 129) | func attachOptions() container.AttachOptions { FILE: executors/docker/internal/exec/exec_test.go function TestDefaultDocker_Exec (line 28) | func TestDefaultDocker_Exec(t *testing.T) { FILE: executors/docker/internal/exec/mocks.go function newMockConn (line 18) | func newMockConn(t interface { type mockConn (line 31) | type mockConn struct method EXPECT (line 39) | func (_m *mockConn) EXPECT() *mockConn_Expecter { method Close (line 44) | func (_mock *mockConn) Close() error { method LocalAddr (line 88) | func (_mock *mockConn) LocalAddr() net.Addr { method Read (line 134) | func (_mock *mockConn) Read(b []byte) (int, error) { method RemoteAddr (line 194) | func (_mock *mockConn) RemoteAddr() net.Addr { method SetDeadline (line 240) | func (_mock *mockConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 291) | func (_mock *mockConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 342) | func (_mock *mockConn) SetWriteDeadline(t time.Time) error { method Write (line 393) | func (_mock *mockConn) Write(b []byte) (int, error) { type mockConn_Expecter (line 35) | type mockConn_Expecter struct method Close (line 66) | func (_e *mockConn_Expecter) Close() *mockConn_Close_Call { method LocalAddr (line 112) | func (_e *mockConn_Expecter) LocalAddr() *mockConn_LocalAddr_Call { method Read (line 166) | func (_e *mockConn_Expecter) Read(b interface{}) *mockConn_Read_Call { method RemoteAddr (line 218) | func (_e *mockConn_Expecter) RemoteAddr() *mockConn_RemoteAddr_Call { method SetDeadline (line 263) | func (_e *mockConn_Expecter) SetDeadline(t interface{}) *mockConn_SetD... method SetReadDeadline (line 314) | func (_e *mockConn_Expecter) SetReadDeadline(t interface{}) *mockConn_... method SetWriteDeadline (line 365) | func (_e *mockConn_Expecter) SetWriteDeadline(t interface{}) *mockConn... method Write (line 425) | func (_e *mockConn_Expecter) Write(b interface{}) *mockConn_Write_Call { type mockConn_Close_Call (line 61) | type mockConn_Close_Call struct method Run (line 70) | func (_c *mockConn_Close_Call) Run(run func()) *mockConn_Close_Call { method Return (line 77) | func (_c *mockConn_Close_Call) Return(err error) *mockConn_Close_Call { method RunAndReturn (line 82) | func (_c *mockConn_Close_Call) RunAndReturn(run func() error) *mockCon... type mockConn_LocalAddr_Call (line 107) | type mockConn_LocalAddr_Call struct method Run (line 116) | func (_c *mockConn_LocalAddr_Call) Run(run func()) *mockConn_LocalAddr... method Return (line 123) | func (_c *mockConn_LocalAddr_Call) Return(addr net.Addr) *mockConn_Loc... method RunAndReturn (line 128) | func (_c *mockConn_LocalAddr_Call) RunAndReturn(run func() net.Addr) *... type mockConn_Read_Call (line 160) | type mockConn_Read_Call struct method Run (line 170) | func (_c *mockConn_Read_Call) Run(run func(b []byte)) *mockConn_Read_C... method Return (line 183) | func (_c *mockConn_Read_Call) Return(n int, err error) *mockConn_Read_... method RunAndReturn (line 188) | func (_c *mockConn_Read_Call) RunAndReturn(run func(b []byte) (int, er... type mockConn_RemoteAddr_Call (line 213) | type mockConn_RemoteAddr_Call struct method Run (line 222) | func (_c *mockConn_RemoteAddr_Call) Run(run func()) *mockConn_RemoteAd... method Return (line 229) | func (_c *mockConn_RemoteAddr_Call) Return(addr net.Addr) *mockConn_Re... method RunAndReturn (line 234) | func (_c *mockConn_RemoteAddr_Call) RunAndReturn(run func() net.Addr) ... type mockConn_SetDeadline_Call (line 257) | type mockConn_SetDeadline_Call struct method Run (line 267) | func (_c *mockConn_SetDeadline_Call) Run(run func(t time.Time)) *mockC... method Return (line 280) | func (_c *mockConn_SetDeadline_Call) Return(err error) *mockConn_SetDe... method RunAndReturn (line 285) | func (_c *mockConn_SetDeadline_Call) RunAndReturn(run func(t time.Time... type mockConn_SetReadDeadline_Call (line 308) | type mockConn_SetReadDeadline_Call struct method Run (line 318) | func (_c *mockConn_SetReadDeadline_Call) Run(run func(t time.Time)) *m... method Return (line 331) | func (_c *mockConn_SetReadDeadline_Call) Return(err error) *mockConn_S... method RunAndReturn (line 336) | func (_c *mockConn_SetReadDeadline_Call) RunAndReturn(run func(t time.... type mockConn_SetWriteDeadline_Call (line 359) | type mockConn_SetWriteDeadline_Call struct method Run (line 369) | func (_c *mockConn_SetWriteDeadline_Call) Run(run func(t time.Time)) *... method Return (line 382) | func (_c *mockConn_SetWriteDeadline_Call) Return(err error) *mockConn_... method RunAndReturn (line 387) | func (_c *mockConn_SetWriteDeadline_Call) RunAndReturn(run func(t time... type mockConn_Write_Call (line 419) | type mockConn_Write_Call struct method Run (line 429) | func (_c *mockConn_Write_Call) Run(run func(b []byte)) *mockConn_Write... method Return (line 442) | func (_c *mockConn_Write_Call) Return(n int, err error) *mockConn_Writ... method RunAndReturn (line 447) | func (_c *mockConn_Write_Call) RunAndReturn(run func(b []byte) (int, e... function newMockReader (line 454) | func newMockReader(t interface { type mockReader (line 467) | type mockReader struct method EXPECT (line 475) | func (_m *mockReader) EXPECT() *mockReader_Expecter { method Read (line 480) | func (_mock *mockReader) Read(p []byte) (int, error) { type mockReader_Expecter (line 471) | type mockReader_Expecter struct method Read (line 512) | func (_e *mockReader_Expecter) Read(p interface{}) *mockReader_Read_Ca... type mockReader_Read_Call (line 506) | type mockReader_Read_Call struct method Run (line 516) | func (_c *mockReader_Read_Call) Run(run func(p []byte)) *mockReader_Re... method Return (line 529) | func (_c *mockReader_Read_Call) Return(n int, err error) *mockReader_R... method RunAndReturn (line 534) | func (_c *mockReader_Read_Call) RunAndReturn(run func(p []byte) (int, ... function NewMockDocker (line 541) | func NewMockDocker(t interface { type MockDocker (line 554) | type MockDocker struct method EXPECT (line 562) | func (_m *MockDocker) EXPECT() *MockDocker_Expecter { method Exec (line 567) | func (_mock *MockDocker) Exec(ctx context.Context, containerID string,... type MockDocker_Expecter (line 558) | type MockDocker_Expecter struct method Exec (line 593) | func (_e *MockDocker_Expecter) Exec(ctx interface{}, containerID inter... type MockDocker_Exec_Call (line 584) | type MockDocker_Exec_Call struct method Run (line 597) | func (_c *MockDocker_Exec_Call) Run(run func(ctx context.Context, cont... method Return (line 625) | func (_c *MockDocker_Exec_Call) Return(err error) *MockDocker_Exec_Call { method RunAndReturn (line 630) | func (_c *MockDocker_Exec_Call) RunAndReturn(run func(ctx context.Cont... FILE: executors/docker/internal/labels/labels.go constant dockerLabelPrefix (line 10) | dockerLabelPrefix = "com.gitlab.gitlab-runner" type Labeler (line 13) | type Labeler interface function NewLabeler (line 18) | func NewLabeler(b *common.Build) Labeler { type labeler (line 24) | type labeler struct method Labels (line 30) | func (l *labeler) Labels(otherLabels map[string]string) map[string]str... FILE: executors/docker/internal/labels/labels_test.go function TestNewLabeler (line 15) | func TestNewLabeler(t *testing.T) { function TestLabels (line 21) | func TestLabels(t *testing.T) { function TestLabels_pipelineIDSupport (line 70) | func TestLabels_pipelineIDSupport(t *testing.T) { FILE: executors/docker/internal/labels/mocks.go function NewMockLabeler (line 13) | func NewMockLabeler(t interface { type MockLabeler (line 26) | type MockLabeler struct method EXPECT (line 34) | func (_m *MockLabeler) EXPECT() *MockLabeler_Expecter { method Labels (line 39) | func (_mock *MockLabeler) Labels(otherLabels map[string]string) map[st... type MockLabeler_Expecter (line 30) | type MockLabeler_Expecter struct method Labels (line 64) | func (_e *MockLabeler_Expecter) Labels(otherLabels interface{}) *MockL... type MockLabeler_Labels_Call (line 58) | type MockLabeler_Labels_Call struct method Run (line 68) | func (_c *MockLabeler_Labels_Call) Run(run func(otherLabels map[string... method Return (line 81) | func (_c *MockLabeler_Labels_Call) Return(stringToString map[string]st... method RunAndReturn (line 86) | func (_c *MockLabeler_Labels_Call) RunAndReturn(run func(otherLabels m... FILE: executors/docker/internal/networks/manager.go type Manager (line 20) | type Manager interface type manager (line 26) | type manager struct method Create (line 46) | func (m *manager) Create(ctx context.Context, networkMode string, enab... method Inspect (line 100) | func (m *manager) Inspect(ctx context.Context) (network.Inspect, error) { method Cleanup (line 110) | func (m *manager) Cleanup(ctx context.Context) error { function NewManager (line 37) | func NewManager(logger debugLogger, dockerClient docker.Client, build *c... function networkOptionsFromConfig (line 91) | func networkOptionsFromConfig(config *common.DockerConfig) map[string]st... FILE: executors/docker/internal/networks/manager_integration_test.go function TestCreateNetworkLabels (line 24) | func TestCreateNetworkLabels(t *testing.T) { FILE: executors/docker/internal/networks/manager_test.go function TestNewDefaultManager (line 23) | func TestNewDefaultManager(t *testing.T) { function newDefaultManager (line 30) | func newDefaultManager(t *testing.T) *manager { function addClient (line 54) | func addClient(t *testing.T, manager *manager) *docker.MockClient { function TestCreateNetwork (line 61) | func TestCreateNetwork(t *testing.T) { function TestCreateNetworkWithCustomMTU (line 204) | func TestCreateNetworkWithCustomMTU(t *testing.T) { function TestInspectNetwork (line 275) | func TestInspectNetwork(t *testing.T) { function TestCleanupNetwork (line 334) | func TestCleanupNetwork(t *testing.T) { FILE: executors/docker/internal/networks/mocks.go function NewMockManager (line 17) | func NewMockManager(t interface { type MockManager (line 30) | type MockManager struct method EXPECT (line 38) | func (_m *MockManager) EXPECT() *MockManager_Expecter { method Cleanup (line 43) | func (_mock *MockManager) Cleanup(ctx context.Context) error { method Create (line 94) | func (_mock *MockManager) Create(ctx context.Context, networkMode stri... method Inspect (line 166) | func (_mock *MockManager) Inspect(ctx context.Context) (network.Inspec... type MockManager_Expecter (line 34) | type MockManager_Expecter struct method Cleanup (line 66) | func (_e *MockManager_Expecter) Cleanup(ctx interface{}) *MockManager_... method Create (line 128) | func (_e *MockManager_Expecter) Create(ctx interface{}, networkMode in... method Inspect (line 198) | func (_e *MockManager_Expecter) Inspect(ctx interface{}) *MockManager_... type MockManager_Cleanup_Call (line 60) | type MockManager_Cleanup_Call struct method Run (line 70) | func (_c *MockManager_Cleanup_Call) Run(run func(ctx context.Context))... method Return (line 83) | func (_c *MockManager_Cleanup_Call) Return(err error) *MockManager_Cle... method RunAndReturn (line 88) | func (_c *MockManager_Cleanup_Call) RunAndReturn(run func(ctx context.... type MockManager_Create_Call (line 120) | type MockManager_Create_Call struct method Run (line 132) | func (_c *MockManager_Create_Call) Run(run func(ctx context.Context, n... method Return (line 155) | func (_c *MockManager_Create_Call) Return(networkMode1 container.Netwo... method RunAndReturn (line 160) | func (_c *MockManager_Create_Call) RunAndReturn(run func(ctx context.C... type MockManager_Inspect_Call (line 192) | type MockManager_Inspect_Call struct method Run (line 202) | func (_c *MockManager_Inspect_Call) Run(run func(ctx context.Context))... method Return (line 215) | func (_c *MockManager_Inspect_Call) Return(inspect network.Inspect, er... method RunAndReturn (line 220) | func (_c *MockManager_Inspect_Call) RunAndReturn(run func(ctx context.... function newMockDebugLogger (line 227) | func newMockDebugLogger(t interface { type mockDebugLogger (line 240) | type mockDebugLogger struct method EXPECT (line 248) | func (_m *mockDebugLogger) EXPECT() *mockDebugLogger_Expecter { method Debugln (line 253) | func (_mock *mockDebugLogger) Debugln(args ...interface{}) { type mockDebugLogger_Expecter (line 244) | type mockDebugLogger_Expecter struct method Debugln (line 267) | func (_e *mockDebugLogger_Expecter) Debugln(args ...interface{}) *mock... type mockDebugLogger_Debugln_Call (line 261) | type mockDebugLogger_Debugln_Call struct method Run (line 272) | func (_c *mockDebugLogger_Debugln_Call) Run(run func(args ...interface... method Return (line 289) | func (_c *mockDebugLogger_Debugln_Call) Return() *mockDebugLogger_Debu... method RunAndReturn (line 294) | func (_c *mockDebugLogger_Debugln_Call) RunAndReturn(run func(args ...... FILE: executors/docker/internal/networks/utils.go type debugLogger (line 3) | type debugLogger interface FILE: executors/docker/internal/omitwriter/omit_writer.go type omitWriter (line 7) | type omitWriter struct method Write (line 20) | func (r *omitWriter) Write(p []byte) (n int, err error) { method bytes (line 33) | func (r *omitWriter) bytes() []byte { method Error (line 47) | func (r *omitWriter) Error() error { function New (line 14) | func New() *omitWriter { FILE: executors/docker/internal/omitwriter/omit_writer_test.go function Test_OmitWriter (line 12) | func Test_OmitWriter(t *testing.T) { FILE: executors/docker/internal/prebuilt/prebuilt.go constant prebuiltExportImageExtension (line 23) | prebuiltExportImageExtension = ".tar.xz" constant prebuiltDockerArchiveImageExtension (line 24) | prebuiltDockerArchiveImageExtension = ".docker.tar.zst" function init (line 29) | func init() { function Get (line 60) | func Get(ctx context.Context, client docker.Client, info helperimage.Inf... function load (line 73) | func load(ctx context.Context, client docker.Client, info helperimage.In... function imageLoad (line 115) | func imageLoad(ctx context.Context, client docker.Client, path, ref, tag... function imageImport (line 165) | func imageImport(ctx context.Context, client docker.Client, path, ref, t... FILE: executors/docker/internal/pull/manager.go type Manager (line 19) | type Manager interface type ManagerConfig (line 24) | type ManagerConfig struct type pullLogger (line 31) | type pullLogger interface type manager (line 38) | type manager struct method GetDockerImage (line 66) | func (m *manager) GetDockerImage( method wasImageUsed (line 118) | func (m *manager) wasImageUsed(imageName, imageID string) bool { method markImageAsUsed (line 125) | func (m *manager) markImageAsUsed(imageName string, image *image.Inspe... method getImageUsingPullPolicy (line 145) | func (m *manager) getImageUsingPullPolicy( method resolveAuthConfigForImage (line 183) | func (m *manager) resolveAuthConfigForImage(imageName string) (*cli.Au... method pullDockerImage (line 211) | func (m *manager) pullDockerImage(imageName string, options spec.Image... method getPullPolicies (line 249) | func (m *manager) getPullPolicies(imagePullPolicies []common.DockerPul... function NewManager (line 50) | func NewManager( FILE: executors/docker/internal/pull/manager_test.go function TestNewDefaultManager (line 28) | func TestNewDefaultManager(t *testing.T) { function TestDockerForNamedImage (line 33) | func TestDockerForNamedImage(t *testing.T) { function TestDockerForImagePullFailures (line 67) | func TestDockerForImagePullFailures(t *testing.T) { function TestDockerForExistingImage (line 209) | func TestDockerForExistingImage(t *testing.T) { function TestDockerGetImageById (line 228) | func TestDockerGetImageById(t *testing.T) { function TestDockerUnknownPolicyMode (line 247) | func TestDockerUnknownPolicyMode(t *testing.T) { function TestDockerPolicyModeNever (line 258) | func TestDockerPolicyModeNever(t *testing.T) { function TestDockerPolicyModeIfNotPresentForExistingImage (line 282) | func TestDockerPolicyModeIfNotPresentForExistingImage(t *testing.T) { function TestDockerPolicyModeIfNotPresentForNotExistingImage (line 299) | func TestDockerPolicyModeIfNotPresentForNotExistingImage(t *testing.T) { function TestDockerPolicyModeAlwaysForExistingImage (line 336) | func TestDockerPolicyModeAlwaysForExistingImage(t *testing.T) { function TestDockerPolicyModeAlwaysForLocalOnlyImage (line 364) | func TestDockerPolicyModeAlwaysForLocalOnlyImage(t *testing.T) { function TestDockerGetExistingDockerImageIfPullFails (line 388) | func TestDockerGetExistingDockerImageIfPullFails(t *testing.T) { function TestCombinedDockerPolicyModesAlwaysAndIfNotPresentForExistingImage (line 420) | func TestCombinedDockerPolicyModesAlwaysAndIfNotPresentForExistingImage(... function TestCombinedDockerPolicyModeAlwaysAndIfNotPresentForNonExistingImage (line 454) | func TestCombinedDockerPolicyModeAlwaysAndIfNotPresentForNonExistingImag... function TestPullPolicyWhenAlwaysIsSet (line 478) | func TestPullPolicyWhenAlwaysIsSet(t *testing.T) { function TestPullPolicyWhenIfNotPresentIsSet (line 493) | func TestPullPolicyWhenIfNotPresentIsSet(t *testing.T) { function TestPullPolicyPassedAsIfNotPresentForExistingAndConfigAlways (line 505) | func TestPullPolicyPassedAsIfNotPresentForExistingAndConfigAlways(t *tes... function TestPullPolicyPassedAsIfNotPresentForNonExistingAndConfigAlways (line 526) | func TestPullPolicyPassedAsIfNotPresentForNonExistingAndConfigAlways(t *... function TestPullPolicyPassedAsIfNotPresentButNotAllowedDefault (line 558) | func TestPullPolicyPassedAsIfNotPresentButNotAllowedDefault(t *testing.T) { function TestPullPolicyPassedAsIfNotPresentButNotAllowed (line 576) | func TestPullPolicyPassedAsIfNotPresentButNotAllowed(t *testing.T) { function TestPullPolicyWhenConfigIsNotAllowed (line 596) | func TestPullPolicyWhenConfigIsNotAllowed(t *testing.T) { function TestPullPolicyWhenConfigIsAllowed (line 616) | func TestPullPolicyWhenConfigIsAllowed(t *testing.T) { function TestPullPolicyWhenConfigPullPolicyIsInvalid (line 636) | func TestPullPolicyWhenConfigPullPolicyIsInvalid(t *testing.T) { function TestPullPolicyWhenConfigAllowedPullPoliciesIsInvalid (line 655) | func TestPullPolicyWhenConfigAllowedPullPoliciesIsInvalid(t *testing.T) { function newLoggerMock (line 674) | func newLoggerMock(t *testing.T) *mockPullLogger { function newDefaultTestManager (line 703) | func newDefaultTestManager(t *testing.T, client *docker.MockClient, dock... function testGetDockerImage (line 718) | func testGetDockerImage( function testDeniesDockerImage (line 738) | func testDeniesDockerImage( function addFindsLocalImageExpectations (line 757) | func addFindsLocalImageExpectations(c *docker.MockClient, imageName stri... function addPullsRemoteImageExpectations (line 763) | func addPullsRemoteImageExpectations(c *docker.MockClient, imageName str... function addDeniesPullExpectations (line 777) | func addDeniesPullExpectations(c *docker.MockClient, imageName string) { function Test_manager_getPullPolicies (line 787) | func Test_manager_getPullPolicies(t *testing.T) { function TestDockerGetImagePlatformSuccess (line 832) | func TestDockerGetImagePlatformSuccess(t *testing.T) { function TestGetDockerImageWithPlatform (line 855) | func TestGetDockerImageWithPlatform(t *testing.T) { function TestResolveAuthConfigForImageErrorsOnPathTraversal (line 865) | func TestResolveAuthConfigForImageErrorsOnPathTraversal(t *testing.T) { function TestResolveAuthConfigForImageWarnsMissingCredentialHelper (line 883) | func TestResolveAuthConfigForImageWarnsMissingCredentialHelper(t *testin... FILE: executors/docker/internal/pull/mocks.go function NewMockManager (line 16) | func NewMockManager(t interface { type MockManager (line 29) | type MockManager struct method EXPECT (line 37) | func (_m *MockManager) EXPECT() *MockManager_Expecter { method GetDockerImage (line 42) | func (_mock *MockManager) GetDockerImage(imageName string, options spe... type MockManager_Expecter (line 33) | type MockManager_Expecter struct method GetDockerImage (line 78) | func (_e *MockManager_Expecter) GetDockerImage(imageName interface{}, ... type MockManager_GetDockerImage_Call (line 70) | type MockManager_GetDockerImage_Call struct method Run (line 82) | func (_c *MockManager_GetDockerImage_Call) Run(run func(imageName stri... method Return (line 105) | func (_c *MockManager_GetDockerImage_Call) Return(inspectResponse *ima... method RunAndReturn (line 110) | func (_c *MockManager_GetDockerImage_Call) RunAndReturn(run func(image... function newMockPullLogger (line 117) | func newMockPullLogger(t interface { type mockPullLogger (line 130) | type mockPullLogger struct method EXPECT (line 138) | func (_m *mockPullLogger) EXPECT() *mockPullLogger_Expecter { method Debugln (line 143) | func (_mock *mockPullLogger) Debugln(args ...interface{}) { method Infoln (line 190) | func (_mock *mockPullLogger) Infoln(args ...interface{}) { method Println (line 237) | func (_mock *mockPullLogger) Println(args ...interface{}) { method Warningln (line 284) | func (_mock *mockPullLogger) Warningln(args ...interface{}) { type mockPullLogger_Expecter (line 134) | type mockPullLogger_Expecter struct method Debugln (line 157) | func (_e *mockPullLogger_Expecter) Debugln(args ...interface{}) *mockP... method Infoln (line 204) | func (_e *mockPullLogger_Expecter) Infoln(args ...interface{}) *mockPu... method Println (line 251) | func (_e *mockPullLogger_Expecter) Println(args ...interface{}) *mockP... method Warningln (line 298) | func (_e *mockPullLogger_Expecter) Warningln(args ...interface{}) *moc... type mockPullLogger_Debugln_Call (line 151) | type mockPullLogger_Debugln_Call struct method Run (line 162) | func (_c *mockPullLogger_Debugln_Call) Run(run func(args ...interface{... method Return (line 179) | func (_c *mockPullLogger_Debugln_Call) Return() *mockPullLogger_Debugl... method RunAndReturn (line 184) | func (_c *mockPullLogger_Debugln_Call) RunAndReturn(run func(args ...i... type mockPullLogger_Infoln_Call (line 198) | type mockPullLogger_Infoln_Call struct method Run (line 209) | func (_c *mockPullLogger_Infoln_Call) Run(run func(args ...interface{}... method Return (line 226) | func (_c *mockPullLogger_Infoln_Call) Return() *mockPullLogger_Infoln_... method RunAndReturn (line 231) | func (_c *mockPullLogger_Infoln_Call) RunAndReturn(run func(args ...in... type mockPullLogger_Println_Call (line 245) | type mockPullLogger_Println_Call struct method Run (line 256) | func (_c *mockPullLogger_Println_Call) Run(run func(args ...interface{... method Return (line 273) | func (_c *mockPullLogger_Println_Call) Return() *mockPullLogger_Printl... method RunAndReturn (line 278) | func (_c *mockPullLogger_Println_Call) RunAndReturn(run func(args ...i... type mockPullLogger_Warningln_Call (line 292) | type mockPullLogger_Warningln_Call struct method Run (line 303) | func (_c *mockPullLogger_Warningln_Call) Run(run func(args ...interfac... method Return (line 320) | func (_c *mockPullLogger_Warningln_Call) Return() *mockPullLogger_Warn... method RunAndReturn (line 325) | func (_c *mockPullLogger_Warningln_Call) RunAndReturn(run func(args ..... FILE: executors/docker/internal/user/mocks.go function NewMockInspect (line 15) | func NewMockInspect(t interface { type MockInspect (line 28) | type MockInspect struct method EXPECT (line 36) | func (_m *MockInspect) EXPECT() *MockInspect_Expecter { method GID (line 41) | func (_mock *MockInspect) GID(ctx context.Context, containerID string)... method IsRoot (line 107) | func (_mock *MockInspect) IsRoot(ctx context.Context, imageID string) ... method UID (line 173) | func (_mock *MockInspect) UID(ctx context.Context, containerID string)... type MockInspect_Expecter (line 32) | type MockInspect_Expecter struct method GID (line 74) | func (_e *MockInspect_Expecter) GID(ctx interface{}, containerID inter... method IsRoot (line 140) | func (_e *MockInspect_Expecter) IsRoot(ctx interface{}, imageID interf... method UID (line 206) | func (_e *MockInspect_Expecter) UID(ctx interface{}, containerID inter... type MockInspect_GID_Call (line 67) | type MockInspect_GID_Call struct method Run (line 78) | func (_c *MockInspect_GID_Call) Run(run func(ctx context.Context, cont... method Return (line 96) | func (_c *MockInspect_GID_Call) Return(n int, err error) *MockInspect_... method RunAndReturn (line 101) | func (_c *MockInspect_GID_Call) RunAndReturn(run func(ctx context.Cont... type MockInspect_IsRoot_Call (line 133) | type MockInspect_IsRoot_Call struct method Run (line 144) | func (_c *MockInspect_IsRoot_Call) Run(run func(ctx context.Context, i... method Return (line 162) | func (_c *MockInspect_IsRoot_Call) Return(b bool, err error) *MockInsp... method RunAndReturn (line 167) | func (_c *MockInspect_IsRoot_Call) RunAndReturn(run func(ctx context.C... type MockInspect_UID_Call (line 199) | type MockInspect_UID_Call struct method Run (line 210) | func (_c *MockInspect_UID_Call) Run(run func(ctx context.Context, cont... method Return (line 228) | func (_c *MockInspect_UID_Call) Return(n int, err error) *MockInspect_... method RunAndReturn (line 233) | func (_c *MockInspect_UID_Call) RunAndReturn(run func(ctx context.Cont... FILE: executors/docker/internal/user/user.go constant commandIDU (line 17) | commandIDU = "id -u" constant commandIDG (line 18) | commandIDG = "id -g" type Inspect (line 23) | type Inspect interface function NewInspect (line 29) | func NewInspect(c docker.Client, exec exec.Docker) Inspect { type defaultInspect (line 36) | type defaultInspect struct method IsRoot (line 41) | func (i *defaultInspect) IsRoot(ctx context.Context, imageID string) (... method UID (line 54) | func (i *defaultInspect) UID(ctx context.Context, containerID string) ... method GID (line 58) | func (i *defaultInspect) GID(ctx context.Context, containerID string) ... method executeCommand (line 68) | func (i *defaultInspect) executeCommand(ctx context.Context, container... function retrieveLastLine (line 62) | func retrieveLastLine(s string) string { FILE: executors/docker/internal/user/user_test.go function TestDefaultInspect_IsRoot (line 23) | func TestDefaultInspect_IsRoot(t *testing.T) { type uidAndGidTestCase (line 101) | type uidAndGidTestCase struct function TestDefaultInspect_UID (line 107) | func TestDefaultInspect_UID(t *testing.T) { function TestDefaultInspect_GID (line 117) | func TestDefaultInspect_GID(t *testing.T) { function testDefaultInspectUIDandGID (line 127) | func testDefaultInspectUIDandGID( FILE: executors/docker/internal/volumes/manager.go constant protectedSuffix (line 16) | protectedSuffix = "-protected" type Manager (line 18) | type Manager interface type ManagerConfig (line 25) | type ManagerConfig struct type manager (line 37) | type manager struct method Create (line 73) | func (m *manager) Create(ctx context.Context, volume string) error { method addHostVolume (line 101) | func (m *manager) addHostVolume(volume *parser.Volume) error { method absolutePath (line 119) | func (m *manager) absolutePath(dir string) (string, error) { method appendVolumeBind (line 131) | func (m *manager) appendVolumeBind(volume *parser.Volume) { method addCacheVolume (line 137) | func (m *manager) addCacheVolume(ctx context.Context, volume *parser.V... method createHostBasedCacheVolume (line 162) | func (m *manager) createHostBasedCacheVolume(destination string) error { method createCacheVolume (line 187) | func (m *manager) createCacheVolume( method CreateTemporary (line 249) | func (m *manager) CreateTemporary(ctx context.Context, destination str... method RemoveTemporary (line 263) | func (m *manager) RemoveTemporary(ctx context.Context) error { method Binds (line 279) | func (m *manager) Binds() []string { method withProtected (line 286) | func (m *manager) withProtected(s string) string { function NewManager (line 50) | func NewManager( FILE: executors/docker/internal/volumes/manager_integration_test.go function TestCreateVolumesLabels (line 24) | func TestCreateVolumesLabels(t *testing.T) { function TestCreateVolumesDriverOpts (line 93) | func TestCreateVolumesDriverOpts(t *testing.T) { FILE: executors/docker/internal/volumes/manager_integration_unix_test.go function parserCreator (line 12) | func parserCreator(varExpander func(string) string) parser.Parser { FILE: executors/docker/internal/volumes/manager_integration_windows_test.go function parserCreator (line 14) | func parserCreator(varExpander func(string) string) parser.Parser { FILE: executors/docker/internal/volumes/manager_test.go function TestErrVolumeAlreadyDefined (line 22) | func TestErrVolumeAlreadyDefined(t *testing.T) { function TestNewDefaultManager (line 27) | func TestNewDefaultManager(t *testing.T) { function newDefaultManager (line 34) | func newDefaultManager(t *testing.T, config ManagerConfig) *manager { function addUnixParser (line 52) | func addUnixParser(t *testing.T, manager *manager) *parser.MockParser { function addParser (line 56) | func addParser(t *testing.T, manager *manager, p parser.Path) *parser.Mo... function TestDefaultManager_CreateUserVolumes_HostVolume (line 64) | func TestDefaultManager_CreateUserVolumes_HostVolume(t *testing.T) { function TestDefaultManager_CreateUserVolumes_CacheVolume_Disabled (line 149) | func TestDefaultManager_CreateUserVolumes_CacheVolume_Disabled(t *testin... function TestDefaultManager_CreateUserVolumes_CacheVolume_HostBased (line 303) | func TestDefaultManager_CreateUserVolumes_CacheVolume_HostBased(t *testi... function TestDefaultManager_CreateUserVolumes_CacheVolume_VolumeBased (line 404) | func TestDefaultManager_CreateUserVolumes_CacheVolume_VolumeBased(t *tes... function TestDefaultManager_CreateUserVolumes_CacheVolume_VolumeBased_WithError (line 511) | func TestDefaultManager_CreateUserVolumes_CacheVolume_VolumeBased_WithEr... function TestDefaultManager_CreateUserVolumes_CacheVolume_Disabled_WithError (line 539) | func TestDefaultManager_CreateUserVolumes_CacheVolume_Disabled_WithError... function TestDefaultManager_CreateUserVolumes_CacheVolume_Disabled_TracksTemporaryVolumesForCleanup (line 570) | func TestDefaultManager_CreateUserVolumes_CacheVolume_Disabled_TracksTem... function TestDefaultManager_CreateUserVolumes_ParserError (line 606) | func TestDefaultManager_CreateUserVolumes_ParserError(t *testing.T) { function TestDefaultManager_CreateTemporary (line 621) | func TestDefaultManager_CreateTemporary(t *testing.T) { function TestDefaultManager_RemoveTemporary (line 718) | func TestDefaultManager_RemoveTemporary(t *testing.T) { function TestDefaultManager_Binds (line 771) | func TestDefaultManager_Binds(t *testing.T) { function testVolumeCreatOpts (line 780) | func testVolumeCreatOpts(name string, additionalLabels map[string]string... FILE: executors/docker/internal/volumes/manager_windows_test.go function TestDefaultManager_CreateUserVolumes_CacheVolume_VolumeBased_Windows (line 21) | func TestDefaultManager_CreateUserVolumes_CacheVolume_VolumeBased_Window... FILE: executors/docker/internal/volumes/mocks.go function NewMockManager (line 15) | func NewMockManager(t interface { type MockManager (line 28) | type MockManager struct method EXPECT (line 36) | func (_m *MockManager) EXPECT() *MockManager_Expecter { method Binds (line 41) | func (_mock *MockManager) Binds() []string { method Create (line 87) | func (_mock *MockManager) Create(ctx context.Context, volume string) e... method CreateTemporary (line 144) | func (_mock *MockManager) CreateTemporary(ctx context.Context, destina... method RemoveTemporary (line 201) | func (_mock *MockManager) RemoveTemporary(ctx context.Context) error { type MockManager_Expecter (line 32) | type MockManager_Expecter struct method Binds (line 65) | func (_e *MockManager_Expecter) Binds() *MockManager_Binds_Call { method Create (line 111) | func (_e *MockManager_Expecter) Create(ctx interface{}, volume interfa... method CreateTemporary (line 168) | func (_e *MockManager_Expecter) CreateTemporary(ctx interface{}, desti... method RemoveTemporary (line 224) | func (_e *MockManager_Expecter) RemoveTemporary(ctx interface{}) *Mock... type MockManager_Binds_Call (line 60) | type MockManager_Binds_Call struct method Run (line 69) | func (_c *MockManager_Binds_Call) Run(run func()) *MockManager_Binds_C... method Return (line 76) | func (_c *MockManager_Binds_Call) Return(strings []string) *MockManage... method RunAndReturn (line 81) | func (_c *MockManager_Binds_Call) RunAndReturn(run func() []string) *M... type MockManager_Create_Call (line 104) | type MockManager_Create_Call struct method Run (line 115) | func (_c *MockManager_Create_Call) Run(run func(ctx context.Context, v... method Return (line 133) | func (_c *MockManager_Create_Call) Return(err error) *MockManager_Crea... method RunAndReturn (line 138) | func (_c *MockManager_Create_Call) RunAndReturn(run func(ctx context.C... type MockManager_CreateTemporary_Call (line 161) | type MockManager_CreateTemporary_Call struct method Run (line 172) | func (_c *MockManager_CreateTemporary_Call) Run(run func(ctx context.C... method Return (line 190) | func (_c *MockManager_CreateTemporary_Call) Return(err error) *MockMan... method RunAndReturn (line 195) | func (_c *MockManager_CreateTemporary_Call) RunAndReturn(run func(ctx ... type MockManager_RemoveTemporary_Call (line 218) | type MockManager_RemoveTemporary_Call struct method Run (line 228) | func (_c *MockManager_RemoveTemporary_Call) Run(run func(ctx context.C... method Return (line 241) | func (_c *MockManager_RemoveTemporary_Call) Return(err error) *MockMan... method RunAndReturn (line 246) | func (_c *MockManager_RemoveTemporary_Call) RunAndReturn(run func(ctx ... function newMockDebugLogger (line 253) | func newMockDebugLogger(t interface { type mockDebugLogger (line 266) | type mockDebugLogger struct method EXPECT (line 274) | func (_m *mockDebugLogger) EXPECT() *mockDebugLogger_Expecter { method Debugln (line 279) | func (_mock *mockDebugLogger) Debugln(args ...interface{}) { type mockDebugLogger_Expecter (line 270) | type mockDebugLogger_Expecter struct method Debugln (line 293) | func (_e *mockDebugLogger_Expecter) Debugln(args ...interface{}) *mock... type mockDebugLogger_Debugln_Call (line 287) | type mockDebugLogger_Debugln_Call struct method Run (line 298) | func (_c *mockDebugLogger_Debugln_Call) Run(run func(args ...interface... method Return (line 315) | func (_c *mockDebugLogger_Debugln_Call) Return() *mockDebugLogger_Debu... method RunAndReturn (line 320) | func (_c *mockDebugLogger_Debugln_Call) RunAndReturn(run func(args ...... FILE: executors/docker/internal/volumes/parser/base_parser.go type baseParser (line 7) | type baseParser struct method matchesToVolumeSpecParts (line 20) | func (p *baseParser) matchesToVolumeSpecParts(spec string, specExp *re... method Path (line 58) | func (p *baseParser) Path() Path { FILE: executors/docker/internal/volumes/parser/errors.go type InvalidVolumeSpecError (line 7) | type InvalidVolumeSpecError struct method Error (line 11) | func (e *InvalidVolumeSpecError) Error() string { function NewInvalidVolumeSpecErr (line 15) | func NewInvalidVolumeSpecErr(spec string) error { FILE: executors/docker/internal/volumes/parser/linux_parser.go constant linuxDir (line 10) | linuxDir = `/(?:[^\\/:*?"<>|\r\n ]+/?)*` constant linuxVolumeName (line 11) | linuxVolumeName = `[^\\/:*?"<>|\r\n]+` constant linuxSource (line 13) | linuxSource = `((?P((` + linuxDir + `)|(` + linuxVolumeName + `)... constant linuxDestination (line 15) | linuxDestination = `(?P(?:` + linuxDir + `))` constant linuxMode (line 16) | linuxMode = `(:(?P(?i)(ro|rw|O)))?` constant linuxLabel (line 17) | linuxLabel = `((:|,)(?P