Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigParam ¶
type ConfigParam struct { Status string `json:"status"` InstanceID string `json:"instance_id"` RedisConfigs []ResultRedisConfig `json:"redis_config"` ConfigStatus string `json:"config_status"` ConfigTime string `json:"config_time"` }
type ListResult ¶
func List ¶
func List(client *golangsdk.ServiceClient, instanceID string) (r ListResult)
func (ListResult) Extract ¶
func (r ListResult) Extract() (*ConfigParam, error)
type RedisConfig ¶
type ResultRedisConfig ¶
type ResultRedisConfig struct { Description string `json:"description"` ParamID string `json:"param_id"` ParamName string `json:"param_name"` ParamValue string `json:"param_value"` DefaultValue string `json:"default_value"` ValueType string `json:"value_type"` ValueRange string `json:"value_range"` }
type UpdateOpts ¶
type UpdateOpts struct {
RedisConfigs []RedisConfig `json:"redis_config" required:"true"`
}
func (UpdateOpts) ToConfigUpdateMap ¶
func (opts UpdateOpts) ToConfigUpdateMap() (map[string]interface{}, error)
type UpdateOptsBuilder ¶
type UpdateResult ¶
func Update ¶
func Update(client *golangsdk.ServiceClient, instanceID string, opts UpdateOptsBuilder) (r UpdateResult)
Click to show internal directories.
Click to hide internal directories.