id int32 0 167k | repo stringlengths 5 54 | path stringlengths 4 155 | func_name stringlengths 1 118 | original_string stringlengths 52 85.5k | language stringclasses 1
value | code stringlengths 52 85.5k | code_tokens listlengths 21 1.41k | docstring stringlengths 6 2.61k | docstring_tokens listlengths 3 215 | sha stringlengths 40 40 | url stringlengths 85 252 |
|---|---|---|---|---|---|---|---|---|---|---|---|
25,100 | apex/apex | mock/lambdaiface.go | GetAliasRequest | func (m *MockLambdaAPI) GetAliasRequest(arg0 *lambda.GetAliasInput) (*request.Request, *lambda.AliasConfiguration) {
ret := m.ctrl.Call(m, "GetAliasRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.AliasConfiguration)
return ret0, ret1
} | go | func (m *MockLambdaAPI) GetAliasRequest(arg0 *lambda.GetAliasInput) (*request.Request, *lambda.AliasConfiguration) {
ret := m.ctrl.Call(m, "GetAliasRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.AliasConfiguration)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetAliasRequest",
"(",
"arg0",
"*",
"lambda",
".",
"GetAliasInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"AliasConfiguration",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Ca... | // GetAliasRequest mocks base method | [
"GetAliasRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L448-L453 |
25,101 | apex/apex | mock/lambdaiface.go | GetEventSourceMapping | func (m *MockLambdaAPI) GetEventSourceMapping(arg0 *lambda.GetEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error) {
ret := m.ctrl.Call(m, "GetEventSourceMapping", arg0)
ret0, _ := ret[0].(*lambda.EventSourceMappingConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) GetEventSourceMapping(arg0 *lambda.GetEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error) {
ret := m.ctrl.Call(m, "GetEventSourceMapping", arg0)
ret0, _ := ret[0].(*lambda.EventSourceMappingConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetEventSourceMapping",
"(",
"arg0",
"*",
"lambda",
".",
"GetEventSourceMappingInput",
")",
"(",
"*",
"lambda",
".",
"EventSourceMappingConfiguration",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
... | // GetEventSourceMapping mocks base method | [
"GetEventSourceMapping",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L479-L484 |
25,102 | apex/apex | mock/lambdaiface.go | GetEventSourceMappingRequest | func (m *MockLambdaAPI) GetEventSourceMappingRequest(arg0 *lambda.GetEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration) {
ret := m.ctrl.Call(m, "GetEventSourceMappingRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.EventSourceMappingConfiguration)
ret... | go | func (m *MockLambdaAPI) GetEventSourceMappingRequest(arg0 *lambda.GetEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration) {
ret := m.ctrl.Call(m, "GetEventSourceMappingRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.EventSourceMappingConfiguration)
ret... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetEventSourceMappingRequest",
"(",
"arg0",
"*",
"lambda",
".",
"GetEventSourceMappingInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"EventSourceMappingConfiguration",
")",
"{",
"ret",
":=... | // GetEventSourceMappingRequest mocks base method | [
"GetEventSourceMappingRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L492-L497 |
25,103 | apex/apex | mock/lambdaiface.go | GetFunction | func (m *MockLambdaAPI) GetFunction(arg0 *lambda.GetFunctionInput) (*lambda.GetFunctionOutput, error) {
ret := m.ctrl.Call(m, "GetFunction", arg0)
ret0, _ := ret[0].(*lambda.GetFunctionOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) GetFunction(arg0 *lambda.GetFunctionInput) (*lambda.GetFunctionOutput, error) {
ret := m.ctrl.Call(m, "GetFunction", arg0)
ret0, _ := ret[0].(*lambda.GetFunctionOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetFunction",
"(",
"arg0",
"*",
"lambda",
".",
"GetFunctionInput",
")",
"(",
"*",
"lambda",
".",
"GetFunctionOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
",",
"\"... | // GetFunction mocks base method | [
"GetFunction",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L523-L528 |
25,104 | apex/apex | mock/lambdaiface.go | GetFunctionConfiguration | func (m *MockLambdaAPI) GetFunctionConfiguration(arg0 *lambda.GetFunctionConfigurationInput) (*lambda.FunctionConfiguration, error) {
ret := m.ctrl.Call(m, "GetFunctionConfiguration", arg0)
ret0, _ := ret[0].(*lambda.FunctionConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) GetFunctionConfiguration(arg0 *lambda.GetFunctionConfigurationInput) (*lambda.FunctionConfiguration, error) {
ret := m.ctrl.Call(m, "GetFunctionConfiguration", arg0)
ret0, _ := ret[0].(*lambda.FunctionConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetFunctionConfiguration",
"(",
"arg0",
"*",
"lambda",
".",
"GetFunctionConfigurationInput",
")",
"(",
"*",
"lambda",
".",
"FunctionConfiguration",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Cal... | // GetFunctionConfiguration mocks base method | [
"GetFunctionConfiguration",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L536-L541 |
25,105 | apex/apex | mock/lambdaiface.go | GetFunctionConfigurationRequest | func (m *MockLambdaAPI) GetFunctionConfigurationRequest(arg0 *lambda.GetFunctionConfigurationInput) (*request.Request, *lambda.FunctionConfiguration) {
ret := m.ctrl.Call(m, "GetFunctionConfigurationRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.FunctionConfiguration)
return ret0, r... | go | func (m *MockLambdaAPI) GetFunctionConfigurationRequest(arg0 *lambda.GetFunctionConfigurationInput) (*request.Request, *lambda.FunctionConfiguration) {
ret := m.ctrl.Call(m, "GetFunctionConfigurationRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.FunctionConfiguration)
return ret0, r... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetFunctionConfigurationRequest",
"(",
"arg0",
"*",
"lambda",
".",
"GetFunctionConfigurationInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"FunctionConfiguration",
")",
"{",
"ret",
":=",
... | // GetFunctionConfigurationRequest mocks base method | [
"GetFunctionConfigurationRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L549-L554 |
25,106 | apex/apex | mock/lambdaiface.go | GetFunctionConfigurationWithContext | func (m *MockLambdaAPI) GetFunctionConfigurationWithContext(arg0 aws.Context, arg1 *lambda.GetFunctionConfigurationInput, arg2 ...request.Option) (*lambda.FunctionConfiguration, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetFunction... | go | func (m *MockLambdaAPI) GetFunctionConfigurationWithContext(arg0 aws.Context, arg1 *lambda.GetFunctionConfigurationInput, arg2 ...request.Option) (*lambda.FunctionConfiguration, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetFunction... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetFunctionConfigurationWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"GetFunctionConfigurationInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
"."... | // GetFunctionConfigurationWithContext mocks base method | [
"GetFunctionConfigurationWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L562-L571 |
25,107 | apex/apex | mock/lambdaiface.go | GetFunctionRequest | func (m *MockLambdaAPI) GetFunctionRequest(arg0 *lambda.GetFunctionInput) (*request.Request, *lambda.GetFunctionOutput) {
ret := m.ctrl.Call(m, "GetFunctionRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.GetFunctionOutput)
return ret0, ret1
} | go | func (m *MockLambdaAPI) GetFunctionRequest(arg0 *lambda.GetFunctionInput) (*request.Request, *lambda.GetFunctionOutput) {
ret := m.ctrl.Call(m, "GetFunctionRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.GetFunctionOutput)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetFunctionRequest",
"(",
"arg0",
"*",
"lambda",
".",
"GetFunctionInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"GetFunctionOutput",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
... | // GetFunctionRequest mocks base method | [
"GetFunctionRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L580-L585 |
25,108 | apex/apex | mock/lambdaiface.go | GetFunctionWithContext | func (m *MockLambdaAPI) GetFunctionWithContext(arg0 aws.Context, arg1 *lambda.GetFunctionInput, arg2 ...request.Option) (*lambda.GetFunctionOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetFunctionWithContext", varargs...)
ret... | go | func (m *MockLambdaAPI) GetFunctionWithContext(arg0 aws.Context, arg1 *lambda.GetFunctionInput, arg2 ...request.Option) (*lambda.GetFunctionOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetFunctionWithContext", varargs...)
ret... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetFunctionWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"GetFunctionInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
"GetFunctionOutput",
... | // GetFunctionWithContext mocks base method | [
"GetFunctionWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L593-L602 |
25,109 | apex/apex | mock/lambdaiface.go | GetPolicy | func (m *MockLambdaAPI) GetPolicy(arg0 *lambda.GetPolicyInput) (*lambda.GetPolicyOutput, error) {
ret := m.ctrl.Call(m, "GetPolicy", arg0)
ret0, _ := ret[0].(*lambda.GetPolicyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) GetPolicy(arg0 *lambda.GetPolicyInput) (*lambda.GetPolicyOutput, error) {
ret := m.ctrl.Call(m, "GetPolicy", arg0)
ret0, _ := ret[0].(*lambda.GetPolicyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetPolicy",
"(",
"arg0",
"*",
"lambda",
".",
"GetPolicyInput",
")",
"(",
"*",
"lambda",
".",
"GetPolicyOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
",",
"\"",
"... | // GetPolicy mocks base method | [
"GetPolicy",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L611-L616 |
25,110 | apex/apex | mock/lambdaiface.go | GetPolicyRequest | func (m *MockLambdaAPI) GetPolicyRequest(arg0 *lambda.GetPolicyInput) (*request.Request, *lambda.GetPolicyOutput) {
ret := m.ctrl.Call(m, "GetPolicyRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.GetPolicyOutput)
return ret0, ret1
} | go | func (m *MockLambdaAPI) GetPolicyRequest(arg0 *lambda.GetPolicyInput) (*request.Request, *lambda.GetPolicyOutput) {
ret := m.ctrl.Call(m, "GetPolicyRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.GetPolicyOutput)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetPolicyRequest",
"(",
"arg0",
"*",
"lambda",
".",
"GetPolicyInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"GetPolicyOutput",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Cal... | // GetPolicyRequest mocks base method | [
"GetPolicyRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L624-L629 |
25,111 | apex/apex | mock/lambdaiface.go | GetPolicyWithContext | func (m *MockLambdaAPI) GetPolicyWithContext(arg0 aws.Context, arg1 *lambda.GetPolicyInput, arg2 ...request.Option) (*lambda.GetPolicyOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetPolicyWithContext", varargs...)
ret0, _ := ... | go | func (m *MockLambdaAPI) GetPolicyWithContext(arg0 aws.Context, arg1 *lambda.GetPolicyInput, arg2 ...request.Option) (*lambda.GetPolicyOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetPolicyWithContext", varargs...)
ret0, _ := ... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"GetPolicyWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"GetPolicyInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
"GetPolicyOutput",
",",
... | // GetPolicyWithContext mocks base method | [
"GetPolicyWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L637-L646 |
25,112 | apex/apex | mock/lambdaiface.go | Invoke | func (m *MockLambdaAPI) Invoke(arg0 *lambda.InvokeInput) (*lambda.InvokeOutput, error) {
ret := m.ctrl.Call(m, "Invoke", arg0)
ret0, _ := ret[0].(*lambda.InvokeOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) Invoke(arg0 *lambda.InvokeInput) (*lambda.InvokeOutput, error) {
ret := m.ctrl.Call(m, "Invoke", arg0)
ret0, _ := ret[0].(*lambda.InvokeOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"Invoke",
"(",
"arg0",
"*",
"lambda",
".",
"InvokeInput",
")",
"(",
"*",
"lambda",
".",
"InvokeOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
",",
"\"",
"\"",
",... | // Invoke mocks base method | [
"Invoke",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L655-L660 |
25,113 | apex/apex | mock/lambdaiface.go | InvokeAsync | func (m *MockLambdaAPI) InvokeAsync(arg0 *lambda.InvokeAsyncInput) (*lambda.InvokeAsyncOutput, error) {
ret := m.ctrl.Call(m, "InvokeAsync", arg0)
ret0, _ := ret[0].(*lambda.InvokeAsyncOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) InvokeAsync(arg0 *lambda.InvokeAsyncInput) (*lambda.InvokeAsyncOutput, error) {
ret := m.ctrl.Call(m, "InvokeAsync", arg0)
ret0, _ := ret[0].(*lambda.InvokeAsyncOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"InvokeAsync",
"(",
"arg0",
"*",
"lambda",
".",
"InvokeAsyncInput",
")",
"(",
"*",
"lambda",
".",
"InvokeAsyncOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
",",
"\"... | // InvokeAsync mocks base method | [
"InvokeAsync",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L668-L673 |
25,114 | apex/apex | mock/lambdaiface.go | InvokeAsyncRequest | func (m *MockLambdaAPI) InvokeAsyncRequest(arg0 *lambda.InvokeAsyncInput) (*request.Request, *lambda.InvokeAsyncOutput) {
ret := m.ctrl.Call(m, "InvokeAsyncRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.InvokeAsyncOutput)
return ret0, ret1
} | go | func (m *MockLambdaAPI) InvokeAsyncRequest(arg0 *lambda.InvokeAsyncInput) (*request.Request, *lambda.InvokeAsyncOutput) {
ret := m.ctrl.Call(m, "InvokeAsyncRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.InvokeAsyncOutput)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"InvokeAsyncRequest",
"(",
"arg0",
"*",
"lambda",
".",
"InvokeAsyncInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"InvokeAsyncOutput",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
... | // InvokeAsyncRequest mocks base method | [
"InvokeAsyncRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L681-L686 |
25,115 | apex/apex | mock/lambdaiface.go | InvokeAsyncWithContext | func (m *MockLambdaAPI) InvokeAsyncWithContext(arg0 aws.Context, arg1 *lambda.InvokeAsyncInput, arg2 ...request.Option) (*lambda.InvokeAsyncOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "InvokeAsyncWithContext", varargs...)
ret... | go | func (m *MockLambdaAPI) InvokeAsyncWithContext(arg0 aws.Context, arg1 *lambda.InvokeAsyncInput, arg2 ...request.Option) (*lambda.InvokeAsyncOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "InvokeAsyncWithContext", varargs...)
ret... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"InvokeAsyncWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"InvokeAsyncInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
"InvokeAsyncOutput",
... | // InvokeAsyncWithContext mocks base method | [
"InvokeAsyncWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L694-L703 |
25,116 | apex/apex | mock/lambdaiface.go | InvokeRequest | func (m *MockLambdaAPI) InvokeRequest(arg0 *lambda.InvokeInput) (*request.Request, *lambda.InvokeOutput) {
ret := m.ctrl.Call(m, "InvokeRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.InvokeOutput)
return ret0, ret1
} | go | func (m *MockLambdaAPI) InvokeRequest(arg0 *lambda.InvokeInput) (*request.Request, *lambda.InvokeOutput) {
ret := m.ctrl.Call(m, "InvokeRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.InvokeOutput)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"InvokeRequest",
"(",
"arg0",
"*",
"lambda",
".",
"InvokeInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"InvokeOutput",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"("... | // InvokeRequest mocks base method | [
"InvokeRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L712-L717 |
25,117 | apex/apex | mock/lambdaiface.go | InvokeWithContext | func (m *MockLambdaAPI) InvokeWithContext(arg0 aws.Context, arg1 *lambda.InvokeInput, arg2 ...request.Option) (*lambda.InvokeOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "InvokeWithContext", varargs...)
ret0, _ := ret[0].(*lam... | go | func (m *MockLambdaAPI) InvokeWithContext(arg0 aws.Context, arg1 *lambda.InvokeInput, arg2 ...request.Option) (*lambda.InvokeOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "InvokeWithContext", varargs...)
ret0, _ := ret[0].(*lam... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"InvokeWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"InvokeInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
"InvokeOutput",
",",
"error"... | // InvokeWithContext mocks base method | [
"InvokeWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L725-L734 |
25,118 | apex/apex | mock/lambdaiface.go | ListAliases | func (m *MockLambdaAPI) ListAliases(arg0 *lambda.ListAliasesInput) (*lambda.ListAliasesOutput, error) {
ret := m.ctrl.Call(m, "ListAliases", arg0)
ret0, _ := ret[0].(*lambda.ListAliasesOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) ListAliases(arg0 *lambda.ListAliasesInput) (*lambda.ListAliasesOutput, error) {
ret := m.ctrl.Call(m, "ListAliases", arg0)
ret0, _ := ret[0].(*lambda.ListAliasesOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListAliases",
"(",
"arg0",
"*",
"lambda",
".",
"ListAliasesInput",
")",
"(",
"*",
"lambda",
".",
"ListAliasesOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
",",
"\"... | // ListAliases mocks base method | [
"ListAliases",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L743-L748 |
25,119 | apex/apex | mock/lambdaiface.go | ListAliasesRequest | func (m *MockLambdaAPI) ListAliasesRequest(arg0 *lambda.ListAliasesInput) (*request.Request, *lambda.ListAliasesOutput) {
ret := m.ctrl.Call(m, "ListAliasesRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.ListAliasesOutput)
return ret0, ret1
} | go | func (m *MockLambdaAPI) ListAliasesRequest(arg0 *lambda.ListAliasesInput) (*request.Request, *lambda.ListAliasesOutput) {
ret := m.ctrl.Call(m, "ListAliasesRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.ListAliasesOutput)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListAliasesRequest",
"(",
"arg0",
"*",
"lambda",
".",
"ListAliasesInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"ListAliasesOutput",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
... | // ListAliasesRequest mocks base method | [
"ListAliasesRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L756-L761 |
25,120 | apex/apex | mock/lambdaiface.go | ListAliasesRequest | func (mr *MockLambdaAPIMockRecorder) ListAliasesRequest(arg0 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAliasesRequest", reflect.TypeOf((*MockLambdaAPI)(nil).ListAliasesRequest), arg0)
} | go | func (mr *MockLambdaAPIMockRecorder) ListAliasesRequest(arg0 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAliasesRequest", reflect.TypeOf((*MockLambdaAPI)(nil).ListAliasesRequest), arg0)
} | [
"func",
"(",
"mr",
"*",
"MockLambdaAPIMockRecorder",
")",
"ListAliasesRequest",
"(",
"arg0",
"interface",
"{",
"}",
")",
"*",
"gomock",
".",
"Call",
"{",
"return",
"mr",
".",
"mock",
".",
"ctrl",
".",
"RecordCallWithMethodType",
"(",
"mr",
".",
"mock",
","... | // ListAliasesRequest indicates an expected call of ListAliasesRequest | [
"ListAliasesRequest",
"indicates",
"an",
"expected",
"call",
"of",
"ListAliasesRequest"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L764-L766 |
25,121 | apex/apex | mock/lambdaiface.go | ListAliasesWithContext | func (m *MockLambdaAPI) ListAliasesWithContext(arg0 aws.Context, arg1 *lambda.ListAliasesInput, arg2 ...request.Option) (*lambda.ListAliasesOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListAliasesWithContext", varargs...)
ret... | go | func (m *MockLambdaAPI) ListAliasesWithContext(arg0 aws.Context, arg1 *lambda.ListAliasesInput, arg2 ...request.Option) (*lambda.ListAliasesOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListAliasesWithContext", varargs...)
ret... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListAliasesWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"ListAliasesInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
"ListAliasesOutput",
... | // ListAliasesWithContext mocks base method | [
"ListAliasesWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L769-L778 |
25,122 | apex/apex | mock/lambdaiface.go | ListAliasesWithContext | func (mr *MockLambdaAPIMockRecorder) ListAliasesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAliasesWithContext", reflect.TypeOf((*MockLambdaAPI)(nil).ListAliasesWithContext), va... | go | func (mr *MockLambdaAPIMockRecorder) ListAliasesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAliasesWithContext", reflect.TypeOf((*MockLambdaAPI)(nil).ListAliasesWithContext), va... | [
"func",
"(",
"mr",
"*",
"MockLambdaAPIMockRecorder",
")",
"ListAliasesWithContext",
"(",
"arg0",
",",
"arg1",
"interface",
"{",
"}",
",",
"arg2",
"...",
"interface",
"{",
"}",
")",
"*",
"gomock",
".",
"Call",
"{",
"varargs",
":=",
"append",
"(",
"[",
"]"... | // ListAliasesWithContext indicates an expected call of ListAliasesWithContext | [
"ListAliasesWithContext",
"indicates",
"an",
"expected",
"call",
"of",
"ListAliasesWithContext"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L781-L784 |
25,123 | apex/apex | mock/lambdaiface.go | ListEventSourceMappings | func (m *MockLambdaAPI) ListEventSourceMappings(arg0 *lambda.ListEventSourceMappingsInput) (*lambda.ListEventSourceMappingsOutput, error) {
ret := m.ctrl.Call(m, "ListEventSourceMappings", arg0)
ret0, _ := ret[0].(*lambda.ListEventSourceMappingsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) ListEventSourceMappings(arg0 *lambda.ListEventSourceMappingsInput) (*lambda.ListEventSourceMappingsOutput, error) {
ret := m.ctrl.Call(m, "ListEventSourceMappings", arg0)
ret0, _ := ret[0].(*lambda.ListEventSourceMappingsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListEventSourceMappings",
"(",
"arg0",
"*",
"lambda",
".",
"ListEventSourceMappingsInput",
")",
"(",
"*",
"lambda",
".",
"ListEventSourceMappingsOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
... | // ListEventSourceMappings mocks base method | [
"ListEventSourceMappings",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L787-L792 |
25,124 | apex/apex | mock/lambdaiface.go | ListEventSourceMappingsPages | func (m *MockLambdaAPI) ListEventSourceMappingsPages(arg0 *lambda.ListEventSourceMappingsInput, arg1 func(*lambda.ListEventSourceMappingsOutput, bool) bool) error {
ret := m.ctrl.Call(m, "ListEventSourceMappingsPages", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
} | go | func (m *MockLambdaAPI) ListEventSourceMappingsPages(arg0 *lambda.ListEventSourceMappingsInput, arg1 func(*lambda.ListEventSourceMappingsOutput, bool) bool) error {
ret := m.ctrl.Call(m, "ListEventSourceMappingsPages", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListEventSourceMappingsPages",
"(",
"arg0",
"*",
"lambda",
".",
"ListEventSourceMappingsInput",
",",
"arg1",
"func",
"(",
"*",
"lambda",
".",
"ListEventSourceMappingsOutput",
",",
"bool",
")",
"bool",
")",
"error",
"... | // ListEventSourceMappingsPages mocks base method | [
"ListEventSourceMappingsPages",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L800-L804 |
25,125 | apex/apex | mock/lambdaiface.go | ListEventSourceMappingsRequest | func (m *MockLambdaAPI) ListEventSourceMappingsRequest(arg0 *lambda.ListEventSourceMappingsInput) (*request.Request, *lambda.ListEventSourceMappingsOutput) {
ret := m.ctrl.Call(m, "ListEventSourceMappingsRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.ListEventSourceMappingsOutput)
r... | go | func (m *MockLambdaAPI) ListEventSourceMappingsRequest(arg0 *lambda.ListEventSourceMappingsInput) (*request.Request, *lambda.ListEventSourceMappingsOutput) {
ret := m.ctrl.Call(m, "ListEventSourceMappingsRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.ListEventSourceMappingsOutput)
r... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListEventSourceMappingsRequest",
"(",
"arg0",
"*",
"lambda",
".",
"ListEventSourceMappingsInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"ListEventSourceMappingsOutput",
")",
"{",
"ret",
"... | // ListEventSourceMappingsRequest mocks base method | [
"ListEventSourceMappingsRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L829-L834 |
25,126 | apex/apex | mock/lambdaiface.go | ListEventSourceMappingsWithContext | func (m *MockLambdaAPI) ListEventSourceMappingsWithContext(arg0 aws.Context, arg1 *lambda.ListEventSourceMappingsInput, arg2 ...request.Option) (*lambda.ListEventSourceMappingsOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListE... | go | func (m *MockLambdaAPI) ListEventSourceMappingsWithContext(arg0 aws.Context, arg1 *lambda.ListEventSourceMappingsInput, arg2 ...request.Option) (*lambda.ListEventSourceMappingsOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListE... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListEventSourceMappingsWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"ListEventSourceMappingsInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
... | // ListEventSourceMappingsWithContext mocks base method | [
"ListEventSourceMappingsWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L842-L851 |
25,127 | apex/apex | mock/lambdaiface.go | ListFunctions | func (m *MockLambdaAPI) ListFunctions(arg0 *lambda.ListFunctionsInput) (*lambda.ListFunctionsOutput, error) {
ret := m.ctrl.Call(m, "ListFunctions", arg0)
ret0, _ := ret[0].(*lambda.ListFunctionsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) ListFunctions(arg0 *lambda.ListFunctionsInput) (*lambda.ListFunctionsOutput, error) {
ret := m.ctrl.Call(m, "ListFunctions", arg0)
ret0, _ := ret[0].(*lambda.ListFunctionsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListFunctions",
"(",
"arg0",
"*",
"lambda",
".",
"ListFunctionsInput",
")",
"(",
"*",
"lambda",
".",
"ListFunctionsOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
",",... | // ListFunctions mocks base method | [
"ListFunctions",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L860-L865 |
25,128 | apex/apex | mock/lambdaiface.go | ListFunctionsPages | func (m *MockLambdaAPI) ListFunctionsPages(arg0 *lambda.ListFunctionsInput, arg1 func(*lambda.ListFunctionsOutput, bool) bool) error {
ret := m.ctrl.Call(m, "ListFunctionsPages", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
} | go | func (m *MockLambdaAPI) ListFunctionsPages(arg0 *lambda.ListFunctionsInput, arg1 func(*lambda.ListFunctionsOutput, bool) bool) error {
ret := m.ctrl.Call(m, "ListFunctionsPages", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListFunctionsPages",
"(",
"arg0",
"*",
"lambda",
".",
"ListFunctionsInput",
",",
"arg1",
"func",
"(",
"*",
"lambda",
".",
"ListFunctionsOutput",
",",
"bool",
")",
"bool",
")",
"error",
"{",
"ret",
":=",
"m",
... | // ListFunctionsPages mocks base method | [
"ListFunctionsPages",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L873-L877 |
25,129 | apex/apex | mock/lambdaiface.go | ListFunctionsPagesWithContext | func (m *MockLambdaAPI) ListFunctionsPagesWithContext(arg0 aws.Context, arg1 *lambda.ListFunctionsInput, arg2 func(*lambda.ListFunctionsOutput, bool) bool, arg3 ...request.Option) error {
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "List... | go | func (m *MockLambdaAPI) ListFunctionsPagesWithContext(arg0 aws.Context, arg1 *lambda.ListFunctionsInput, arg2 func(*lambda.ListFunctionsOutput, bool) bool, arg3 ...request.Option) error {
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "List... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListFunctionsPagesWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"ListFunctionsInput",
",",
"arg2",
"func",
"(",
"*",
"lambda",
".",
"ListFunctionsOutput",
",",
"bool",
")",
"b... | // ListFunctionsPagesWithContext mocks base method | [
"ListFunctionsPagesWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L885-L893 |
25,130 | apex/apex | mock/lambdaiface.go | ListFunctionsRequest | func (m *MockLambdaAPI) ListFunctionsRequest(arg0 *lambda.ListFunctionsInput) (*request.Request, *lambda.ListFunctionsOutput) {
ret := m.ctrl.Call(m, "ListFunctionsRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.ListFunctionsOutput)
return ret0, ret1
} | go | func (m *MockLambdaAPI) ListFunctionsRequest(arg0 *lambda.ListFunctionsInput) (*request.Request, *lambda.ListFunctionsOutput) {
ret := m.ctrl.Call(m, "ListFunctionsRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.ListFunctionsOutput)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListFunctionsRequest",
"(",
"arg0",
"*",
"lambda",
".",
"ListFunctionsInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"ListFunctionsOutput",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
... | // ListFunctionsRequest mocks base method | [
"ListFunctionsRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L902-L907 |
25,131 | apex/apex | mock/lambdaiface.go | ListTags | func (m *MockLambdaAPI) ListTags(arg0 *lambda.ListTagsInput) (*lambda.ListTagsOutput, error) {
ret := m.ctrl.Call(m, "ListTags", arg0)
ret0, _ := ret[0].(*lambda.ListTagsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) ListTags(arg0 *lambda.ListTagsInput) (*lambda.ListTagsOutput, error) {
ret := m.ctrl.Call(m, "ListTags", arg0)
ret0, _ := ret[0].(*lambda.ListTagsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListTags",
"(",
"arg0",
"*",
"lambda",
".",
"ListTagsInput",
")",
"(",
"*",
"lambda",
".",
"ListTagsOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
",",
"\"",
"\""... | // ListTags mocks base method | [
"ListTags",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L933-L938 |
25,132 | apex/apex | mock/lambdaiface.go | ListTagsRequest | func (m *MockLambdaAPI) ListTagsRequest(arg0 *lambda.ListTagsInput) (*request.Request, *lambda.ListTagsOutput) {
ret := m.ctrl.Call(m, "ListTagsRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.ListTagsOutput)
return ret0, ret1
} | go | func (m *MockLambdaAPI) ListTagsRequest(arg0 *lambda.ListTagsInput) (*request.Request, *lambda.ListTagsOutput) {
ret := m.ctrl.Call(m, "ListTagsRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.ListTagsOutput)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListTagsRequest",
"(",
"arg0",
"*",
"lambda",
".",
"ListTagsInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"ListTagsOutput",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",... | // ListTagsRequest mocks base method | [
"ListTagsRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L946-L951 |
25,133 | apex/apex | mock/lambdaiface.go | ListTagsWithContext | func (m *MockLambdaAPI) ListTagsWithContext(arg0 aws.Context, arg1 *lambda.ListTagsInput, arg2 ...request.Option) (*lambda.ListTagsOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListTagsWithContext", varargs...)
ret0, _ := ret[... | go | func (m *MockLambdaAPI) ListTagsWithContext(arg0 aws.Context, arg1 *lambda.ListTagsInput, arg2 ...request.Option) (*lambda.ListTagsOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListTagsWithContext", varargs...)
ret0, _ := ret[... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListTagsWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"ListTagsInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
"ListTagsOutput",
",",
"... | // ListTagsWithContext mocks base method | [
"ListTagsWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L959-L968 |
25,134 | apex/apex | mock/lambdaiface.go | ListVersionsByFunction | func (m *MockLambdaAPI) ListVersionsByFunction(arg0 *lambda.ListVersionsByFunctionInput) (*lambda.ListVersionsByFunctionOutput, error) {
ret := m.ctrl.Call(m, "ListVersionsByFunction", arg0)
ret0, _ := ret[0].(*lambda.ListVersionsByFunctionOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) ListVersionsByFunction(arg0 *lambda.ListVersionsByFunctionInput) (*lambda.ListVersionsByFunctionOutput, error) {
ret := m.ctrl.Call(m, "ListVersionsByFunction", arg0)
ret0, _ := ret[0].(*lambda.ListVersionsByFunctionOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListVersionsByFunction",
"(",
"arg0",
"*",
"lambda",
".",
"ListVersionsByFunctionInput",
")",
"(",
"*",
"lambda",
".",
"ListVersionsByFunctionOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"... | // ListVersionsByFunction mocks base method | [
"ListVersionsByFunction",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L977-L982 |
25,135 | apex/apex | mock/lambdaiface.go | ListVersionsByFunctionRequest | func (m *MockLambdaAPI) ListVersionsByFunctionRequest(arg0 *lambda.ListVersionsByFunctionInput) (*request.Request, *lambda.ListVersionsByFunctionOutput) {
ret := m.ctrl.Call(m, "ListVersionsByFunctionRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.ListVersionsByFunctionOutput)
return... | go | func (m *MockLambdaAPI) ListVersionsByFunctionRequest(arg0 *lambda.ListVersionsByFunctionInput) (*request.Request, *lambda.ListVersionsByFunctionOutput) {
ret := m.ctrl.Call(m, "ListVersionsByFunctionRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.ListVersionsByFunctionOutput)
return... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListVersionsByFunctionRequest",
"(",
"arg0",
"*",
"lambda",
".",
"ListVersionsByFunctionInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"ListVersionsByFunctionOutput",
")",
"{",
"ret",
":="... | // ListVersionsByFunctionRequest mocks base method | [
"ListVersionsByFunctionRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L990-L995 |
25,136 | apex/apex | mock/lambdaiface.go | ListVersionsByFunctionWithContext | func (m *MockLambdaAPI) ListVersionsByFunctionWithContext(arg0 aws.Context, arg1 *lambda.ListVersionsByFunctionInput, arg2 ...request.Option) (*lambda.ListVersionsByFunctionOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListVers... | go | func (m *MockLambdaAPI) ListVersionsByFunctionWithContext(arg0 aws.Context, arg1 *lambda.ListVersionsByFunctionInput, arg2 ...request.Option) (*lambda.ListVersionsByFunctionOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListVers... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"ListVersionsByFunctionWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"ListVersionsByFunctionInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
... | // ListVersionsByFunctionWithContext mocks base method | [
"ListVersionsByFunctionWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1003-L1012 |
25,137 | apex/apex | mock/lambdaiface.go | PublishVersion | func (m *MockLambdaAPI) PublishVersion(arg0 *lambda.PublishVersionInput) (*lambda.FunctionConfiguration, error) {
ret := m.ctrl.Call(m, "PublishVersion", arg0)
ret0, _ := ret[0].(*lambda.FunctionConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) PublishVersion(arg0 *lambda.PublishVersionInput) (*lambda.FunctionConfiguration, error) {
ret := m.ctrl.Call(m, "PublishVersion", arg0)
ret0, _ := ret[0].(*lambda.FunctionConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"PublishVersion",
"(",
"arg0",
"*",
"lambda",
".",
"PublishVersionInput",
")",
"(",
"*",
"lambda",
".",
"FunctionConfiguration",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
... | // PublishVersion mocks base method | [
"PublishVersion",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1021-L1026 |
25,138 | apex/apex | mock/lambdaiface.go | PublishVersionRequest | func (m *MockLambdaAPI) PublishVersionRequest(arg0 *lambda.PublishVersionInput) (*request.Request, *lambda.FunctionConfiguration) {
ret := m.ctrl.Call(m, "PublishVersionRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.FunctionConfiguration)
return ret0, ret1
} | go | func (m *MockLambdaAPI) PublishVersionRequest(arg0 *lambda.PublishVersionInput) (*request.Request, *lambda.FunctionConfiguration) {
ret := m.ctrl.Call(m, "PublishVersionRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.FunctionConfiguration)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"PublishVersionRequest",
"(",
"arg0",
"*",
"lambda",
".",
"PublishVersionInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"FunctionConfiguration",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl... | // PublishVersionRequest mocks base method | [
"PublishVersionRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1034-L1039 |
25,139 | apex/apex | mock/lambdaiface.go | PutFunctionConcurrency | func (m *MockLambdaAPI) PutFunctionConcurrency(arg0 *lambda.PutFunctionConcurrencyInput) (*lambda.PutFunctionConcurrencyOutput, error) {
ret := m.ctrl.Call(m, "PutFunctionConcurrency", arg0)
ret0, _ := ret[0].(*lambda.PutFunctionConcurrencyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) PutFunctionConcurrency(arg0 *lambda.PutFunctionConcurrencyInput) (*lambda.PutFunctionConcurrencyOutput, error) {
ret := m.ctrl.Call(m, "PutFunctionConcurrency", arg0)
ret0, _ := ret[0].(*lambda.PutFunctionConcurrencyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"PutFunctionConcurrency",
"(",
"arg0",
"*",
"lambda",
".",
"PutFunctionConcurrencyInput",
")",
"(",
"*",
"lambda",
".",
"PutFunctionConcurrencyOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"... | // PutFunctionConcurrency mocks base method | [
"PutFunctionConcurrency",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1065-L1070 |
25,140 | apex/apex | mock/lambdaiface.go | PutFunctionConcurrencyRequest | func (m *MockLambdaAPI) PutFunctionConcurrencyRequest(arg0 *lambda.PutFunctionConcurrencyInput) (*request.Request, *lambda.PutFunctionConcurrencyOutput) {
ret := m.ctrl.Call(m, "PutFunctionConcurrencyRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.PutFunctionConcurrencyOutput)
return... | go | func (m *MockLambdaAPI) PutFunctionConcurrencyRequest(arg0 *lambda.PutFunctionConcurrencyInput) (*request.Request, *lambda.PutFunctionConcurrencyOutput) {
ret := m.ctrl.Call(m, "PutFunctionConcurrencyRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.PutFunctionConcurrencyOutput)
return... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"PutFunctionConcurrencyRequest",
"(",
"arg0",
"*",
"lambda",
".",
"PutFunctionConcurrencyInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"PutFunctionConcurrencyOutput",
")",
"{",
"ret",
":="... | // PutFunctionConcurrencyRequest mocks base method | [
"PutFunctionConcurrencyRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1078-L1083 |
25,141 | apex/apex | mock/lambdaiface.go | PutFunctionConcurrencyWithContext | func (m *MockLambdaAPI) PutFunctionConcurrencyWithContext(arg0 aws.Context, arg1 *lambda.PutFunctionConcurrencyInput, arg2 ...request.Option) (*lambda.PutFunctionConcurrencyOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "PutFunct... | go | func (m *MockLambdaAPI) PutFunctionConcurrencyWithContext(arg0 aws.Context, arg1 *lambda.PutFunctionConcurrencyInput, arg2 ...request.Option) (*lambda.PutFunctionConcurrencyOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "PutFunct... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"PutFunctionConcurrencyWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"PutFunctionConcurrencyInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
... | // PutFunctionConcurrencyWithContext mocks base method | [
"PutFunctionConcurrencyWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1091-L1100 |
25,142 | apex/apex | mock/lambdaiface.go | RemovePermission | func (m *MockLambdaAPI) RemovePermission(arg0 *lambda.RemovePermissionInput) (*lambda.RemovePermissionOutput, error) {
ret := m.ctrl.Call(m, "RemovePermission", arg0)
ret0, _ := ret[0].(*lambda.RemovePermissionOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) RemovePermission(arg0 *lambda.RemovePermissionInput) (*lambda.RemovePermissionOutput, error) {
ret := m.ctrl.Call(m, "RemovePermission", arg0)
ret0, _ := ret[0].(*lambda.RemovePermissionOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"RemovePermission",
"(",
"arg0",
"*",
"lambda",
".",
"RemovePermissionInput",
")",
"(",
"*",
"lambda",
".",
"RemovePermissionOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m... | // RemovePermission mocks base method | [
"RemovePermission",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1109-L1114 |
25,143 | apex/apex | mock/lambdaiface.go | RemovePermissionRequest | func (m *MockLambdaAPI) RemovePermissionRequest(arg0 *lambda.RemovePermissionInput) (*request.Request, *lambda.RemovePermissionOutput) {
ret := m.ctrl.Call(m, "RemovePermissionRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.RemovePermissionOutput)
return ret0, ret1
} | go | func (m *MockLambdaAPI) RemovePermissionRequest(arg0 *lambda.RemovePermissionInput) (*request.Request, *lambda.RemovePermissionOutput) {
ret := m.ctrl.Call(m, "RemovePermissionRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.RemovePermissionOutput)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"RemovePermissionRequest",
"(",
"arg0",
"*",
"lambda",
".",
"RemovePermissionInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"RemovePermissionOutput",
")",
"{",
"ret",
":=",
"m",
".",
... | // RemovePermissionRequest mocks base method | [
"RemovePermissionRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1122-L1127 |
25,144 | apex/apex | mock/lambdaiface.go | RemovePermissionWithContext | func (m *MockLambdaAPI) RemovePermissionWithContext(arg0 aws.Context, arg1 *lambda.RemovePermissionInput, arg2 ...request.Option) (*lambda.RemovePermissionOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "RemovePermissionWithContex... | go | func (m *MockLambdaAPI) RemovePermissionWithContext(arg0 aws.Context, arg1 *lambda.RemovePermissionInput, arg2 ...request.Option) (*lambda.RemovePermissionOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "RemovePermissionWithContex... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"RemovePermissionWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"RemovePermissionInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
"RemovePermi... | // RemovePermissionWithContext mocks base method | [
"RemovePermissionWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1135-L1144 |
25,145 | apex/apex | mock/lambdaiface.go | TagResource | func (m *MockLambdaAPI) TagResource(arg0 *lambda.TagResourceInput) (*lambda.TagResourceOutput, error) {
ret := m.ctrl.Call(m, "TagResource", arg0)
ret0, _ := ret[0].(*lambda.TagResourceOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) TagResource(arg0 *lambda.TagResourceInput) (*lambda.TagResourceOutput, error) {
ret := m.ctrl.Call(m, "TagResource", arg0)
ret0, _ := ret[0].(*lambda.TagResourceOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"TagResource",
"(",
"arg0",
"*",
"lambda",
".",
"TagResourceInput",
")",
"(",
"*",
"lambda",
".",
"TagResourceOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
",",
"\"... | // TagResource mocks base method | [
"TagResource",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1153-L1158 |
25,146 | apex/apex | mock/lambdaiface.go | TagResourceRequest | func (m *MockLambdaAPI) TagResourceRequest(arg0 *lambda.TagResourceInput) (*request.Request, *lambda.TagResourceOutput) {
ret := m.ctrl.Call(m, "TagResourceRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.TagResourceOutput)
return ret0, ret1
} | go | func (m *MockLambdaAPI) TagResourceRequest(arg0 *lambda.TagResourceInput) (*request.Request, *lambda.TagResourceOutput) {
ret := m.ctrl.Call(m, "TagResourceRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.TagResourceOutput)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"TagResourceRequest",
"(",
"arg0",
"*",
"lambda",
".",
"TagResourceInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"TagResourceOutput",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
... | // TagResourceRequest mocks base method | [
"TagResourceRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1166-L1171 |
25,147 | apex/apex | mock/lambdaiface.go | TagResourceWithContext | func (m *MockLambdaAPI) TagResourceWithContext(arg0 aws.Context, arg1 *lambda.TagResourceInput, arg2 ...request.Option) (*lambda.TagResourceOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "TagResourceWithContext", varargs...)
ret... | go | func (m *MockLambdaAPI) TagResourceWithContext(arg0 aws.Context, arg1 *lambda.TagResourceInput, arg2 ...request.Option) (*lambda.TagResourceOutput, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "TagResourceWithContext", varargs...)
ret... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"TagResourceWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"TagResourceInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
".",
"TagResourceOutput",
... | // TagResourceWithContext mocks base method | [
"TagResourceWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1179-L1188 |
25,148 | apex/apex | mock/lambdaiface.go | UntagResource | func (m *MockLambdaAPI) UntagResource(arg0 *lambda.UntagResourceInput) (*lambda.UntagResourceOutput, error) {
ret := m.ctrl.Call(m, "UntagResource", arg0)
ret0, _ := ret[0].(*lambda.UntagResourceOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) UntagResource(arg0 *lambda.UntagResourceInput) (*lambda.UntagResourceOutput, error) {
ret := m.ctrl.Call(m, "UntagResource", arg0)
ret0, _ := ret[0].(*lambda.UntagResourceOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UntagResource",
"(",
"arg0",
"*",
"lambda",
".",
"UntagResourceInput",
")",
"(",
"*",
"lambda",
".",
"UntagResourceOutput",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
",",... | // UntagResource mocks base method | [
"UntagResource",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1197-L1202 |
25,149 | apex/apex | mock/lambdaiface.go | UntagResourceRequest | func (m *MockLambdaAPI) UntagResourceRequest(arg0 *lambda.UntagResourceInput) (*request.Request, *lambda.UntagResourceOutput) {
ret := m.ctrl.Call(m, "UntagResourceRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.UntagResourceOutput)
return ret0, ret1
} | go | func (m *MockLambdaAPI) UntagResourceRequest(arg0 *lambda.UntagResourceInput) (*request.Request, *lambda.UntagResourceOutput) {
ret := m.ctrl.Call(m, "UntagResourceRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.UntagResourceOutput)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UntagResourceRequest",
"(",
"arg0",
"*",
"lambda",
".",
"UntagResourceInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"UntagResourceOutput",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
... | // UntagResourceRequest mocks base method | [
"UntagResourceRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1210-L1215 |
25,150 | apex/apex | mock/lambdaiface.go | UpdateAlias | func (m *MockLambdaAPI) UpdateAlias(arg0 *lambda.UpdateAliasInput) (*lambda.AliasConfiguration, error) {
ret := m.ctrl.Call(m, "UpdateAlias", arg0)
ret0, _ := ret[0].(*lambda.AliasConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) UpdateAlias(arg0 *lambda.UpdateAliasInput) (*lambda.AliasConfiguration, error) {
ret := m.ctrl.Call(m, "UpdateAlias", arg0)
ret0, _ := ret[0].(*lambda.AliasConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UpdateAlias",
"(",
"arg0",
"*",
"lambda",
".",
"UpdateAliasInput",
")",
"(",
"*",
"lambda",
".",
"AliasConfiguration",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
"m",
",",
"\... | // UpdateAlias mocks base method | [
"UpdateAlias",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1241-L1246 |
25,151 | apex/apex | mock/lambdaiface.go | UpdateAliasRequest | func (m *MockLambdaAPI) UpdateAliasRequest(arg0 *lambda.UpdateAliasInput) (*request.Request, *lambda.AliasConfiguration) {
ret := m.ctrl.Call(m, "UpdateAliasRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.AliasConfiguration)
return ret0, ret1
} | go | func (m *MockLambdaAPI) UpdateAliasRequest(arg0 *lambda.UpdateAliasInput) (*request.Request, *lambda.AliasConfiguration) {
ret := m.ctrl.Call(m, "UpdateAliasRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.AliasConfiguration)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UpdateAliasRequest",
"(",
"arg0",
"*",
"lambda",
".",
"UpdateAliasInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"AliasConfiguration",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",... | // UpdateAliasRequest mocks base method | [
"UpdateAliasRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1254-L1259 |
25,152 | apex/apex | mock/lambdaiface.go | UpdateEventSourceMapping | func (m *MockLambdaAPI) UpdateEventSourceMapping(arg0 *lambda.UpdateEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error) {
ret := m.ctrl.Call(m, "UpdateEventSourceMapping", arg0)
ret0, _ := ret[0].(*lambda.EventSourceMappingConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) UpdateEventSourceMapping(arg0 *lambda.UpdateEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error) {
ret := m.ctrl.Call(m, "UpdateEventSourceMapping", arg0)
ret0, _ := ret[0].(*lambda.EventSourceMappingConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UpdateEventSourceMapping",
"(",
"arg0",
"*",
"lambda",
".",
"UpdateEventSourceMappingInput",
")",
"(",
"*",
"lambda",
".",
"EventSourceMappingConfiguration",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
"... | // UpdateEventSourceMapping mocks base method | [
"UpdateEventSourceMapping",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1285-L1290 |
25,153 | apex/apex | mock/lambdaiface.go | UpdateEventSourceMappingRequest | func (m *MockLambdaAPI) UpdateEventSourceMappingRequest(arg0 *lambda.UpdateEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration) {
ret := m.ctrl.Call(m, "UpdateEventSourceMappingRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.EventSourceMappingConfigurat... | go | func (m *MockLambdaAPI) UpdateEventSourceMappingRequest(arg0 *lambda.UpdateEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration) {
ret := m.ctrl.Call(m, "UpdateEventSourceMappingRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.EventSourceMappingConfigurat... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UpdateEventSourceMappingRequest",
"(",
"arg0",
"*",
"lambda",
".",
"UpdateEventSourceMappingInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"EventSourceMappingConfiguration",
")",
"{",
"ret",... | // UpdateEventSourceMappingRequest mocks base method | [
"UpdateEventSourceMappingRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1298-L1303 |
25,154 | apex/apex | mock/lambdaiface.go | UpdateEventSourceMappingWithContext | func (m *MockLambdaAPI) UpdateEventSourceMappingWithContext(arg0 aws.Context, arg1 *lambda.UpdateEventSourceMappingInput, arg2 ...request.Option) (*lambda.EventSourceMappingConfiguration, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "U... | go | func (m *MockLambdaAPI) UpdateEventSourceMappingWithContext(arg0 aws.Context, arg1 *lambda.UpdateEventSourceMappingInput, arg2 ...request.Option) (*lambda.EventSourceMappingConfiguration, error) {
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "U... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UpdateEventSourceMappingWithContext",
"(",
"arg0",
"aws",
".",
"Context",
",",
"arg1",
"*",
"lambda",
".",
"UpdateEventSourceMappingInput",
",",
"arg2",
"...",
"request",
".",
"Option",
")",
"(",
"*",
"lambda",
"."... | // UpdateEventSourceMappingWithContext mocks base method | [
"UpdateEventSourceMappingWithContext",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1311-L1320 |
25,155 | apex/apex | mock/lambdaiface.go | UpdateFunctionCode | func (m *MockLambdaAPI) UpdateFunctionCode(arg0 *lambda.UpdateFunctionCodeInput) (*lambda.FunctionConfiguration, error) {
ret := m.ctrl.Call(m, "UpdateFunctionCode", arg0)
ret0, _ := ret[0].(*lambda.FunctionConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) UpdateFunctionCode(arg0 *lambda.UpdateFunctionCodeInput) (*lambda.FunctionConfiguration, error) {
ret := m.ctrl.Call(m, "UpdateFunctionCode", arg0)
ret0, _ := ret[0].(*lambda.FunctionConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UpdateFunctionCode",
"(",
"arg0",
"*",
"lambda",
".",
"UpdateFunctionCodeInput",
")",
"(",
"*",
"lambda",
".",
"FunctionConfiguration",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
"Call",
"(",
... | // UpdateFunctionCode mocks base method | [
"UpdateFunctionCode",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1329-L1334 |
25,156 | apex/apex | mock/lambdaiface.go | UpdateFunctionCodeRequest | func (m *MockLambdaAPI) UpdateFunctionCodeRequest(arg0 *lambda.UpdateFunctionCodeInput) (*request.Request, *lambda.FunctionConfiguration) {
ret := m.ctrl.Call(m, "UpdateFunctionCodeRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.FunctionConfiguration)
return ret0, ret1
} | go | func (m *MockLambdaAPI) UpdateFunctionCodeRequest(arg0 *lambda.UpdateFunctionCodeInput) (*request.Request, *lambda.FunctionConfiguration) {
ret := m.ctrl.Call(m, "UpdateFunctionCodeRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.FunctionConfiguration)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UpdateFunctionCodeRequest",
"(",
"arg0",
"*",
"lambda",
".",
"UpdateFunctionCodeInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"FunctionConfiguration",
")",
"{",
"ret",
":=",
"m",
".",... | // UpdateFunctionCodeRequest mocks base method | [
"UpdateFunctionCodeRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1342-L1347 |
25,157 | apex/apex | mock/lambdaiface.go | UpdateFunctionConfiguration | func (m *MockLambdaAPI) UpdateFunctionConfiguration(arg0 *lambda.UpdateFunctionConfigurationInput) (*lambda.FunctionConfiguration, error) {
ret := m.ctrl.Call(m, "UpdateFunctionConfiguration", arg0)
ret0, _ := ret[0].(*lambda.FunctionConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | go | func (m *MockLambdaAPI) UpdateFunctionConfiguration(arg0 *lambda.UpdateFunctionConfigurationInput) (*lambda.FunctionConfiguration, error) {
ret := m.ctrl.Call(m, "UpdateFunctionConfiguration", arg0)
ret0, _ := ret[0].(*lambda.FunctionConfiguration)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UpdateFunctionConfiguration",
"(",
"arg0",
"*",
"lambda",
".",
"UpdateFunctionConfigurationInput",
")",
"(",
"*",
"lambda",
".",
"FunctionConfiguration",
",",
"error",
")",
"{",
"ret",
":=",
"m",
".",
"ctrl",
".",
... | // UpdateFunctionConfiguration mocks base method | [
"UpdateFunctionConfiguration",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1373-L1378 |
25,158 | apex/apex | mock/lambdaiface.go | UpdateFunctionConfigurationRequest | func (m *MockLambdaAPI) UpdateFunctionConfigurationRequest(arg0 *lambda.UpdateFunctionConfigurationInput) (*request.Request, *lambda.FunctionConfiguration) {
ret := m.ctrl.Call(m, "UpdateFunctionConfigurationRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.FunctionConfiguration)
retur... | go | func (m *MockLambdaAPI) UpdateFunctionConfigurationRequest(arg0 *lambda.UpdateFunctionConfigurationInput) (*request.Request, *lambda.FunctionConfiguration) {
ret := m.ctrl.Call(m, "UpdateFunctionConfigurationRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*lambda.FunctionConfiguration)
retur... | [
"func",
"(",
"m",
"*",
"MockLambdaAPI",
")",
"UpdateFunctionConfigurationRequest",
"(",
"arg0",
"*",
"lambda",
".",
"UpdateFunctionConfigurationInput",
")",
"(",
"*",
"request",
".",
"Request",
",",
"*",
"lambda",
".",
"FunctionConfiguration",
")",
"{",
"ret",
"... | // UpdateFunctionConfigurationRequest mocks base method | [
"UpdateFunctionConfigurationRequest",
"mocks",
"base",
"method"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/mock/lambdaiface.go#L1386-L1391 |
25,159 | apex/apex | upgrade/upgrade.go | Upgrade | func Upgrade(version string) error {
term.HideCursor()
defer term.ShowCursor()
p := &update.Manager{
Command: "apex",
Store: &github.Store{
Owner: "apex",
Repo: "apex",
Version: version,
},
}
// fetch releases
releases, err := p.LatestReleases()
if err != nil {
return errors.Wrap(err, "fe... | go | func Upgrade(version string) error {
term.HideCursor()
defer term.ShowCursor()
p := &update.Manager{
Command: "apex",
Store: &github.Store{
Owner: "apex",
Repo: "apex",
Version: version,
},
}
// fetch releases
releases, err := p.LatestReleases()
if err != nil {
return errors.Wrap(err, "fe... | [
"func",
"Upgrade",
"(",
"version",
"string",
")",
"error",
"{",
"term",
".",
"HideCursor",
"(",
")",
"\n",
"defer",
"term",
".",
"ShowCursor",
"(",
")",
"\n\n",
"p",
":=",
"&",
"update",
".",
"Manager",
"{",
"Command",
":",
"\"",
"\"",
",",
"Store",
... | // Upgrade the current `version` of apex to the latest. | [
"Upgrade",
"the",
"current",
"version",
"of",
"apex",
"to",
"the",
"latest",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/upgrade/upgrade.go#L17-L66 |
25,160 | apex/apex | boot/boot.go | Boot | func (b *Bootstrapper) Boot() error {
fmt.Println(logo)
if b.isProject() {
help("I've detected a ./project.json file, this seems to already be a project!")
return nil
}
help("Enter the name of your project. It should be machine-friendly, as this\nis used to prefix your functions in Lambda.")
b.name = prompt.... | go | func (b *Bootstrapper) Boot() error {
fmt.Println(logo)
if b.isProject() {
help("I've detected a ./project.json file, this seems to already be a project!")
return nil
}
help("Enter the name of your project. It should be machine-friendly, as this\nis used to prefix your functions in Lambda.")
b.name = prompt.... | [
"func",
"(",
"b",
"*",
"Bootstrapper",
")",
"Boot",
"(",
")",
"error",
"{",
"fmt",
".",
"Println",
"(",
"logo",
")",
"\n\n",
"if",
"b",
".",
"isProject",
"(",
")",
"{",
"help",
"(",
"\"",
"\"",
")",
"\n",
"return",
"nil",
"\n",
"}",
"\n\n",
"he... | // Boot the project. | [
"Boot",
"the",
"project",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/boot/boot.go#L82-L98 |
25,161 | apex/apex | boot/boot.go | isProject | func (b *Bootstrapper) isProject() bool {
_, err := os.Stat("project.json")
return err == nil
} | go | func (b *Bootstrapper) isProject() bool {
_, err := os.Stat("project.json")
return err == nil
} | [
"func",
"(",
"b",
"*",
"Bootstrapper",
")",
"isProject",
"(",
")",
"bool",
"{",
"_",
",",
"err",
":=",
"os",
".",
"Stat",
"(",
"\"",
"\"",
")",
"\n",
"return",
"err",
"==",
"nil",
"\n",
"}"
] | // check if there's a project. | [
"check",
"if",
"there",
"s",
"a",
"project",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/boot/boot.go#L101-L104 |
25,162 | apex/apex | boot/boot.go | bootVanilla | func (b *Bootstrapper) bootVanilla() error {
iamRole, err := b.createRole()
if err != nil {
return err
}
if err := b.initProjectFiles(iamRole); err != nil {
return err
}
fmt.Println(setupCompleteVanilla)
return nil
} | go | func (b *Bootstrapper) bootVanilla() error {
iamRole, err := b.createRole()
if err != nil {
return err
}
if err := b.initProjectFiles(iamRole); err != nil {
return err
}
fmt.Println(setupCompleteVanilla)
return nil
} | [
"func",
"(",
"b",
"*",
"Bootstrapper",
")",
"bootVanilla",
"(",
")",
"error",
"{",
"iamRole",
",",
"err",
":=",
"b",
".",
"createRole",
"(",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"err",
"\n",
"}",
"\n\n",
"if",
"err",
":=",
"b",
"."... | // Bootstrap without Terraform. | [
"Bootstrap",
"without",
"Terraform",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/boot/boot.go#L107-L119 |
25,163 | apex/apex | boot/boot.go | createRole | func (b *Bootstrapper) createRole() (string, error) {
roleName := fmt.Sprintf("%s_lambda_function", b.name)
policyName := fmt.Sprintf("%s_lambda_logs", b.name)
logf("creating IAM %s role", roleName)
role, err := b.IAM.CreateRole(&iam.CreateRoleInput{
RoleName: &roleName,
AssumeRolePolicyDocumen... | go | func (b *Bootstrapper) createRole() (string, error) {
roleName := fmt.Sprintf("%s_lambda_function", b.name)
policyName := fmt.Sprintf("%s_lambda_logs", b.name)
logf("creating IAM %s role", roleName)
role, err := b.IAM.CreateRole(&iam.CreateRoleInput{
RoleName: &roleName,
AssumeRolePolicyDocumen... | [
"func",
"(",
"b",
"*",
"Bootstrapper",
")",
"createRole",
"(",
")",
"(",
"string",
",",
"error",
")",
"{",
"roleName",
":=",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"b",
".",
"name",
")",
"\n",
"policyName",
":=",
"fmt",
".",
"Sprintf",
"(",
... | // Create IAM role, returning the ARN. | [
"Create",
"IAM",
"role",
"returning",
"the",
"ARN",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/boot/boot.go#L122-L158 |
25,164 | apex/apex | boot/boot.go | help | func help(s string) {
os.Stdout.WriteString("\n")
os.Stdout.WriteString(indent(s))
os.Stdout.WriteString("\n\n")
} | go | func help(s string) {
os.Stdout.WriteString("\n")
os.Stdout.WriteString(indent(s))
os.Stdout.WriteString("\n\n")
} | [
"func",
"help",
"(",
"s",
"string",
")",
"{",
"os",
".",
"Stdout",
".",
"WriteString",
"(",
"\"",
"\\n",
"\"",
")",
"\n",
"os",
".",
"Stdout",
".",
"WriteString",
"(",
"indent",
"(",
"s",
")",
")",
"\n",
"os",
".",
"Stdout",
".",
"WriteString",
"... | // help string output. | [
"help",
"string",
"output",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/boot/boot.go#L175-L179 |
25,165 | apex/apex | boot/boot.go | indent | func indent(s string) (out string) {
for _, l := range strings.SplitAfter(s, "\n") {
out += fmt.Sprintf(" %s", l)
}
return
} | go | func indent(s string) (out string) {
for _, l := range strings.SplitAfter(s, "\n") {
out += fmt.Sprintf(" %s", l)
}
return
} | [
"func",
"indent",
"(",
"s",
"string",
")",
"(",
"out",
"string",
")",
"{",
"for",
"_",
",",
"l",
":=",
"range",
"strings",
".",
"SplitAfter",
"(",
"s",
",",
"\"",
"\\n",
"\"",
")",
"{",
"out",
"+=",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
... | // indent multiline string with 2 spaces. | [
"indent",
"multiline",
"string",
"with",
"2",
"spaces",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/boot/boot.go#L182-L188 |
25,166 | apex/apex | boot/boot.go | logf | func logf(s string, v ...interface{}) {
fmt.Printf(" \033[34m[+]\033[0m %s\n", fmt.Sprintf(s, v...))
} | go | func logf(s string, v ...interface{}) {
fmt.Printf(" \033[34m[+]\033[0m %s\n", fmt.Sprintf(s, v...))
} | [
"func",
"logf",
"(",
"s",
"string",
",",
"v",
"...",
"interface",
"{",
"}",
")",
"{",
"fmt",
".",
"Printf",
"(",
"\"",
"\\033",
"\\033",
"\\n",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"s",
",",
"v",
"...",
")",
")",
"\n",
"}"
] | // logf outputs a log message. | [
"logf",
"outputs",
"a",
"log",
"message",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/boot/boot.go#L191-L193 |
25,167 | apex/apex | logs/logs.go | wait | func (l *Logs) wait(done <-chan error) {
for range l.GroupNames {
if err := <-done; err != nil {
l.err = err
return
}
}
} | go | func (l *Logs) wait(done <-chan error) {
for range l.GroupNames {
if err := <-done; err != nil {
l.err = err
return
}
}
} | [
"func",
"(",
"l",
"*",
"Logs",
")",
"wait",
"(",
"done",
"<-",
"chan",
"error",
")",
"{",
"for",
"range",
"l",
".",
"GroupNames",
"{",
"if",
"err",
":=",
"<-",
"done",
";",
"err",
"!=",
"nil",
"{",
"l",
".",
"err",
"=",
"err",
"\n",
"return",
... | // wait for each log group to complete. | [
"wait",
"for",
"each",
"log",
"group",
"to",
"complete",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/logs/logs.go#L56-L63 |
25,168 | apex/apex | logs/logs.go | consume | func (l *Logs) consume(name string, ch chan *Event, done chan error) {
log := Log{
Config: l.Config,
GroupName: name,
Log: log.WithField("group", name),
}
for event := range log.Start() {
ch <- event
}
done <- log.Err()
} | go | func (l *Logs) consume(name string, ch chan *Event, done chan error) {
log := Log{
Config: l.Config,
GroupName: name,
Log: log.WithField("group", name),
}
for event := range log.Start() {
ch <- event
}
done <- log.Err()
} | [
"func",
"(",
"l",
"*",
"Logs",
")",
"consume",
"(",
"name",
"string",
",",
"ch",
"chan",
"*",
"Event",
",",
"done",
"chan",
"error",
")",
"{",
"log",
":=",
"Log",
"{",
"Config",
":",
"l",
".",
"Config",
",",
"GroupName",
":",
"name",
",",
"Log",
... | // consume logs for group `name`. | [
"consume",
"logs",
"for",
"group",
"name",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/logs/logs.go#L66-L78 |
25,169 | apex/apex | cmd/apex/root/root.go | preRun | func preRun(c *cobra.Command, args []string) error {
err := Prepare(c, args)
if err != nil {
return err
}
return Project.Open()
} | go | func preRun(c *cobra.Command, args []string) error {
err := Prepare(c, args)
if err != nil {
return err
}
return Project.Open()
} | [
"func",
"preRun",
"(",
"c",
"*",
"cobra",
".",
"Command",
",",
"args",
"[",
"]",
"string",
")",
"error",
"{",
"err",
":=",
"Prepare",
"(",
"c",
",",
"args",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"err",
"\n",
"}",
"\n\n",
"return",
... | // preRun sets up global tasks used for most commands, some use PreRunNoop
// to remove this default behaviour. | [
"preRun",
"sets",
"up",
"global",
"tasks",
"used",
"for",
"most",
"commands",
"some",
"use",
"PreRunNoop",
"to",
"remove",
"this",
"default",
"behaviour",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/cmd/apex/root/root.go#L84-L91 |
25,170 | apex/apex | utils/utils.go | Sha256 | func Sha256(b []byte) string {
h := sha256.New()
h.Write(b)
return base64.StdEncoding.EncodeToString(h.Sum(nil))
} | go | func Sha256(b []byte) string {
h := sha256.New()
h.Write(b)
return base64.StdEncoding.EncodeToString(h.Sum(nil))
} | [
"func",
"Sha256",
"(",
"b",
"[",
"]",
"byte",
")",
"string",
"{",
"h",
":=",
"sha256",
".",
"New",
"(",
")",
"\n",
"h",
".",
"Write",
"(",
"b",
")",
"\n",
"return",
"base64",
".",
"StdEncoding",
".",
"EncodeToString",
"(",
"h",
".",
"Sum",
"(",
... | // Sha256 returns a base64 encoded SHA256 hash of `b`. | [
"Sha256",
"returns",
"a",
"base64",
"encoded",
"SHA256",
"hash",
"of",
"b",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/utils/utils.go#L24-L28 |
25,171 | apex/apex | utils/utils.go | LoadFiles | func LoadFiles(root string, ignoreFile []byte) (files []string, err error) {
err = filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
mode := info.Mode()
if !(mode.IsDir() || mode.IsRegular() || mode&os.ModeSymlink == os.ModeSymlink) {
return nil
}
... | go | func LoadFiles(root string, ignoreFile []byte) (files []string, err error) {
err = filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
mode := info.Mode()
if !(mode.IsDir() || mode.IsRegular() || mode&os.ModeSymlink == os.ModeSymlink) {
return nil
}
... | [
"func",
"LoadFiles",
"(",
"root",
"string",
",",
"ignoreFile",
"[",
"]",
"byte",
")",
"(",
"files",
"[",
"]",
"string",
",",
"err",
"error",
")",
"{",
"err",
"=",
"filepath",
".",
"Walk",
"(",
"root",
",",
"func",
"(",
"path",
"string",
",",
"info"... | // LoadFiles return filtered map of relative to 'root' file paths;
// for filtering it uses shell file name pattern matching | [
"LoadFiles",
"return",
"filtered",
"map",
"of",
"relative",
"to",
"root",
"file",
"paths",
";",
"for",
"filtering",
"it",
"uses",
"shell",
"file",
"name",
"pattern",
"matching"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/utils/utils.go#L32-L65 |
25,172 | apex/apex | utils/utils.go | ReadIgnoreFile | func ReadIgnoreFile(dir string) ([]byte, error) {
path := filepath.Join(dir, ".apexignore")
b, err := ioutil.ReadFile(path)
if os.IsNotExist(err) {
return nil, nil
}
if err != nil {
return nil, err
}
return b, nil
} | go | func ReadIgnoreFile(dir string) ([]byte, error) {
path := filepath.Join(dir, ".apexignore")
b, err := ioutil.ReadFile(path)
if os.IsNotExist(err) {
return nil, nil
}
if err != nil {
return nil, err
}
return b, nil
} | [
"func",
"ReadIgnoreFile",
"(",
"dir",
"string",
")",
"(",
"[",
"]",
"byte",
",",
"error",
")",
"{",
"path",
":=",
"filepath",
".",
"Join",
"(",
"dir",
",",
"\"",
"\"",
")",
"\n\n",
"b",
",",
"err",
":=",
"ioutil",
".",
"ReadFile",
"(",
"path",
")... | // ReadIgnoreFile reads .apexignore in `dir` when present and returns a list of patterns. | [
"ReadIgnoreFile",
"reads",
".",
"apexignore",
"in",
"dir",
"when",
"present",
"and",
"returns",
"a",
"list",
"of",
"patterns",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/utils/utils.go#L94-L108 |
25,173 | apex/apex | utils/utils.go | ContainsString | func ContainsString(array []string, element string) bool {
for _, e := range array {
if element == e {
return true
}
}
return false
} | go | func ContainsString(array []string, element string) bool {
for _, e := range array {
if element == e {
return true
}
}
return false
} | [
"func",
"ContainsString",
"(",
"array",
"[",
"]",
"string",
",",
"element",
"string",
")",
"bool",
"{",
"for",
"_",
",",
"e",
":=",
"range",
"array",
"{",
"if",
"element",
"==",
"e",
"{",
"return",
"true",
"\n",
"}",
"\n",
"}",
"\n",
"return",
"fal... | // ContainsString checks if array contains string | [
"ContainsString",
"checks",
"if",
"array",
"contains",
"string"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/utils/utils.go#L111-L118 |
25,174 | apex/apex | utils/utils.go | ParseEnv | func ParseEnv(env []string) (map[string]string, error) {
m := make(map[string]string)
for _, s := range env {
parts := strings.SplitN(s, "=", 2)
if len(parts) == 2 {
m[parts[0]] = parts[1]
} else {
return nil, fmt.Errorf("environment variable %q is missing a value", parts[0])
}
}
return m, nil
} | go | func ParseEnv(env []string) (map[string]string, error) {
m := make(map[string]string)
for _, s := range env {
parts := strings.SplitN(s, "=", 2)
if len(parts) == 2 {
m[parts[0]] = parts[1]
} else {
return nil, fmt.Errorf("environment variable %q is missing a value", parts[0])
}
}
return m, nil
} | [
"func",
"ParseEnv",
"(",
"env",
"[",
"]",
"string",
")",
"(",
"map",
"[",
"string",
"]",
"string",
",",
"error",
")",
"{",
"m",
":=",
"make",
"(",
"map",
"[",
"string",
"]",
"string",
")",
"\n\n",
"for",
"_",
",",
"s",
":=",
"range",
"env",
"{"... | // ParseEnv accepts an `env` slice from the command-line and returns a map. | [
"ParseEnv",
"accepts",
"an",
"env",
"slice",
"from",
"the",
"command",
"-",
"line",
"and",
"returns",
"a",
"map",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/utils/utils.go#L121-L134 |
25,175 | apex/apex | utils/utils.go | ProfileAndRegionFromConfig | func ProfileAndRegionFromConfig(environment string) (string, string, error) {
configFile := "project.json"
if environment != "" {
configFile = fmt.Sprintf("project.%s.json", environment)
}
f, err := os.Open(configFile)
if err != nil {
return "", "", err
}
defer f.Close()
var v struct {
Profile string `... | go | func ProfileAndRegionFromConfig(environment string) (string, string, error) {
configFile := "project.json"
if environment != "" {
configFile = fmt.Sprintf("project.%s.json", environment)
}
f, err := os.Open(configFile)
if err != nil {
return "", "", err
}
defer f.Close()
var v struct {
Profile string `... | [
"func",
"ProfileAndRegionFromConfig",
"(",
"environment",
"string",
")",
"(",
"string",
",",
"string",
",",
"error",
")",
"{",
"configFile",
":=",
"\"",
"\"",
"\n\n",
"if",
"environment",
"!=",
"\"",
"\"",
"{",
"configFile",
"=",
"fmt",
".",
"Sprintf",
"("... | // ProfileAndRegionFromConfig attempts to load the .profile setting from `environment`'s config. | [
"ProfileAndRegionFromConfig",
"attempts",
"to",
"load",
"the",
".",
"profile",
"setting",
"from",
"environment",
"s",
"config",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/utils/utils.go#L137-L160 |
25,176 | apex/apex | utils/utils.go | AssumeRole | func AssumeRole(role string, config *aws.Config) (*aws.Config, error) {
stscreds := sts.New(session.New(config))
params := &sts.AssumeRoleInput{
RoleArn: &role,
RoleSessionName: aws.String("apex"),
DurationSeconds: aws.Int64(1800),
}
res, err := stscreds.AssumeRole(params)
if err != nil {
return ... | go | func AssumeRole(role string, config *aws.Config) (*aws.Config, error) {
stscreds := sts.New(session.New(config))
params := &sts.AssumeRoleInput{
RoleArn: &role,
RoleSessionName: aws.String("apex"),
DurationSeconds: aws.Int64(1800),
}
res, err := stscreds.AssumeRole(params)
if err != nil {
return ... | [
"func",
"AssumeRole",
"(",
"role",
"string",
",",
"config",
"*",
"aws",
".",
"Config",
")",
"(",
"*",
"aws",
".",
"Config",
",",
"error",
")",
"{",
"stscreds",
":=",
"sts",
".",
"New",
"(",
"session",
".",
"New",
"(",
"config",
")",
")",
"\n\n",
... | // AssumeRole uses STS to assume the given `role`. | [
"AssumeRole",
"uses",
"STS",
"to",
"assume",
"the",
"given",
"role",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/utils/utils.go#L163-L185 |
25,177 | apex/apex | project/project.go | Open | func (p *Project) Open() error {
p.defaults()
configFile := "project.json"
if p.Environment != "" {
configFile = fmt.Sprintf("project.%s.json", p.Environment)
}
f, err := os.Open(filepath.Join(p.Path, configFile))
if err != nil {
return err
}
if err := json.NewDecoder(f).Decode(&p.Config); err != nil {
... | go | func (p *Project) Open() error {
p.defaults()
configFile := "project.json"
if p.Environment != "" {
configFile = fmt.Sprintf("project.%s.json", p.Environment)
}
f, err := os.Open(filepath.Join(p.Path, configFile))
if err != nil {
return err
}
if err := json.NewDecoder(f).Decode(&p.Config); err != nil {
... | [
"func",
"(",
"p",
"*",
"Project",
")",
"Open",
"(",
")",
"error",
"{",
"p",
".",
"defaults",
"(",
")",
"\n\n",
"configFile",
":=",
"\"",
"\"",
"\n",
"if",
"p",
".",
"Environment",
"!=",
"\"",
"\"",
"{",
"configFile",
"=",
"fmt",
".",
"Sprintf",
"... | // Open the project.json file and prime the config. | [
"Open",
"the",
"project",
".",
"json",
"file",
"and",
"prime",
"the",
"config",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L100-L142 |
25,178 | apex/apex | project/project.go | DeployAndClean | func (p *Project) DeployAndClean() error {
if err := p.Deploy(); err != nil {
return err
}
return p.Clean()
} | go | func (p *Project) DeployAndClean() error {
if err := p.Deploy(); err != nil {
return err
}
return p.Clean()
} | [
"func",
"(",
"p",
"*",
"Project",
")",
"DeployAndClean",
"(",
")",
"error",
"{",
"if",
"err",
":=",
"p",
".",
"Deploy",
"(",
")",
";",
"err",
"!=",
"nil",
"{",
"return",
"err",
"\n",
"}",
"\n\n",
"return",
"p",
".",
"Clean",
"(",
")",
"\n",
"}"... | // DeployAndClean deploys functions and then cleans up their build artifacts. | [
"DeployAndClean",
"deploys",
"functions",
"and",
"then",
"cleans",
"up",
"their",
"build",
"artifacts",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L181-L187 |
25,179 | apex/apex | project/project.go | Deploy | func (p *Project) Deploy() error {
p.Log.Debugf("deploying %d functions", len(p.Functions))
sem := make(semaphore.Semaphore, p.Concurrency)
errs := make(chan error)
go func() {
for _, fn := range p.Functions {
fn := fn
sem.Acquire()
go func() {
defer sem.Release()
err := fn.Deploy()
if er... | go | func (p *Project) Deploy() error {
p.Log.Debugf("deploying %d functions", len(p.Functions))
sem := make(semaphore.Semaphore, p.Concurrency)
errs := make(chan error)
go func() {
for _, fn := range p.Functions {
fn := fn
sem.Acquire()
go func() {
defer sem.Release()
err := fn.Deploy()
if er... | [
"func",
"(",
"p",
"*",
"Project",
")",
"Deploy",
"(",
")",
"error",
"{",
"p",
".",
"Log",
".",
"Debugf",
"(",
"\"",
"\"",
",",
"len",
"(",
"p",
".",
"Functions",
")",
")",
"\n\n",
"sem",
":=",
"make",
"(",
"semaphore",
".",
"Semaphore",
",",
"p... | // Deploy functions and their configurations. | [
"Deploy",
"functions",
"and",
"their",
"configurations",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L190-L224 |
25,180 | apex/apex | project/project.go | Clean | func (p *Project) Clean() error {
p.Log.Debugf("cleaning %d functions", len(p.Functions))
for _, fn := range p.Functions {
if err := fn.Clean(); err != nil {
return fmt.Errorf("function %s: %s", fn.Name, err)
}
}
return nil
} | go | func (p *Project) Clean() error {
p.Log.Debugf("cleaning %d functions", len(p.Functions))
for _, fn := range p.Functions {
if err := fn.Clean(); err != nil {
return fmt.Errorf("function %s: %s", fn.Name, err)
}
}
return nil
} | [
"func",
"(",
"p",
"*",
"Project",
")",
"Clean",
"(",
")",
"error",
"{",
"p",
".",
"Log",
".",
"Debugf",
"(",
"\"",
"\"",
",",
"len",
"(",
"p",
".",
"Functions",
")",
")",
"\n\n",
"for",
"_",
",",
"fn",
":=",
"range",
"p",
".",
"Functions",
"{... | // Clean up function build artifacts. | [
"Clean",
"up",
"function",
"build",
"artifacts",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L227-L237 |
25,181 | apex/apex | project/project.go | Delete | func (p *Project) Delete() error {
p.Log.Debugf("deleting %d functions", len(p.Functions))
for _, fn := range p.Functions {
if _, err := fn.GetConfig(); err != nil {
if awserr, ok := err.(awserr.Error); ok && awserr.Code() == "ResourceNotFoundException" {
p.Log.Infof("function %q hasn't been deployed yet or... | go | func (p *Project) Delete() error {
p.Log.Debugf("deleting %d functions", len(p.Functions))
for _, fn := range p.Functions {
if _, err := fn.GetConfig(); err != nil {
if awserr, ok := err.(awserr.Error); ok && awserr.Code() == "ResourceNotFoundException" {
p.Log.Infof("function %q hasn't been deployed yet or... | [
"func",
"(",
"p",
"*",
"Project",
")",
"Delete",
"(",
")",
"error",
"{",
"p",
".",
"Log",
".",
"Debugf",
"(",
"\"",
"\"",
",",
"len",
"(",
"p",
".",
"Functions",
")",
")",
"\n\n",
"for",
"_",
",",
"fn",
":=",
"range",
"p",
".",
"Functions",
"... | // Delete functions. | [
"Delete",
"functions",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L240-L258 |
25,182 | apex/apex | project/project.go | RollbackVersion | func (p *Project) RollbackVersion(version string) error {
p.Log.Debugf("rolling back %d functions to version %s", len(p.Functions), version)
for _, fn := range p.Functions {
if err := fn.RollbackVersion(version); err != nil {
return fmt.Errorf("function %s: %s", fn.Name, err)
}
}
return nil
} | go | func (p *Project) RollbackVersion(version string) error {
p.Log.Debugf("rolling back %d functions to version %s", len(p.Functions), version)
for _, fn := range p.Functions {
if err := fn.RollbackVersion(version); err != nil {
return fmt.Errorf("function %s: %s", fn.Name, err)
}
}
return nil
} | [
"func",
"(",
"p",
"*",
"Project",
")",
"RollbackVersion",
"(",
"version",
"string",
")",
"error",
"{",
"p",
".",
"Log",
".",
"Debugf",
"(",
"\"",
"\"",
",",
"len",
"(",
"p",
".",
"Functions",
")",
",",
"version",
")",
"\n\n",
"for",
"_",
",",
"fn... | // RollbackVersion project functions to the specified version. | [
"RollbackVersion",
"project",
"functions",
"to",
"the",
"specified",
"version",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L274-L284 |
25,183 | apex/apex | project/project.go | FunctionDirNames | func (p *Project) FunctionDirNames() (list []string, err error) {
dir := filepath.Join(p.Path, functionsDir)
files, err := ioutil.ReadDir(dir)
if err != nil {
return nil, err
}
for _, file := range files {
if file.IsDir() {
list = append(list, file.Name())
}
}
return list, nil
} | go | func (p *Project) FunctionDirNames() (list []string, err error) {
dir := filepath.Join(p.Path, functionsDir)
files, err := ioutil.ReadDir(dir)
if err != nil {
return nil, err
}
for _, file := range files {
if file.IsDir() {
list = append(list, file.Name())
}
}
return list, nil
} | [
"func",
"(",
"p",
"*",
"Project",
")",
"FunctionDirNames",
"(",
")",
"(",
"list",
"[",
"]",
"string",
",",
"err",
"error",
")",
"{",
"dir",
":=",
"filepath",
".",
"Join",
"(",
"p",
".",
"Path",
",",
"functionsDir",
")",
"\n\n",
"files",
",",
"err",... | // FunctionDirNames returns a list of function directory names. | [
"FunctionDirNames",
"returns",
"a",
"list",
"of",
"function",
"directory",
"names",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L287-L302 |
25,184 | apex/apex | project/project.go | LoadEnvFromFile | func (p *Project) LoadEnvFromFile(path string) error {
p.Log.Debugf("load env from file %q", path)
var env map[string]string
f, err := os.Open(path)
if err != nil {
return err
}
defer f.Close()
if err := json.NewDecoder(f).Decode(&env); err != nil {
return err
}
for k, v := range env {
p.Setenv(k, v)
... | go | func (p *Project) LoadEnvFromFile(path string) error {
p.Log.Debugf("load env from file %q", path)
var env map[string]string
f, err := os.Open(path)
if err != nil {
return err
}
defer f.Close()
if err := json.NewDecoder(f).Decode(&env); err != nil {
return err
}
for k, v := range env {
p.Setenv(k, v)
... | [
"func",
"(",
"p",
"*",
"Project",
")",
"LoadEnvFromFile",
"(",
"path",
"string",
")",
"error",
"{",
"p",
".",
"Log",
".",
"Debugf",
"(",
"\"",
"\"",
",",
"path",
")",
"\n",
"var",
"env",
"map",
"[",
"string",
"]",
"string",
"\n\n",
"f",
",",
"err... | // LoadEnvFromFile reads `path` JSON and applies it to the environment. | [
"LoadEnvFromFile",
"reads",
"path",
"JSON",
"and",
"applies",
"it",
"to",
"the",
"environment",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L305-L324 |
25,185 | apex/apex | project/project.go | Setenv | func (p *Project) Setenv(name, value string) {
for _, fn := range p.Functions {
fn.Setenv(name, value)
}
} | go | func (p *Project) Setenv(name, value string) {
for _, fn := range p.Functions {
fn.Setenv(name, value)
}
} | [
"func",
"(",
"p",
"*",
"Project",
")",
"Setenv",
"(",
"name",
",",
"value",
"string",
")",
"{",
"for",
"_",
",",
"fn",
":=",
"range",
"p",
".",
"Functions",
"{",
"fn",
".",
"Setenv",
"(",
"name",
",",
"value",
")",
"\n",
"}",
"\n",
"}"
] | // Setenv sets environment variable `name` to `value` on every function in project. | [
"Setenv",
"sets",
"environment",
"variable",
"name",
"to",
"value",
"on",
"every",
"function",
"in",
"project",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L327-L331 |
25,186 | apex/apex | project/project.go | LoadFunctionByPath | func (p *Project) LoadFunctionByPath(name, path string) (*function.Function, error) {
fn := &function.Function{
Config: function.Config{
Runtime: p.Runtime,
Memory: p.Memory,
Timeout: p.Timeout,
Role: p.Role,
Handler: p.Handler,
Shim: p.S... | go | func (p *Project) LoadFunctionByPath(name, path string) (*function.Function, error) {
fn := &function.Function{
Config: function.Config{
Runtime: p.Runtime,
Memory: p.Memory,
Timeout: p.Timeout,
Role: p.Role,
Handler: p.Handler,
Shim: p.S... | [
"func",
"(",
"p",
"*",
"Project",
")",
"LoadFunctionByPath",
"(",
"name",
",",
"path",
"string",
")",
"(",
"*",
"function",
".",
"Function",
",",
"error",
")",
"{",
"fn",
":=",
"&",
"function",
".",
"Function",
"{",
"Config",
":",
"function",
".",
"C... | // LoadFunctionByPath returns the function in the given directory. | [
"LoadFunctionByPath",
"returns",
"the",
"function",
"in",
"the",
"given",
"directory",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L339-L374 |
25,187 | apex/apex | project/project.go | CreateOrUpdateAlias | func (p *Project) CreateOrUpdateAlias(alias, version string) error {
p.Log.Debugf("updating %d functions", len(p.Functions))
sem := make(semaphore.Semaphore, p.Concurrency)
errs := make(chan error)
go func() {
for _, fn := range p.Functions {
fn := fn
sem.Acquire()
go func() {
defer sem.Release()
... | go | func (p *Project) CreateOrUpdateAlias(alias, version string) error {
p.Log.Debugf("updating %d functions", len(p.Functions))
sem := make(semaphore.Semaphore, p.Concurrency)
errs := make(chan error)
go func() {
for _, fn := range p.Functions {
fn := fn
sem.Acquire()
go func() {
defer sem.Release()
... | [
"func",
"(",
"p",
"*",
"Project",
")",
"CreateOrUpdateAlias",
"(",
"alias",
",",
"version",
"string",
")",
"error",
"{",
"p",
".",
"Log",
".",
"Debugf",
"(",
"\"",
"\"",
",",
"len",
"(",
"p",
".",
"Functions",
")",
")",
"\n\n",
"sem",
":=",
"make",... | // CreateOrUpdateAlias ensures the given `alias` is available for `version`. | [
"CreateOrUpdateAlias",
"ensures",
"the",
"given",
"alias",
"is",
"available",
"for",
"version",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L377-L416 |
25,188 | apex/apex | project/project.go | name | func (p *Project) name(fn *function.Function) (string, error) {
data := struct {
Project *Project
Function *function.Function
}{
Project: p,
Function: fn,
}
name, err := render(p.nameTemplate, data)
if err != nil {
return "", err
}
return name, nil
} | go | func (p *Project) name(fn *function.Function) (string, error) {
data := struct {
Project *Project
Function *function.Function
}{
Project: p,
Function: fn,
}
name, err := render(p.nameTemplate, data)
if err != nil {
return "", err
}
return name, nil
} | [
"func",
"(",
"p",
"*",
"Project",
")",
"name",
"(",
"fn",
"*",
"function",
".",
"Function",
")",
"(",
"string",
",",
"error",
")",
"{",
"data",
":=",
"struct",
"{",
"Project",
"*",
"Project",
"\n",
"Function",
"*",
"function",
".",
"Function",
"\n",
... | // name returns the computed name for `fn`, using the nameTemplate. | [
"name",
"returns",
"the",
"computed",
"name",
"for",
"fn",
"using",
"the",
"nameTemplate",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L419-L434 |
25,189 | apex/apex | project/project.go | readInfraRole | func (p *Project) readInfraRole() string {
role, err := infra.Output(p.InfraEnvironment, "lambda_function_role_id")
if err != nil {
p.Log.Debugf("couldn't read role from infrastructure: %s", err)
return ""
}
return role
} | go | func (p *Project) readInfraRole() string {
role, err := infra.Output(p.InfraEnvironment, "lambda_function_role_id")
if err != nil {
p.Log.Debugf("couldn't read role from infrastructure: %s", err)
return ""
}
return role
} | [
"func",
"(",
"p",
"*",
"Project",
")",
"readInfraRole",
"(",
")",
"string",
"{",
"role",
",",
"err",
":=",
"infra",
".",
"Output",
"(",
"p",
".",
"InfraEnvironment",
",",
"\"",
"\"",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"p",
".",
"Log",
".",... | // readInfraRole reads lambda function IAM role from infrastructure | [
"readInfraRole",
"reads",
"lambda",
"function",
"IAM",
"role",
"from",
"infrastructure"
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L437-L445 |
25,190 | apex/apex | project/project.go | render | func render(t *template.Template, v interface{}) (string, error) {
buf := new(bytes.Buffer)
if err := t.Execute(buf, v); err != nil {
return "", err
}
return buf.String(), nil
} | go | func render(t *template.Template, v interface{}) (string, error) {
buf := new(bytes.Buffer)
if err := t.Execute(buf, v); err != nil {
return "", err
}
return buf.String(), nil
} | [
"func",
"render",
"(",
"t",
"*",
"template",
".",
"Template",
",",
"v",
"interface",
"{",
"}",
")",
"(",
"string",
",",
"error",
")",
"{",
"buf",
":=",
"new",
"(",
"bytes",
".",
"Buffer",
")",
"\n\n",
"if",
"err",
":=",
"t",
".",
"Execute",
"(",
... | // render returns a string by executing template `t` against the given value `v`. | [
"render",
"returns",
"a",
"string",
"by",
"executing",
"template",
"t",
"against",
"the",
"given",
"value",
"v",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L448-L456 |
25,191 | apex/apex | project/project.go | copyVPC | func copyVPC(in vpc.VPC) vpc.VPC {
securityGroups := make([]string, len(in.SecurityGroups))
copy(securityGroups, in.SecurityGroups)
subnets := make([]string, len(in.Subnets))
copy(subnets, in.Subnets)
return vpc.VPC{
SecurityGroups: securityGroups,
Subnets: subnets,
}
} | go | func copyVPC(in vpc.VPC) vpc.VPC {
securityGroups := make([]string, len(in.SecurityGroups))
copy(securityGroups, in.SecurityGroups)
subnets := make([]string, len(in.Subnets))
copy(subnets, in.Subnets)
return vpc.VPC{
SecurityGroups: securityGroups,
Subnets: subnets,
}
} | [
"func",
"copyVPC",
"(",
"in",
"vpc",
".",
"VPC",
")",
"vpc",
".",
"VPC",
"{",
"securityGroups",
":=",
"make",
"(",
"[",
"]",
"string",
",",
"len",
"(",
"in",
".",
"SecurityGroups",
")",
")",
"\n",
"copy",
"(",
"securityGroups",
",",
"in",
".",
"Sec... | // copyVPC returns a copy of `in`. | [
"copyVPC",
"returns",
"a",
"copy",
"of",
"in",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L468-L478 |
25,192 | apex/apex | project/project.go | matches | func matches(name string, patterns []string) (bool, error) {
if len(patterns) == 0 {
return true, nil
}
for _, pattern := range patterns {
match, err := filepath.Match(pattern, name)
if err != nil {
return false, err
}
if match {
return true, nil
}
}
return false, nil
} | go | func matches(name string, patterns []string) (bool, error) {
if len(patterns) == 0 {
return true, nil
}
for _, pattern := range patterns {
match, err := filepath.Match(pattern, name)
if err != nil {
return false, err
}
if match {
return true, nil
}
}
return false, nil
} | [
"func",
"matches",
"(",
"name",
"string",
",",
"patterns",
"[",
"]",
"string",
")",
"(",
"bool",
",",
"error",
")",
"{",
"if",
"len",
"(",
"patterns",
")",
"==",
"0",
"{",
"return",
"true",
",",
"nil",
"\n",
"}",
"\n\n",
"for",
"_",
",",
"pattern... | // matches returns true if `name` is matched by any of the given `patterns`,
// or if zero `patterns` are provided. | [
"matches",
"returns",
"true",
"if",
"name",
"is",
"matched",
"by",
"any",
"of",
"the",
"given",
"patterns",
"or",
"if",
"zero",
"patterns",
"are",
"provided",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/project/project.go#L482-L499 |
25,193 | apex/apex | internal/progressreader/progressreader.go | Read | func (r *reader) Read(b []byte) (int, error) {
r.Do(term.ClearAll)
n, err := r.ReadCloser.Read(b)
r.written += n
r.p.ValueInt(r.written)
r.render(term.CenterLine(r.p.String()))
return n, err
} | go | func (r *reader) Read(b []byte) (int, error) {
r.Do(term.ClearAll)
n, err := r.ReadCloser.Read(b)
r.written += n
r.p.ValueInt(r.written)
r.render(term.CenterLine(r.p.String()))
return n, err
} | [
"func",
"(",
"r",
"*",
"reader",
")",
"Read",
"(",
"b",
"[",
"]",
"byte",
")",
"(",
"int",
",",
"error",
")",
"{",
"r",
".",
"Do",
"(",
"term",
".",
"ClearAll",
")",
"\n",
"n",
",",
"err",
":=",
"r",
".",
"ReadCloser",
".",
"Read",
"(",
"b"... | // Read implementation. | [
"Read",
"implementation",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/internal/progressreader/progressreader.go#L24-L31 |
25,194 | apex/apex | internal/progressreader/progressreader.go | New | func New(size int, r io.ReadCloser) io.ReadCloser {
return &reader{
ReadCloser: r,
p: util.NewProgressInt(size),
render: term.Renderer(),
}
} | go | func New(size int, r io.ReadCloser) io.ReadCloser {
return &reader{
ReadCloser: r,
p: util.NewProgressInt(size),
render: term.Renderer(),
}
} | [
"func",
"New",
"(",
"size",
"int",
",",
"r",
"io",
".",
"ReadCloser",
")",
"io",
".",
"ReadCloser",
"{",
"return",
"&",
"reader",
"{",
"ReadCloser",
":",
"r",
",",
"p",
":",
"util",
".",
"NewProgressInt",
"(",
"size",
")",
",",
"render",
":",
"term... | // New returns a progress bar reader. | [
"New",
"returns",
"a",
"progress",
"bar",
"reader",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/internal/progressreader/progressreader.go#L34-L40 |
25,195 | apex/apex | metrics/metric.go | Collect | func (m *Metric) Collect() (a AggregatedMetrics) {
for n := range m.collect(m.gen()) {
value := aggregate(n.Value)
switch n.Name {
case "Duration":
a.Duration = value
case "Errors":
a.Errors = value
case "Invocations":
a.Invocations = value
case "Throttles":
a.Throttles = value
}
}
return... | go | func (m *Metric) Collect() (a AggregatedMetrics) {
for n := range m.collect(m.gen()) {
value := aggregate(n.Value)
switch n.Name {
case "Duration":
a.Duration = value
case "Errors":
a.Errors = value
case "Invocations":
a.Invocations = value
case "Throttles":
a.Throttles = value
}
}
return... | [
"func",
"(",
"m",
"*",
"Metric",
")",
"Collect",
"(",
")",
"(",
"a",
"AggregatedMetrics",
")",
"{",
"for",
"n",
":=",
"range",
"m",
".",
"collect",
"(",
"m",
".",
"gen",
"(",
")",
")",
"{",
"value",
":=",
"aggregate",
"(",
"n",
".",
"Value",
")... | // Collect and aggregate metrics for on function. | [
"Collect",
"and",
"aggregate",
"metrics",
"for",
"on",
"function",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/metrics/metric.go#L21-L38 |
25,196 | apex/apex | metrics/metric.go | stats | func (m *Metric) stats(name string) (*cloudwatch.GetMetricStatisticsOutput, error) {
return m.Service.GetMetricStatistics(&cloudwatch.GetMetricStatisticsInput{
StartTime: &m.StartDate,
EndTime: &m.EndDate,
MetricName: &name,
Namespace: aws.String("AWS/Lambda"),
Period: aws.Int64(int64(period(m.Start... | go | func (m *Metric) stats(name string) (*cloudwatch.GetMetricStatisticsOutput, error) {
return m.Service.GetMetricStatistics(&cloudwatch.GetMetricStatisticsInput{
StartTime: &m.StartDate,
EndTime: &m.EndDate,
MetricName: &name,
Namespace: aws.String("AWS/Lambda"),
Period: aws.Int64(int64(period(m.Start... | [
"func",
"(",
"m",
"*",
"Metric",
")",
"stats",
"(",
"name",
"string",
")",
"(",
"*",
"cloudwatch",
".",
"GetMetricStatisticsOutput",
",",
"error",
")",
"{",
"return",
"m",
".",
"Service",
".",
"GetMetricStatistics",
"(",
"&",
"cloudwatch",
".",
"GetMetricS... | // stats for function `name`. | [
"stats",
"for",
"function",
"name",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/metrics/metric.go#L47-L65 |
25,197 | apex/apex | metrics/metric.go | collect | func (m *Metric) collect(in <-chan string) <-chan cloudWatchMetric {
var wg sync.WaitGroup
out := make(chan cloudWatchMetric)
for name := range in {
wg.Add(1)
name := name
go func() {
defer wg.Done()
res, err := m.stats(name)
if err != nil {
// TODO: refactor so that errors are reported in cmd
... | go | func (m *Metric) collect(in <-chan string) <-chan cloudWatchMetric {
var wg sync.WaitGroup
out := make(chan cloudWatchMetric)
for name := range in {
wg.Add(1)
name := name
go func() {
defer wg.Done()
res, err := m.stats(name)
if err != nil {
// TODO: refactor so that errors are reported in cmd
... | [
"func",
"(",
"m",
"*",
"Metric",
")",
"collect",
"(",
"in",
"<-",
"chan",
"string",
")",
"<-",
"chan",
"cloudWatchMetric",
"{",
"var",
"wg",
"sync",
".",
"WaitGroup",
"\n",
"out",
":=",
"make",
"(",
"chan",
"cloudWatchMetric",
")",
"\n\n",
"for",
"name... | // collect starts a new cloudwatch session and requests the key metrics. | [
"collect",
"starts",
"a",
"new",
"cloudwatch",
"session",
"and",
"requests",
"the",
"key",
"metrics",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/metrics/metric.go#L68-L99 |
25,198 | apex/apex | metrics/metric.go | gen | func (m *Metric) gen() <-chan string {
out := make(chan string, len(metricsNames))
for _, n := range metricsNames {
out <- n
}
close(out)
return out
} | go | func (m *Metric) gen() <-chan string {
out := make(chan string, len(metricsNames))
for _, n := range metricsNames {
out <- n
}
close(out)
return out
} | [
"func",
"(",
"m",
"*",
"Metric",
")",
"gen",
"(",
")",
"<-",
"chan",
"string",
"{",
"out",
":=",
"make",
"(",
"chan",
"string",
",",
"len",
"(",
"metricsNames",
")",
")",
"\n",
"for",
"_",
",",
"n",
":=",
"range",
"metricsNames",
"{",
"out",
"<-"... | // gen generates the key metric structs and returns a channel pipeline. | [
"gen",
"generates",
"the",
"key",
"metric",
"structs",
"and",
"returns",
"a",
"channel",
"pipeline",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/metrics/metric.go#L102-L109 |
25,199 | apex/apex | metrics/metric.go | period | func period(start, end time.Time) time.Duration {
switch n := end.Sub(start).Hours(); {
case n > 24:
return time.Hour * 24
default:
return time.Hour
}
} | go | func period(start, end time.Time) time.Duration {
switch n := end.Sub(start).Hours(); {
case n > 24:
return time.Hour * 24
default:
return time.Hour
}
} | [
"func",
"period",
"(",
"start",
",",
"end",
"time",
".",
"Time",
")",
"time",
".",
"Duration",
"{",
"switch",
"n",
":=",
"end",
".",
"Sub",
"(",
"start",
")",
".",
"Hours",
"(",
")",
";",
"{",
"case",
"n",
">",
"24",
":",
"return",
"time",
".",... | // period returns the resolution of metrics. | [
"period",
"returns",
"the",
"resolution",
"of",
"metrics",
"."
] | c31f0a78ce189a8328563fa6a6eb97d04ace4284 | https://github.com/apex/apex/blob/c31f0a78ce189a8328563fa6a6eb97d04ace4284/metrics/metric.go#L112-L119 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.