streams

package
v0.0.0-...-e794f14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Update

func Update(c *golangsdk.ServiceClient, name string, opts UpdateOpts) (*golangsdk.Result, error)

func UpdateURL

func UpdateURL(c *golangsdk.ServiceClient, streamName string) string

updateURL PUT /v3/{project_id}/streams/{stream_name}

Types

type UpdateOpts

type UpdateOpts struct {
	StreamName                 string `json:"stream_name" required:"true"`
	DataDuration               *int   `json:"data_duration,omitempty"`
	DataType                   string `json:"data_type,omitempty"`
	DataSchema                 string `json:"data_schema,omitempty"`
	AutoScaleEnabled           *bool  `json:"auto_scale_enabled,omitempty"`
	AutoScaleMinPartitionCount *int   `json:"auto_scale_min_partition_count,omitempty"`
	AutoScaleMaxPartitionCount *int   `json:"auto_scale_max_partition_count,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL