ciosutil

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BucketsMapByResourceOwnerID added in v0.4.2

func BucketsMapByResourceOwnerID(buckets []cios.Bucket) map[string][]cios.Bucket

func ChannelsMapByResourceOwnerID added in v0.4.2

func ChannelsMapByResourceOwnerID(channels []cios.Channel) map[string][]cios.Channel

func DataStoreStreamToStruct added in v0.4.2

func DataStoreStreamToStruct(str []string, st interface{}) error

func GetDefaultDisplayInfo

func GetDefaultDisplayInfo(displayInfos []cios.DisplayInfo) *cios.DisplayInfo

func GroupMapByResourceOwnerID added in v0.4.2

func GroupMapByResourceOwnerID(groups []cios.Group, resourceOwners []cios.ResourceOwner) map[string]cios.Group

func MapPayloads added in v0.4.2

func MapPayloads(objects []cios.PackerFormatJson, stc interface{}) ([]cios.PackerFormatJsonHeader, error)

func ParseAccessToken added in v0.4.2

func ParseAccessToken(accessToken string) string

func ResourceOwnerIDMapByChannelID added in v0.4.2

func ResourceOwnerIDMapByChannelID(channels []cios.Channel) map[string]string

func ResourceOwnerMapByGroupID added in v0.4.2

func ResourceOwnerMapByGroupID(resourceOwners []cios.ResourceOwner) map[string]cios.ResourceOwner

Types

type DeviceEntitiesComponentRange added in v0.4.2

type DeviceEntitiesComponentRange struct {
	StartDeviceEntitiesComponent cios.DeviceEntitiesComponent
	EndDeviceEntitiesComponent   cios.DeviceEntitiesComponent
	StartEventAt                 string
	EndEventAt                   string
}

Jump to

Keyboard shortcuts

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