File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
bluemix/configuration/core_config Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ type BXConfigData struct {
52
52
LastSessionUpdateTime int64
53
53
Trace string
54
54
ColorEnabled string
55
+ AlphaCommandsEnabled string
55
56
HTTPTimeout int
56
57
TypeOfSSO string
57
58
FallbackIAMTokens struct {
@@ -415,6 +416,13 @@ func (c *bxConfig) ColorEnabled() (enabled string) {
415
416
return
416
417
}
417
418
419
+ func (c * bxConfig ) AlphaCommandsEnabled () (enabled string ) {
420
+ c .read (func () {
421
+ enabled = c .data .AlphaCommandsEnabled
422
+ })
423
+ return
424
+ }
425
+
418
426
func (c * bxConfig ) TypeOfSSO () (style string ) {
419
427
c .read (func () {
420
428
style = c .data .TypeOfSSO
@@ -723,6 +731,12 @@ func (c *bxConfig) SetColorEnabled(enabled string) {
723
731
})
724
732
}
725
733
734
+ func (c * bxConfig ) SetAlphaCommandsEnabled (enabled string ) {
735
+ c .write (func () {
736
+ c .data .AlphaCommandsEnabled = enabled
737
+ })
738
+ }
739
+
726
740
func (c * bxConfig ) SetLocale (locale string ) {
727
741
c .write (func () {
728
742
c .data .Locale = locale
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ type Repository interface {
52
52
PluginRepo (string ) (models.PluginRepo , bool )
53
53
IsSSLDisabled () bool
54
54
TypeOfSSO () string
55
+ AlphaCommandsEnabled () string
55
56
AssumedTrustedProfileId () string
56
57
FallbackIAMToken () string
57
58
FallbackIAMRefreshToken () string
@@ -118,6 +119,7 @@ type Repository interface {
118
119
SetLocale (string )
119
120
SetTrace (string )
120
121
SetColorEnabled (string )
122
+ SetAlphaCommandsEnabled (string )
121
123
122
124
CheckMessageOfTheDay () bool
123
125
SetMessageOfTheDayTime ()
You can’t perform that action at this time.
0 commit comments