Versions in this module Expand all Collapse all v0 v0.29.0 May 17, 2022 Changes in this version + const DefaultServiceName + const DefaultServiceURL + func GetServiceURLForRegion(region string) (string, error) + func UnmarshalAccountSettings(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalFeature(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalRegionSetting(m map[string]json.RawMessage, result interface{}) (err error) + type AccountSettings struct + AccountID *string + CreatedAt *int64 + CreatedBy *string + DefaultEnableNewFeatures *bool + DefaultEnableNewRegions *bool + Enabled *bool + Features []Feature + ID *string + Regions []RegionSetting + Rev *string + Type *string + UpdatedAt *int64 + UpdatedBy *string + type Feature struct + Enabled *bool + Key *string + type GetAccountSettingsOptions struct + AccountID *string + Headers map[string]string + func (_options *GetAccountSettingsOptions) SetAccountID(accountID string) *GetAccountSettingsOptions + func (options *GetAccountSettingsOptions) SetHeaders(param map[string]string) *GetAccountSettingsOptions + type IBMCloudShellV1 struct + Service *core.BaseService + func NewIBMCloudShellV1(options *IBMCloudShellV1Options) (service *IBMCloudShellV1, err error) + func NewIBMCloudShellV1UsingExternalConfig(options *IBMCloudShellV1Options) (ibmCloudShell *IBMCloudShellV1, err error) + func (*IBMCloudShellV1) NewGetAccountSettingsOptions(accountID string) *GetAccountSettingsOptions + func (*IBMCloudShellV1) NewUpdateAccountSettingsOptions(accountID string) *UpdateAccountSettingsOptions + func (ibmCloudShell *IBMCloudShellV1) Clone() *IBMCloudShellV1 + func (ibmCloudShell *IBMCloudShellV1) DisableRetries() + func (ibmCloudShell *IBMCloudShellV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration) + func (ibmCloudShell *IBMCloudShellV1) GetAccountSettings(getAccountSettingsOptions *GetAccountSettingsOptions) (result *AccountSettings, response *core.DetailedResponse, err error) + func (ibmCloudShell *IBMCloudShellV1) GetAccountSettingsWithContext(ctx context.Context, getAccountSettingsOptions *GetAccountSettingsOptions) (result *AccountSettings, response *core.DetailedResponse, err error) + func (ibmCloudShell *IBMCloudShellV1) GetEnableGzipCompression() bool + func (ibmCloudShell *IBMCloudShellV1) GetServiceURL() string + func (ibmCloudShell *IBMCloudShellV1) SetDefaultHeaders(headers http.Header) + func (ibmCloudShell *IBMCloudShellV1) SetEnableGzipCompression(enableGzip bool) + func (ibmCloudShell *IBMCloudShellV1) SetServiceURL(url string) error + func (ibmCloudShell *IBMCloudShellV1) UpdateAccountSettings(updateAccountSettingsOptions *UpdateAccountSettingsOptions) (result *AccountSettings, response *core.DetailedResponse, err error) + func (ibmCloudShell *IBMCloudShellV1) UpdateAccountSettingsWithContext(ctx context.Context, ...) (result *AccountSettings, response *core.DetailedResponse, err error) + type IBMCloudShellV1Options struct + Authenticator core.Authenticator + ServiceName string + URL string + type RegionSetting struct + Enabled *bool + Key *string + type UpdateAccountSettingsOptions struct + AccountID *string + DefaultEnableNewFeatures *bool + DefaultEnableNewRegions *bool + Enabled *bool + Features []Feature + Headers map[string]string + Regions []RegionSetting + Rev *string + func (_options *UpdateAccountSettingsOptions) SetAccountID(accountID string) *UpdateAccountSettingsOptions + func (_options *UpdateAccountSettingsOptions) SetDefaultEnableNewFeatures(defaultEnableNewFeatures bool) *UpdateAccountSettingsOptions + func (_options *UpdateAccountSettingsOptions) SetDefaultEnableNewRegions(defaultEnableNewRegions bool) *UpdateAccountSettingsOptions + func (_options *UpdateAccountSettingsOptions) SetEnabled(enabled bool) *UpdateAccountSettingsOptions + func (_options *UpdateAccountSettingsOptions) SetFeatures(features []Feature) *UpdateAccountSettingsOptions + func (_options *UpdateAccountSettingsOptions) SetRegions(regions []RegionSetting) *UpdateAccountSettingsOptions + func (_options *UpdateAccountSettingsOptions) SetRev(rev string) *UpdateAccountSettingsOptions + func (options *UpdateAccountSettingsOptions) SetHeaders(param map[string]string) *UpdateAccountSettingsOptions