ciossdmock

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient added in v0.5.0

type MockClient struct {
	ciossdk.CiosClient
	// contains filtered or unexported fields
}

func (*MockClient) Account added in v0.5.0

func (m *MockClient) Account() ciossdk.Account

func (*MockClient) Auth added in v0.5.0

func (m *MockClient) Auth() ciossdk.Auth

func (*MockClient) Contract added in v0.5.0

func (m *MockClient) Contract() ciossdk.Contract

func (MockClient) Debug added in v0.5.0

func (m MockClient) Debug(debug bool) ciossdk.CiosClient

func (*MockClient) DeviceAssetManagement added in v0.5.0

func (m *MockClient) DeviceAssetManagement() ciossdk.DeviceAssetManagement

func (*MockClient) DeviceManagement added in v0.5.0

func (m *MockClient) DeviceManagement() ciossdk.DeviceManagement

func (*MockClient) FileStorage added in v0.5.0

func (m *MockClient) FileStorage() ciossdk.FileStorage

func (*MockClient) Geography added in v0.5.0

func (m *MockClient) Geography() ciossdk.Geography

func (*MockClient) License added in v0.5.0

func (m *MockClient) License() ciossdk.License

func (*MockClient) PubSub added in v0.5.0

func (m *MockClient) PubSub() ciossdk.PubSub

func (MockClient) RequestScope added in v0.5.0

func (m MockClient) RequestScope(scope string) ciossdk.CiosClient

func (*MockClient) SetAccount added in v0.5.0

func (m *MockClient) SetAccount(account ciossdk.Account)

func (*MockClient) SetAuth added in v0.5.0

func (m *MockClient) SetAuth(auth ciossdk.Auth)

func (*MockClient) SetContract added in v0.5.0

func (m *MockClient) SetContract(contract ciossdk.Contract)

func (*MockClient) SetDeviceAssetManagement added in v0.5.0

func (m *MockClient) SetDeviceAssetManagement(deviceAssetManagement ciossdk.DeviceAssetManagement)

func (*MockClient) SetDeviceManagement added in v0.5.0

func (m *MockClient) SetDeviceManagement(deviceManagement ciossdk.DeviceManagement)

func (*MockClient) SetFileStorage added in v0.5.0

func (m *MockClient) SetFileStorage(fileStorage ciossdk.FileStorage)

func (*MockClient) SetGeography added in v0.5.0

func (m *MockClient) SetGeography(geography ciossdk.Geography)

func (*MockClient) SetLicense added in v0.5.0

func (m *MockClient) SetLicense(license ciossdk.License)

func (*MockClient) SetPubSub added in v0.5.0

func (m *MockClient) SetPubSub(pubSub ciossdk.PubSub)

func (MockClient) SetTokenExp added in v0.5.0

func (m MockClient) SetTokenExp(tokenExp int64)

func (*MockClient) SetVideo added in v0.5.0

func (m *MockClient) SetVideo(video ciossdk.VideoStreaming)

func (MockClient) String added in v0.5.0

func (m MockClient) String() string

func (MockClient) TokenExp added in v0.5.0

func (m MockClient) TokenExp() int64

func (*MockClient) Video added in v0.5.0

func (m *MockClient) Video() ciossdk.VideoStreaming

type NoImplementAccount

type NoImplementAccount struct{}

func (NoImplementAccount) CreateGroup

func (NoImplementAccount) DeleteGroup

func (NoImplementAccount) GetGroup

func (NoImplementAccount) GetGroupByResourceOwnerId

func (NoImplementAccount) GetGroupByResourceOwnerId(ctx ciosctx.RequestCtx, s string, s2 *string) (cios.Group, *_nethttp.Response, error)

func (NoImplementAccount) GetGroupMapByResourceOwner

func (NoImplementAccount) GetGroups

func (NoImplementAccount) GetGroupsAll

func (NoImplementAccount) GetGroupsUnlimited

func (NoImplementAccount) GetMe

func (NoImplementAccount) GetResourceOwner

func (NoImplementAccount) GetResourceOwnerByGroupId

func (NoImplementAccount) GetResourceOwnerByGroupId(ctx ciosctx.RequestCtx, s string) (cios.ResourceOwner, *_nethttp.Response, error)

func (NoImplementAccount) GetResourceOwnersAll

func (NoImplementAccount) GetResourceOwnersMapByGroupID

func (NoImplementAccount) GetResourceOwnersMapByGroupID(ctx ciosctx.RequestCtx) (map[string]cios.ResourceOwner, error)

func (NoImplementAccount) GetResourceOwnersMapByID

func (NoImplementAccount) GetResourceOwnersMapByID(ctx ciosctx.RequestCtx) (map[string]cios.ResourceOwner, *_nethttp.Response, error)

func (NoImplementAccount) GetResourceOwnersUnlimited

func (NoImplementAccount) InviteGroup

func (NoImplementAccount) UpdateGroup

type NoImplementAuth

type NoImplementAuth struct{}

func (NoImplementAuth) GetAccessTokenByRefreshToken

func (NoImplementAuth) GetAccessTokenOnClient

func (NoImplementAuth) GetAccessTokenOnDevice

func (NoImplementAuth) SetAssertion

func (NoImplementAuth) SetAssertion(assertion string)

func (NoImplementAuth) SetClientId

func (NoImplementAuth) SetClientId(clientId string)

func (NoImplementAuth) SetClientSecret

func (NoImplementAuth) SetClientSecret(clientSecret string)

func (NoImplementAuth) SetDebug

func (NoImplementAuth) SetDebug(debug bool)

func (NoImplementAuth) SetRef

func (NoImplementAuth) SetRef(ref string)

func (NoImplementAuth) SetScope

func (NoImplementAuth) SetScope(scope string)

type NoImplementContract

type NoImplementContract struct{}

func (NoImplementContract) GetContracts

func (NoImplementContract) GetContractsAll

func (NoImplementContract) GetContractsUnlimited

type NoImplementDeviceAssetManagement

type NoImplementDeviceAssetManagement struct{}

func (NoImplementDeviceAssetManagement) CreateEntity

func (NoImplementDeviceAssetManagement) CreateLifecycle

func (NoImplementDeviceAssetManagement) CreateModel

func (NoImplementDeviceAssetManagement) DeleteEntity

func (NoImplementDeviceAssetManagement) DeleteLifecycle

func (NoImplementDeviceAssetManagement) DeleteModel

func (NoImplementDeviceAssetManagement) GetEntitiesAll

func (NoImplementDeviceAssetManagement) GetEntitiesMapByID

func (NoImplementDeviceAssetManagement) GetEntitiesUnlimited

func (NoImplementDeviceAssetManagement) GetEntity

func (NoImplementDeviceAssetManagement) GetLifecyclesAll

func (NoImplementDeviceAssetManagement) GetLifecyclesUnlimited

func (NoImplementDeviceAssetManagement) GetLifecyclesUnlimitedByEntities

func (NoImplementDeviceAssetManagement) GetModel

func (NoImplementDeviceAssetManagement) GetModels

func (NoImplementDeviceAssetManagement) GetModelsAll

func (NoImplementDeviceAssetManagement) GetModelsMapByID

func (NoImplementDeviceAssetManagement) GetModelsUnlimited

type NoImplementDeviceManagement

type NoImplementDeviceManagement struct{}

func (NoImplementDeviceManagement) CreateDevice

func (NoImplementDeviceManagement) CreatePolicy

func (NoImplementDeviceManagement) DeleteDevice

func (NoImplementDeviceManagement) DeletePolicy

func (NoImplementDeviceManagement) GetDevice

func (NoImplementDeviceManagement) GetDeviceInventory

func (NoImplementDeviceManagement) GetDeviceInventory(ctx ciosctx.RequestCtx, s string) (map[string]interface{}, *_nethttp.Response, error)

func (NoImplementDeviceManagement) GetDevices

func (NoImplementDeviceManagement) GetDevicesAll

func (NoImplementDeviceManagement) GetDevicesUnlimited

func (NoImplementDeviceManagement) GetMonitoring

func (NoImplementDeviceManagement) GetMonitoringLatestList

func (NoImplementDeviceManagement) GetMonitoringLatestList(ctx ciosctx.RequestCtx, strings []string) ([]cios.DeviceMonitoring, *_nethttp.Response, error)

func (NoImplementDeviceManagement) GetPoliciesAll

func (NoImplementDeviceManagement) GetPoliciesUnlimited

func (NoImplementDeviceManagement) UpdateDevice

type NoImplementFileStorage

type NoImplementFileStorage struct{}

func (NoImplementFileStorage) CopyNode

func (NoImplementFileStorage) CreateBucket

func (NoImplementFileStorage) CreateNode

func (NoImplementFileStorage) CreateNodeOnNodeID

func (NoImplementFileStorage) CreateNodeOnNodeID(ctx ciosctx.RequestCtx, s string, request cios.NodeRequest) (cios.Node, *_nethttp.Response, error)

func (NoImplementFileStorage) DeleteBucket

func (NoImplementFileStorage) DeleteNode

func (NoImplementFileStorage) DownloadFile

func (NoImplementFileStorage) DownloadFileByKey

func (NoImplementFileStorage) DownloadFileByKey(ctx ciosctx.RequestCtx, s string, s2 string) ([]byte, *_nethttp.Response, error)

func (NoImplementFileStorage) GetBucket

func (NoImplementFileStorage) GetBucketByResourceOwnerIDAndName

func (NoImplementFileStorage) GetBucketByResourceOwnerIDAndName(ctx ciosctx.RequestCtx, s string, s2 string) (cios.Bucket, *_nethttp.Response, error)

func (NoImplementFileStorage) GetBuckets

func (NoImplementFileStorage) GetBucketsAll

func (NoImplementFileStorage) GetBucketsUnlimited

func (NoImplementFileStorage) GetNode

func (NoImplementFileStorage) GetNodes

func (NoImplementFileStorage) GetNodesAll

func (NoImplementFileStorage) GetNodesUnlimited

func (NoImplementFileStorage) GetOrCreateBucket

func (NoImplementFileStorage) MoveNode

func (NoImplementFileStorage) RenameNode

func (NoImplementFileStorage) UpdateBucket

func (NoImplementFileStorage) UploadFile

type NoImplementGeography

type NoImplementGeography struct{}

func (NoImplementGeography) CreatePoint

func (NoImplementGeography) DeletePoint

func (NoImplementGeography) GetPoints

type NoImplementLicense

type NoImplementLicense struct{}

func (NoImplementLicense) GetLicenses

type NoImplementPubsub

type NoImplementPubsub struct{}

func (NoImplementPubsub) ConnectWebSocket

func (NoImplementPubsub) ConnectWebSocket(s string, bools chan bool, options srvpubsub.ConnectWebSocketOptions) error

func (NoImplementPubsub) CreateCIOSWebsocketConnection

func (NoImplementPubsub) CreateCIOSWebsocketConnection(s string, s2 string) (*websocket.Conn, error)

func (NoImplementPubsub) CreateChannel

func (NoImplementPubsub) CreateMessagingURL

func (NoImplementPubsub) CreateMessagingURL(s string, s2 string, s3 *string) string

func (NoImplementPubsub) DeleteChannel

func (NoImplementPubsub) DeleteChannel(ctx ciosctx.RequestCtx, s string) (*_nethttp.Response, error)

func (NoImplementPubsub) DeleteDataByChannel

func (NoImplementPubsub) DeleteDataByChannel(ctx ciosctx.RequestCtx, s string) (*_nethttp.Response, error)

func (NoImplementPubsub) DeleteObject

func (NoImplementPubsub) DeleteObject(ctx ciosctx.RequestCtx, s string, s2 string) (*_nethttp.Response, error)

func (NoImplementPubsub) GetChannel

func (NoImplementPubsub) GetChannelFirst

func (NoImplementPubsub) GetChannels

func (NoImplementPubsub) GetChannelsAll

func (NoImplementPubsub) GetChannelsMapByID

func (NoImplementPubsub) GetChannelsMapByResourceOwnerID

func (NoImplementPubsub) GetChannelsMapByResourceOwnerID(ctx ciosctx.RequestCtx, request cios.ApiGetChannelsRequest) (map[string][]cios.Channel, *_nethttp.Response, error)

func (NoImplementPubsub) GetChannelsUnlimited

func (NoImplementPubsub) GetDataStoreChannel

func (NoImplementPubsub) GetJsonStreamUnlimited

func (NoImplementPubsub) GetJsonStreamUnlimited(ctx ciosctx.RequestCtx, s string, request sdkmodel.ApiGetStreamRequest) ([]cios.PackerFormatJson, error)

func (NoImplementPubsub) GetMultiObjectLatest

func (NoImplementPubsub) GetMultiObjectLatestByChannels

func (NoImplementPubsub) GetMultiObjectLatestByChannels(ctx ciosctx.RequestCtx, channels []cios.Channel) (cios.MultipleDataStoreDataLatest, *_nethttp.Response, error)

func (NoImplementPubsub) GetObject

func (NoImplementPubsub) GetObject(ctx ciosctx.RequestCtx, s string, s2 string, s3 *string) (interface{}, *_nethttp.Response, error)

func (NoImplementPubsub) GetObjectLatest

func (NoImplementPubsub) GetObjectLatest(ctx ciosctx.RequestCtx, s string, s2 *string) (interface{}, *_nethttp.Response, error)

func (NoImplementPubsub) GetObjectsUnlimited

func (NoImplementPubsub) GetOrCreateChannel

func (NoImplementPubsub) GetStream

func (NoImplementPubsub) GetStreamAll

func (NoImplementPubsub) GetStreamFirst

func (NoImplementPubsub) GetStreamUnlimited

func (NoImplementPubsub) GetStreamUnlimited(ctx ciosctx.RequestCtx, s string, request sdkmodel.ApiGetStreamRequest) ([]string, error)

func (NoImplementPubsub) MapMultiObjectLatestPayload

func (NoImplementPubsub) MapMultiObjectLatestPayload(ctx ciosctx.RequestCtx, strings []string, i interface{}) ([]cios.PackerFormatJsonHeader, *_nethttp.Response, error)

func (NoImplementPubsub) MapMultiObjectLatestPayloadByChannels

func (NoImplementPubsub) MapMultiObjectLatestPayloadByChannels(ctx ciosctx.RequestCtx, channels []cios.Channel, i interface{}) ([]cios.PackerFormatJsonHeader, *_nethttp.Response, error)

func (NoImplementPubsub) MapObjectLatest

func (NoImplementPubsub) MapObjectLatest(ctx ciosctx.RequestCtx, s string, s2 *string, i interface{}) (*_nethttp.Response, error)

func (NoImplementPubsub) MapStreamAll

func (NoImplementPubsub) MapStreamAll(ctx ciosctx.RequestCtx, s string, request sdkmodel.ApiGetStreamRequest, i interface{}) error

func (NoImplementPubsub) MapStreamFirst

func (NoImplementPubsub) MapStreamFirst(ctx ciosctx.RequestCtx, s string, request sdkmodel.ApiGetStreamRequest, i interface{}) error

func (NoImplementPubsub) MapStreamUnlimited

func (NoImplementPubsub) MapStreamUnlimited(ctx ciosctx.RequestCtx, s string, request sdkmodel.ApiGetStreamRequest, i interface{}) error

func (NoImplementPubsub) NewMessaging

func (NoImplementPubsub) PublishMessage

func (NoImplementPubsub) PublishMessage(ctx ciosctx.RequestCtx, s string, i interface{}, s2 *string) (*_nethttp.Response, error)

func (NoImplementPubsub) PublishMessageJSON

func (NoImplementPubsub) PublishMessageJSON(ctx ciosctx.RequestCtx, s string, json cios.PackerFormatJson) (*_nethttp.Response, error)

func (NoImplementPubsub) PublishMessagePackerOnly

func (NoImplementPubsub) PublishMessagePackerOnly(ctx ciosctx.RequestCtx, s string, i interface{}) (*_nethttp.Response, error)

func (NoImplementPubsub) UpdateChannel

type NoImplementVideoStreaming

type NoImplementVideoStreaming struct{}

func (NoImplementVideoStreaming) GetThumbnail

func (NoImplementVideoStreaming) GetVideoInfo

func (NoImplementVideoStreaming) GetVideoInfos

func (NoImplementVideoStreaming) Play

func (NoImplementVideoStreaming) Stop

func (NoImplementVideoStreaming) UpdateVideoInfo

Jump to

Keyboard shortcuts

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