v1

package
v0.0.107 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EgClientBuilder

func EgClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForCreateChannel

func GenReqDefForCreateChannel() *def.HttpRequestDef

func GenReqDefForCreateEventSource

func GenReqDefForCreateEventSource() *def.HttpRequestDef

func GenReqDefForCreateSubscription

func GenReqDefForCreateSubscription() *def.HttpRequestDef

func GenReqDefForCreateSubscriptionTarget

func GenReqDefForCreateSubscriptionTarget() *def.HttpRequestDef

func GenReqDefForDeleteChannel

func GenReqDefForDeleteChannel() *def.HttpRequestDef

func GenReqDefForDeleteEventSource

func GenReqDefForDeleteEventSource() *def.HttpRequestDef

func GenReqDefForDeleteSubscription

func GenReqDefForDeleteSubscription() *def.HttpRequestDef

func GenReqDefForDeleteSubscriptionTarget

func GenReqDefForDeleteSubscriptionTarget() *def.HttpRequestDef

func GenReqDefForListChannels

func GenReqDefForListChannels() *def.HttpRequestDef

func GenReqDefForListEventSources

func GenReqDefForListEventSources() *def.HttpRequestDef

func GenReqDefForListEventTarget

func GenReqDefForListEventTarget() *def.HttpRequestDef

func GenReqDefForListQuotas

func GenReqDefForListQuotas() *def.HttpRequestDef

func GenReqDefForListSubscriptions

func GenReqDefForListSubscriptions() *def.HttpRequestDef

func GenReqDefForOperateSubscription

func GenReqDefForOperateSubscription() *def.HttpRequestDef

func GenReqDefForPutEvents

func GenReqDefForPutEvents() *def.HttpRequestDef

func GenReqDefForShowDetailOfChannel

func GenReqDefForShowDetailOfChannel() *def.HttpRequestDef

func GenReqDefForShowDetailOfEventSource

func GenReqDefForShowDetailOfEventSource() *def.HttpRequestDef

func GenReqDefForShowDetailOfSubscription

func GenReqDefForShowDetailOfSubscription() *def.HttpRequestDef

func GenReqDefForShowDetailOfSubscriptionTarget

func GenReqDefForShowDetailOfSubscriptionTarget() *def.HttpRequestDef

func GenReqDefForUpdateChannel

func GenReqDefForUpdateChannel() *def.HttpRequestDef

func GenReqDefForUpdateEventSource

func GenReqDefForUpdateEventSource() *def.HttpRequestDef

func GenReqDefForUpdateSubscription

func GenReqDefForUpdateSubscription() *def.HttpRequestDef

func GenReqDefForUpdateSubscriptionSource

func GenReqDefForUpdateSubscriptionSource() *def.HttpRequestDef

func GenReqDefForUpdateSubscriptionTarget

func GenReqDefForUpdateSubscriptionTarget() *def.HttpRequestDef

Types

type CreateChannelInvoker

type CreateChannelInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateChannelInvoker) Invoke

type CreateEventSourceInvoker

type CreateEventSourceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateEventSourceInvoker) Invoke

type CreateSubscriptionInvoker

type CreateSubscriptionInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSubscriptionInvoker) Invoke

type CreateSubscriptionTargetInvoker

type CreateSubscriptionTargetInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSubscriptionTargetInvoker) Invoke

type DeleteChannelInvoker

type DeleteChannelInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteChannelInvoker) Invoke

type DeleteEventSourceInvoker

type DeleteEventSourceInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteEventSourceInvoker) Invoke

type DeleteSubscriptionInvoker

type DeleteSubscriptionInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSubscriptionInvoker) Invoke

type DeleteSubscriptionTargetInvoker

type DeleteSubscriptionTargetInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSubscriptionTargetInvoker) Invoke

type EgClient

type EgClient struct {
	HcClient *http_client.HcHttpClient
}

func NewEgClient

func NewEgClient(hcClient *http_client.HcHttpClient) *EgClient

func (*EgClient) CreateChannel

func (c *EgClient) CreateChannel(request *model.CreateChannelRequest) (*model.CreateChannelResponse, error)

CreateChannel 创建自定义事件通道

创建自定义事件通道。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) CreateChannelInvoker

func (c *EgClient) CreateChannelInvoker(request *model.CreateChannelRequest) *CreateChannelInvoker

CreateChannelInvoker 创建自定义事件通道

func (*EgClient) CreateEventSource

func (c *EgClient) CreateEventSource(request *model.CreateEventSourceRequest) (*model.CreateEventSourceResponse, error)

CreateEventSource 创建自定义事件源

创建用户自定义类型的事件源,只能指定自定义通道,不能指定官方通道。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) CreateEventSourceInvoker

func (c *EgClient) CreateEventSourceInvoker(request *model.CreateEventSourceRequest) *CreateEventSourceInvoker

CreateEventSourceInvoker 创建自定义事件源

func (*EgClient) CreateSubscription

func (c *EgClient) CreateSubscription(request *model.CreateSubscriptionRequest) (*model.CreateSubscriptionResponse, error)

CreateSubscription 创建事件订阅

创建事件订阅。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) CreateSubscriptionInvoker

func (c *EgClient) CreateSubscriptionInvoker(request *model.CreateSubscriptionRequest) *CreateSubscriptionInvoker

CreateSubscriptionInvoker 创建事件订阅

func (*EgClient) CreateSubscriptionTarget

CreateSubscriptionTarget 创建事件订阅目标

在事件订阅中增加一个事件目标。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) CreateSubscriptionTargetInvoker

func (c *EgClient) CreateSubscriptionTargetInvoker(request *model.CreateSubscriptionTargetRequest) *CreateSubscriptionTargetInvoker

CreateSubscriptionTargetInvoker 创建事件订阅目标

func (*EgClient) DeleteChannel

func (c *EgClient) DeleteChannel(request *model.DeleteChannelRequest) (*model.DeleteChannelResponse, error)

DeleteChannel 删除自定义事件通道

删除指定自定义事件通道。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) DeleteChannelInvoker

func (c *EgClient) DeleteChannelInvoker(request *model.DeleteChannelRequest) *DeleteChannelInvoker

DeleteChannelInvoker 删除自定义事件通道

func (*EgClient) DeleteEventSource

func (c *EgClient) DeleteEventSource(request *model.DeleteEventSourceRequest) (*model.DeleteEventSourceResponse, error)

DeleteEventSource 删除自定义事件源

删除指定的自定义事件源。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) DeleteEventSourceInvoker

func (c *EgClient) DeleteEventSourceInvoker(request *model.DeleteEventSourceRequest) *DeleteEventSourceInvoker

DeleteEventSourceInvoker 删除自定义事件源

func (*EgClient) DeleteSubscription

func (c *EgClient) DeleteSubscription(request *model.DeleteSubscriptionRequest) (*model.DeleteSubscriptionResponse, error)

DeleteSubscription 删除事件订阅

删除事件订阅。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) DeleteSubscriptionInvoker

func (c *EgClient) DeleteSubscriptionInvoker(request *model.DeleteSubscriptionRequest) *DeleteSubscriptionInvoker

DeleteSubscriptionInvoker 删除事件订阅

func (*EgClient) DeleteSubscriptionTarget

DeleteSubscriptionTarget 删除事件订阅目标

删除事件订阅中的事件目标。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) DeleteSubscriptionTargetInvoker

func (c *EgClient) DeleteSubscriptionTargetInvoker(request *model.DeleteSubscriptionTargetRequest) *DeleteSubscriptionTargetInvoker

DeleteSubscriptionTargetInvoker 删除事件订阅目标

func (*EgClient) ListChannels

func (c *EgClient) ListChannels(request *model.ListChannelsRequest) (*model.ListChannelsResponse, error)

ListChannels 查询事件通道列表

查询事件通道列表,包括官方通道和自定义通道。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) ListChannelsInvoker

func (c *EgClient) ListChannelsInvoker(request *model.ListChannelsRequest) *ListChannelsInvoker

ListChannelsInvoker 查询事件通道列表

func (*EgClient) ListEventSources

func (c *EgClient) ListEventSources(request *model.ListEventSourcesRequest) (*model.ListEventSourcesResponse, error)

ListEventSources 查询事件源列表

查询事件源列表,支持条件查询,如可以指定事件通道ID来查询某个事件通道下的所有事件源。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) ListEventSourcesInvoker

func (c *EgClient) ListEventSourcesInvoker(request *model.ListEventSourcesRequest) *ListEventSourcesInvoker

ListEventSourcesInvoker 查询事件源列表

func (*EgClient) ListEventTarget

func (c *EgClient) ListEventTarget(request *model.ListEventTargetRequest) (*model.ListEventTargetResponse, error)

ListEventTarget 查询事件目标分类

查询预置的事件目标分类,获取每个事件目标分类的字段定义。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) ListEventTargetInvoker

func (c *EgClient) ListEventTargetInvoker(request *model.ListEventTargetRequest) *ListEventTargetInvoker

ListEventTargetInvoker 查询事件目标分类

func (*EgClient) ListQuotas

func (c *EgClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)

ListQuotas 查询配额

查询当前租户的配额,未特殊配置过的会返回默认配额。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) ListQuotasInvoker

func (c *EgClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker

ListQuotasInvoker 查询配额

func (*EgClient) ListSubscriptions

func (c *EgClient) ListSubscriptions(request *model.ListSubscriptionsRequest) (*model.ListSubscriptionsResponse, error)

ListSubscriptions 查询事件订阅列表

查询事件订阅列表,支持指定事件通道。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) ListSubscriptionsInvoker

func (c *EgClient) ListSubscriptionsInvoker(request *model.ListSubscriptionsRequest) *ListSubscriptionsInvoker

ListSubscriptionsInvoker 查询事件订阅列表

func (*EgClient) OperateSubscription

func (c *EgClient) OperateSubscription(request *model.OperateSubscriptionRequest) (*model.OperateSubscriptionResponse, error)

OperateSubscription 启用/禁用事件订阅

启用/禁用事件订阅。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) OperateSubscriptionInvoker

func (c *EgClient) OperateSubscriptionInvoker(request *model.OperateSubscriptionRequest) *OperateSubscriptionInvoker

OperateSubscriptionInvoker 启用/禁用事件订阅

func (*EgClient) PutEvents

func (c *EgClient) PutEvents(request *model.PutEventsRequest) (*model.PutEventsResponse, error)

PutEvents 发布事件到事件通道

发布事件到事件通道。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) PutEventsInvoker

func (c *EgClient) PutEventsInvoker(request *model.PutEventsRequest) *PutEventsInvoker

PutEventsInvoker 发布事件到事件通道

func (*EgClient) ShowDetailOfChannel

func (c *EgClient) ShowDetailOfChannel(request *model.ShowDetailOfChannelRequest) (*model.ShowDetailOfChannelResponse, error)

ShowDetailOfChannel 查询事件通道详情

查询事件通道详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) ShowDetailOfChannelInvoker

func (c *EgClient) ShowDetailOfChannelInvoker(request *model.ShowDetailOfChannelRequest) *ShowDetailOfChannelInvoker

ShowDetailOfChannelInvoker 查询事件通道详情

func (*EgClient) ShowDetailOfEventSource

ShowDetailOfEventSource 查询事件源详情

查询事件源详情信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) ShowDetailOfEventSourceInvoker

func (c *EgClient) ShowDetailOfEventSourceInvoker(request *model.ShowDetailOfEventSourceRequest) *ShowDetailOfEventSourceInvoker

ShowDetailOfEventSourceInvoker 查询事件源详情

func (*EgClient) ShowDetailOfSubscription

ShowDetailOfSubscription 查询事件订阅详情

查询事件订阅详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) ShowDetailOfSubscriptionInvoker

func (c *EgClient) ShowDetailOfSubscriptionInvoker(request *model.ShowDetailOfSubscriptionRequest) *ShowDetailOfSubscriptionInvoker

ShowDetailOfSubscriptionInvoker 查询事件订阅详情

func (*EgClient) ShowDetailOfSubscriptionTarget

ShowDetailOfSubscriptionTarget 查询事件订阅目标详情

查询事件订阅中事件目标的详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) ShowDetailOfSubscriptionTargetInvoker

func (c *EgClient) ShowDetailOfSubscriptionTargetInvoker(request *model.ShowDetailOfSubscriptionTargetRequest) *ShowDetailOfSubscriptionTargetInvoker

ShowDetailOfSubscriptionTargetInvoker 查询事件订阅目标详情

func (*EgClient) UpdateChannel

func (c *EgClient) UpdateChannel(request *model.UpdateChannelRequest) (*model.UpdateChannelResponse, error)

UpdateChannel 更新自定义事件通道

修改自定义事件通道的描述信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) UpdateChannelInvoker

func (c *EgClient) UpdateChannelInvoker(request *model.UpdateChannelRequest) *UpdateChannelInvoker

UpdateChannelInvoker 更新自定义事件通道

func (*EgClient) UpdateEventSource

func (c *EgClient) UpdateEventSource(request *model.UpdateEventSourceRequest) (*model.UpdateEventSourceResponse, error)

UpdateEventSource 更新自定义事件源

修改自定义事件源的描述信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) UpdateEventSourceInvoker

func (c *EgClient) UpdateEventSourceInvoker(request *model.UpdateEventSourceRequest) *UpdateEventSourceInvoker

UpdateEventSourceInvoker 更新自定义事件源

func (*EgClient) UpdateSubscription

func (c *EgClient) UpdateSubscription(request *model.UpdateSubscriptionRequest) (*model.UpdateSubscriptionResponse, error)

UpdateSubscription 更新事件订阅

更新事件订阅描述信息、事件源参数或者事件目标参数。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) UpdateSubscriptionInvoker

func (c *EgClient) UpdateSubscriptionInvoker(request *model.UpdateSubscriptionRequest) *UpdateSubscriptionInvoker

UpdateSubscriptionInvoker 更新事件订阅

func (*EgClient) UpdateSubscriptionSource

UpdateSubscriptionSource 更新事件订阅源

更新事件订阅中事件源的参数。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) UpdateSubscriptionSourceInvoker

func (c *EgClient) UpdateSubscriptionSourceInvoker(request *model.UpdateSubscriptionSourceRequest) *UpdateSubscriptionSourceInvoker

UpdateSubscriptionSourceInvoker 更新事件订阅源

func (*EgClient) UpdateSubscriptionTarget

UpdateSubscriptionTarget 更新事件订阅目标

更新事件订阅中事件目标的参数。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*EgClient) UpdateSubscriptionTargetInvoker

func (c *EgClient) UpdateSubscriptionTargetInvoker(request *model.UpdateSubscriptionTargetRequest) *UpdateSubscriptionTargetInvoker

UpdateSubscriptionTargetInvoker 更新事件订阅目标

type ListChannelsInvoker

type ListChannelsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListChannelsInvoker) Invoke

type ListEventSourcesInvoker

type ListEventSourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEventSourcesInvoker) Invoke

type ListEventTargetInvoker

type ListEventTargetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEventTargetInvoker) Invoke

type ListQuotasInvoker

type ListQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotasInvoker) Invoke

type ListSubscriptionsInvoker

type ListSubscriptionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSubscriptionsInvoker) Invoke

type OperateSubscriptionInvoker

type OperateSubscriptionInvoker struct {
	*invoker.BaseInvoker
}

func (*OperateSubscriptionInvoker) Invoke

type PutEventsInvoker

type PutEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*PutEventsInvoker) Invoke

type ShowDetailOfChannelInvoker

type ShowDetailOfChannelInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDetailOfChannelInvoker) Invoke

type ShowDetailOfEventSourceInvoker

type ShowDetailOfEventSourceInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDetailOfEventSourceInvoker) Invoke

type ShowDetailOfSubscriptionInvoker

type ShowDetailOfSubscriptionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDetailOfSubscriptionInvoker) Invoke

type ShowDetailOfSubscriptionTargetInvoker

type ShowDetailOfSubscriptionTargetInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDetailOfSubscriptionTargetInvoker) Invoke

type UpdateChannelInvoker

type UpdateChannelInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateChannelInvoker) Invoke

type UpdateEventSourceInvoker

type UpdateEventSourceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateEventSourceInvoker) Invoke

type UpdateSubscriptionInvoker

type UpdateSubscriptionInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSubscriptionInvoker) Invoke

type UpdateSubscriptionSourceInvoker

type UpdateSubscriptionSourceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSubscriptionSourceInvoker) Invoke

type UpdateSubscriptionTargetInvoker

type UpdateSubscriptionTargetInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSubscriptionTargetInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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