Documentation
¶
Index ¶
- type BaseProcessor
- type DBInfo
- type InfraInfo
- type KafkaProcessor
- func (k *KafkaProcessor) Close() string
- func (k *KafkaProcessor) ComposeEnv() string
- func (k *KafkaProcessor) Config() string
- func (k *KafkaProcessor) ConfigEnv() string
- func (k *KafkaProcessor) ConfigField() string
- func (k *KafkaProcessor) ConfigFieldName() string
- func (k *KafkaProcessor) Constructor() string
- func (k *KafkaProcessor) DockerCompose() string
- func (k *KafkaProcessor) FillStructField() string
- func (k *KafkaProcessor) Import() string
- func (k *KafkaProcessor) InitInAppConstructor() string
- func (k *KafkaProcessor) MigrateFileData() []byte
- func (k *KafkaProcessor) StructField() string
- type MongoProcessor
- func (m *MongoProcessor) Close() string
- func (m *MongoProcessor) ComposeEnv() string
- func (m *MongoProcessor) Config() string
- func (m *MongoProcessor) ConfigEnv() string
- func (m *MongoProcessor) ConfigField() string
- func (m *MongoProcessor) ConfigFieldName() string
- func (m *MongoProcessor) Constructor() string
- func (m *MongoProcessor) DockerCompose() string
- func (m *MongoProcessor) FillStructField() string
- func (m *MongoProcessor) Import() string
- func (m *MongoProcessor) InitInAppConstructor() string
- func (m *MongoProcessor) MigrateFileData() []byte
- func (m *MongoProcessor) StructField() string
- type MysqlProcessor
- func (m *MysqlProcessor) Close() string
- func (m *MysqlProcessor) ComposeEnv() string
- func (m *MysqlProcessor) Config() string
- func (m *MysqlProcessor) ConfigEnv() string
- func (m *MysqlProcessor) ConfigField() string
- func (m *MysqlProcessor) ConfigFieldName() string
- func (m *MysqlProcessor) Constructor() string
- func (m *MysqlProcessor) DockerCompose() string
- func (m *MysqlProcessor) FillStructField() string
- func (m *MysqlProcessor) Import() string
- func (m *MysqlProcessor) InitInAppConstructor() string
- func (m *MysqlProcessor) MigrateFileData() []byte
- func (m *MysqlProcessor) StructField() string
- type Opt
- type PostgresProcessor
- func (p *PostgresProcessor) Close() string
- func (p *PostgresProcessor) ComposeEnv() string
- func (p *PostgresProcessor) Config() string
- func (p *PostgresProcessor) ConfigEnv() string
- func (p *PostgresProcessor) ConfigField() string
- func (p *PostgresProcessor) ConfigFieldName() string
- func (p *PostgresProcessor) Constructor() string
- func (p *PostgresProcessor) DockerCompose() string
- func (p *PostgresProcessor) FillStructField() string
- func (p *PostgresProcessor) Import() string
- func (p *PostgresProcessor) InitInAppConstructor() string
- func (p *PostgresProcessor) MigrateFileData() []byte
- func (p *PostgresProcessor) StructField() string
- type Processor
- type RedisProcessor
- func (r *RedisProcessor) Close() string
- func (r *RedisProcessor) ComposeEnv() string
- func (r *RedisProcessor) Config() string
- func (r *RedisProcessor) ConfigEnv() string
- func (r *RedisProcessor) ConfigField() string
- func (r *RedisProcessor) ConfigFieldName() string
- func (r *RedisProcessor) Constructor() string
- func (r *RedisProcessor) DockerCompose() string
- func (r *RedisProcessor) FillStructField() string
- func (r *RedisProcessor) Import() string
- func (r *RedisProcessor) InitInAppConstructor() string
- func (r *RedisProcessor) MigrateFileData() []byte
- func (r *RedisProcessor) StructField() string
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseProcessor ¶ added in v1.3.1
type BaseProcessor struct {
// contains filtered or unexported fields
}
func (*BaseProcessor) SetConfig ¶ added in v1.3.1
func (b *BaseProcessor) SetConfig(cfg *config.ProjectConfig)
type KafkaProcessor ¶ added in v1.3.0
type KafkaProcessor struct {
BaseProcessor
}
func (*KafkaProcessor) Close ¶ added in v1.3.0
func (k *KafkaProcessor) Close() string
func (*KafkaProcessor) ComposeEnv ¶ added in v1.3.0
func (k *KafkaProcessor) ComposeEnv() string
func (*KafkaProcessor) Config ¶ added in v1.3.0
func (k *KafkaProcessor) Config() string
func (*KafkaProcessor) ConfigEnv ¶ added in v1.3.0
func (k *KafkaProcessor) ConfigEnv() string
func (*KafkaProcessor) ConfigField ¶ added in v1.3.0
func (k *KafkaProcessor) ConfigField() string
func (*KafkaProcessor) ConfigFieldName ¶ added in v1.4.0
func (k *KafkaProcessor) ConfigFieldName() string
func (*KafkaProcessor) Constructor ¶ added in v1.3.0
func (k *KafkaProcessor) Constructor() string
func (*KafkaProcessor) DockerCompose ¶ added in v1.3.0
func (k *KafkaProcessor) DockerCompose() string
func (*KafkaProcessor) FillStructField ¶ added in v1.3.0
func (k *KafkaProcessor) FillStructField() string
func (*KafkaProcessor) Import ¶ added in v1.3.0
func (k *KafkaProcessor) Import() string
func (*KafkaProcessor) InitInAppConstructor ¶ added in v1.3.0
func (k *KafkaProcessor) InitInAppConstructor() string
func (*KafkaProcessor) MigrateFileData ¶ added in v1.4.0
func (k *KafkaProcessor) MigrateFileData() []byte
func (*KafkaProcessor) StructField ¶ added in v1.3.0
func (k *KafkaProcessor) StructField() string
type MongoProcessor ¶ added in v1.2.0
type MongoProcessor struct {
BaseProcessor
}
func (*MongoProcessor) Close ¶ added in v1.2.0
func (m *MongoProcessor) Close() string
func (*MongoProcessor) ComposeEnv ¶ added in v1.2.0
func (m *MongoProcessor) ComposeEnv() string
func (*MongoProcessor) Config ¶ added in v1.2.0
func (m *MongoProcessor) Config() string
func (*MongoProcessor) ConfigEnv ¶ added in v1.2.0
func (m *MongoProcessor) ConfigEnv() string
func (*MongoProcessor) ConfigField ¶ added in v1.2.0
func (m *MongoProcessor) ConfigField() string
func (*MongoProcessor) ConfigFieldName ¶ added in v1.4.0
func (m *MongoProcessor) ConfigFieldName() string
func (*MongoProcessor) Constructor ¶ added in v1.2.0
func (m *MongoProcessor) Constructor() string
func (*MongoProcessor) DockerCompose ¶ added in v1.2.0
func (m *MongoProcessor) DockerCompose() string
func (*MongoProcessor) FillStructField ¶ added in v1.2.0
func (m *MongoProcessor) FillStructField() string
func (*MongoProcessor) Import ¶ added in v1.2.0
func (m *MongoProcessor) Import() string
func (*MongoProcessor) InitInAppConstructor ¶ added in v1.2.0
func (m *MongoProcessor) InitInAppConstructor() string
func (*MongoProcessor) MigrateFileData ¶ added in v1.4.0
func (m *MongoProcessor) MigrateFileData() []byte
func (*MongoProcessor) StructField ¶ added in v1.2.0
func (m *MongoProcessor) StructField() string
type MysqlProcessor ¶ added in v1.1.0
type MysqlProcessor struct {
BaseProcessor
}
func (*MysqlProcessor) Close ¶ added in v1.1.0
func (m *MysqlProcessor) Close() string
func (*MysqlProcessor) ComposeEnv ¶ added in v1.1.0
func (m *MysqlProcessor) ComposeEnv() string
func (*MysqlProcessor) Config ¶ added in v1.1.0
func (m *MysqlProcessor) Config() string
func (*MysqlProcessor) ConfigEnv ¶ added in v1.1.0
func (m *MysqlProcessor) ConfigEnv() string
func (*MysqlProcessor) ConfigField ¶ added in v1.1.0
func (m *MysqlProcessor) ConfigField() string
func (*MysqlProcessor) ConfigFieldName ¶ added in v1.4.0
func (m *MysqlProcessor) ConfigFieldName() string
func (*MysqlProcessor) Constructor ¶ added in v1.1.0
func (m *MysqlProcessor) Constructor() string
func (*MysqlProcessor) DockerCompose ¶ added in v1.1.0
func (m *MysqlProcessor) DockerCompose() string
func (*MysqlProcessor) FillStructField ¶ added in v1.1.0
func (m *MysqlProcessor) FillStructField() string
func (*MysqlProcessor) Import ¶ added in v1.1.0
func (m *MysqlProcessor) Import() string
func (*MysqlProcessor) InitInAppConstructor ¶ added in v1.1.0
func (m *MysqlProcessor) InitInAppConstructor() string
func (*MysqlProcessor) MigrateFileData ¶ added in v1.4.0
func (m *MysqlProcessor) MigrateFileData() []byte
func (*MysqlProcessor) StructField ¶ added in v1.1.0
func (m *MysqlProcessor) StructField() string
type Opt ¶ added in v1.3.1
type Opt func(*Registry)
func WithPostgres ¶ added in v1.3.1
func WithPostgres() Opt
type PostgresProcessor ¶
type PostgresProcessor struct {
BaseProcessor
}
func (*PostgresProcessor) Close ¶
func (p *PostgresProcessor) Close() string
func (*PostgresProcessor) ComposeEnv ¶
func (p *PostgresProcessor) ComposeEnv() string
func (*PostgresProcessor) Config ¶
func (p *PostgresProcessor) Config() string
func (*PostgresProcessor) ConfigEnv ¶
func (p *PostgresProcessor) ConfigEnv() string
func (*PostgresProcessor) ConfigField ¶
func (p *PostgresProcessor) ConfigField() string
func (*PostgresProcessor) ConfigFieldName ¶ added in v1.4.0
func (p *PostgresProcessor) ConfigFieldName() string
func (*PostgresProcessor) Constructor ¶
func (p *PostgresProcessor) Constructor() string
func (*PostgresProcessor) DockerCompose ¶
func (p *PostgresProcessor) DockerCompose() string
func (*PostgresProcessor) FillStructField ¶
func (p *PostgresProcessor) FillStructField() string
func (*PostgresProcessor) Import ¶
func (p *PostgresProcessor) Import() string
func (*PostgresProcessor) InitInAppConstructor ¶
func (p *PostgresProcessor) InitInAppConstructor() string
func (*PostgresProcessor) MigrateFileData ¶ added in v1.4.0
func (p *PostgresProcessor) MigrateFileData() []byte
func (*PostgresProcessor) StructField ¶
func (p *PostgresProcessor) StructField() string
type Processor ¶
type Processor interface {
SetConfig(cfg *config.ProjectConfig)
Import() string
Config() string
ConfigField() string
ConfigFieldName() string
Constructor() string
InitInAppConstructor() string
StructField() string
FillStructField() string
Close() string
DockerCompose() string
ComposeEnv() string
ConfigEnv() string
MigrateFileData() []byte
}
type RedisProcessor ¶
type RedisProcessor struct {
BaseProcessor
}
func (*RedisProcessor) Close ¶
func (r *RedisProcessor) Close() string
func (*RedisProcessor) ComposeEnv ¶
func (r *RedisProcessor) ComposeEnv() string
func (*RedisProcessor) Config ¶
func (r *RedisProcessor) Config() string
func (*RedisProcessor) ConfigEnv ¶
func (r *RedisProcessor) ConfigEnv() string
func (*RedisProcessor) ConfigField ¶
func (r *RedisProcessor) ConfigField() string
func (*RedisProcessor) ConfigFieldName ¶ added in v1.4.0
func (r *RedisProcessor) ConfigFieldName() string
func (*RedisProcessor) Constructor ¶
func (r *RedisProcessor) Constructor() string
func (*RedisProcessor) DockerCompose ¶
func (r *RedisProcessor) DockerCompose() string
func (*RedisProcessor) FillStructField ¶
func (r *RedisProcessor) FillStructField() string
func (*RedisProcessor) Import ¶
func (r *RedisProcessor) Import() string
func (*RedisProcessor) InitInAppConstructor ¶
func (r *RedisProcessor) InitInAppConstructor() string
func (*RedisProcessor) MigrateFileData ¶ added in v1.4.0
func (r *RedisProcessor) MigrateFileData() []byte
func (*RedisProcessor) StructField ¶
func (r *RedisProcessor) StructField() string
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶ added in v1.3.1
func (*Registry) ListInfras ¶ added in v1.3.1
func (*Registry) UpdateConfig ¶ added in v1.3.1
func (r *Registry) UpdateConfig(cfg *config.ProjectConfig)
Click to show internal directories.
Click to hide internal directories.