@@ -20,6 +20,7 @@ type Config struct {
2020 Kafka KafkaConfig `yaml:"kafka"`
2121 Zookeeper ZookeeperConfig `yaml:"zookeeper"`
2222 Redis RedisConfig `yaml:"redis"`
23+ Utapi UtapiConfig `yaml:"utapi"`
2324}
2425
2526type GlobalConfig struct {
@@ -30,6 +31,7 @@ type GlobalConfig struct {
3031type FeatureConfig struct {
3132 Scuba ScubaFeatureConfig `yaml:"scuba"`
3233 BucketNotifications BucketNotificationsFeatureConfig `yaml:"bucket_notifications"`
34+ Utapi UtapiFeatureConfig `yaml:"utapi"`
3335}
3436
3537type ScubaFeatureConfig struct {
@@ -46,6 +48,10 @@ type BucketNotificationsFeatureConfig struct {
4648 } `yaml:"destinationAuth"`
4749}
4850
51+ type UtapiFeatureConfig struct {
52+ Enabled bool `yaml:"enabled"`
53+ }
54+
4955type CloudserverConfig struct {
5056 Image string `yaml:"image"`
5157 EnableNullVersionCompatMode bool `yaml:"enableNullVersionCompatMode"`
@@ -62,6 +68,11 @@ type VaultConfig struct {
6268 LogLevel string `yaml:"log_level"`
6369}
6470
71+ type UtapiConfig struct {
72+ Image string `yaml:"image"`
73+ LogLevel string `yaml:"log_level"`
74+ }
75+
6576type VFormat string
6677
6778func (vf VFormat ) String () string {
@@ -160,6 +171,9 @@ func DefaultConfig() Config {
160171 Type : "none" ,
161172 },
162173 },
174+ Utapi : UtapiFeatureConfig {
175+ Enabled : false ,
176+ },
163177 },
164178 Cloudserver : CloudserverConfig {},
165179 S3Metadata : MetadataConfig {
@@ -185,6 +199,7 @@ func DefaultConfig() Config {
185199 RaftSessions : 1 ,
186200 // LogLevel: "info",
187201 },
202+ Utapi : UtapiConfig {},
188203 }
189204}
190205
0 commit comments