topicattributes

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteResult

type DeleteResult struct {
	golangsdk.ErrResult
}

func Delete

func Delete(client *golangsdk.ServiceClient, topicURN, attribute string) (r DeleteResult)

type GetResult

type GetResult struct {
	golangsdk.Result
}

func List

func List(client *golangsdk.ServiceClient, topicURN string, opts ListOptsBuilder) (r GetResult)

func (GetResult) Extract

func (r GetResult) Extract() (map[string]string, error)

type ListOpts

type ListOpts struct {
	Name string `q:"name"`
}

func (ListOpts) ToAttributeListQuery

func (opts ListOpts) ToAttributeListQuery() (string, error)

type ListOptsBuilder

type ListOptsBuilder interface {
	ToAttributeListQuery() (string, error)
}

type UpdateOpts

type UpdateOpts struct {
	Value string `json:"value"`
}

func (UpdateOpts) ToAttributeUpdateMap

func (opts UpdateOpts) ToAttributeUpdateMap() (map[string]interface{}, error)

type UpdateOptsBuilder

type UpdateOptsBuilder interface {
	ToAttributeUpdateMap() (map[string]interface{}, error)
}

type UpdateResult

type UpdateResult struct {
	golangsdk.ErrResult
}

func Update

func Update(client *golangsdk.ServiceClient, topicURN, attribute string, opts UpdateOptsBuilder) (r UpdateResult)

Jump to

Keyboard shortcuts

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