Documentation ¶
Index ¶
- func SyslogTimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder)
- type ExecutePool
- type ExecutePoolFactory
- type GenContext
- func (c *GenContext) GetApiGatewayCtx() *api_gateway_context.ApiGatewayContext
- func (c *GenContext) GetExecutePoolFactory() *ExecutePoolFactory
- func (c *GenContext) GetForceRegeneration() bool
- func (c *GenContext) GetGoContext() context.Context
- func (c *GenContext) GetMifySchema() *mifyconfig.ServiceConfig
- func (c *GenContext) GetMifyVersion() string
- func (c *GenContext) GetMigrate() bool
- func (c *GenContext) GetOpenapiCtx() *openapi_context.OpenapiContext
- func (c *GenContext) GetSchemaCtx() *schema_context.SchemaContext
- func (c *GenContext) GetServiceName() string
- func (c *GenContext) GetVcsIntegration() *VcsIntegration
- func (c *GenContext) GetWorkspace() *workspace.Description
- func (c *GenContext) MustGetMifySchema() *mifyconfig.ServiceConfig
- func (c *GenContext) SetApiGatewayCtx(ctx *api_gateway_context.ApiGatewayContext)
- func (c *GenContext) SetOpenapiCtx(ctx *openapi_context.OpenapiContext)
- func (c *GenContext) SetSchemaCtx(ctx *schema_context.SchemaContext)
- type VcsIntegration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyslogTimeEncoder ¶
func SyslogTimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder)
Types ¶
type ExecutePool ¶
type ExecutePool struct {
// contains filtered or unexported fields
}
func (*ExecutePool) EnqueExecution ¶
func (ep *ExecutePool) EnqueExecution(work func() error)
func (*ExecutePool) Execute ¶
func (ep *ExecutePool) Execute(work func() error) chan error
func (*ExecutePool) WaitAll ¶
func (ep *ExecutePool) WaitAll() []error
type ExecutePoolFactory ¶
type ExecutePoolFactory struct { }
func (*ExecutePoolFactory) NewPool ¶
func (ep *ExecutePoolFactory) NewPool() ExecutePool
type GenContext ¶
type GenContext struct { Logger *zap.SugaredLogger // libs EndpointsResolver *endpoints.EndpointsResolver // contains filtered or unexported fields }
func NewGenContext ¶
func NewGenContext( goContext context.Context, serviceName string, workspaceDescription workspace.Description, migrate bool, forceRegeneration bool, mifyVersion string) (*GenContext, error)
func (*GenContext) GetApiGatewayCtx ¶
func (c *GenContext) GetApiGatewayCtx() *api_gateway_context.ApiGatewayContext
func (*GenContext) GetExecutePoolFactory ¶
func (c *GenContext) GetExecutePoolFactory() *ExecutePoolFactory
func (*GenContext) GetForceRegeneration ¶ added in v0.1.7
func (c *GenContext) GetForceRegeneration() bool
func (*GenContext) GetGoContext ¶
func (c *GenContext) GetGoContext() context.Context
func (*GenContext) GetMifySchema ¶
func (c *GenContext) GetMifySchema() *mifyconfig.ServiceConfig
func (*GenContext) GetMifyVersion ¶ added in v0.1.7
func (c *GenContext) GetMifyVersion() string
func (*GenContext) GetMigrate ¶ added in v0.1.1
func (c *GenContext) GetMigrate() bool
func (*GenContext) GetOpenapiCtx ¶
func (c *GenContext) GetOpenapiCtx() *openapi_context.OpenapiContext
func (*GenContext) GetSchemaCtx ¶
func (c *GenContext) GetSchemaCtx() *schema_context.SchemaContext
func (*GenContext) GetServiceName ¶
func (c *GenContext) GetServiceName() string
func (*GenContext) GetVcsIntegration ¶ added in v0.1.1
func (c *GenContext) GetVcsIntegration() *VcsIntegration
func (*GenContext) GetWorkspace ¶
func (c *GenContext) GetWorkspace() *workspace.Description
func (*GenContext) MustGetMifySchema ¶
func (c *GenContext) MustGetMifySchema() *mifyconfig.ServiceConfig
func (*GenContext) SetApiGatewayCtx ¶
func (c *GenContext) SetApiGatewayCtx(ctx *api_gateway_context.ApiGatewayContext)
func (*GenContext) SetOpenapiCtx ¶
func (c *GenContext) SetOpenapiCtx(ctx *openapi_context.OpenapiContext)
func (*GenContext) SetSchemaCtx ¶
func (c *GenContext) SetSchemaCtx(ctx *schema_context.SchemaContext)
type VcsIntegration ¶ added in v0.1.1
type VcsIntegration struct {
// contains filtered or unexported fields
}
func (*VcsIntegration) FileHasUncommitedChanges ¶ added in v0.1.1
func (vcs *VcsIntegration) FileHasUncommitedChanges(relPath string) (bool, error)
Click to show internal directories.
Click to hide internal directories.