Documentation
¶
Index ¶
- type Client
- type DaprClient
- func (c *DaprClient) AddonsIdentify(ctx context.Context, sendToPluginID string, ...) (*openapi_v1.AddonsIdentifyResponse, error)
- func (c *DaprClient) Identify(ctx context.Context, sendToPluginID string) (*openapi_v1.IdentifyResponse, error)
- func (c *DaprClient) Status(ctx context.Context, sendToPluginID string) (*openapi_v1.StatusResponse, error)
- func (c *DaprClient) TenantBind(ctx context.Context, sendToPluginID string, req *openapi_v1.TenantBindRequst) (*openapi_v1.TenantBindResponse, error)
- func (c *DaprClient) TenantUnbind(ctx context.Context, sendToPluginID string, req *openapi_v1.TenantUnbindRequst) (*openapi_v1.TenantUnbindResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // v1 openapi oprator. Identify(ctx context.Context, sendToPluginID string) (*openapi_v1.IdentifyResponse, error) AddonsIdentify(ctx context.Context, sendToPluginID string, req *openapi_v1.AddonsIdentifyRequest) (*openapi_v1.AddonsIdentifyResponse, error) Status(ctx context.Context, sendToPluginID string) (*openapi_v1.StatusResponse, error) TenantBind(ctx context.Context, sendToPluginID string, req *openapi_v1.TenantBindRequst) (*openapi_v1.TenantBindResponse, error) TenantUnbind(ctx context.Context, sendToPluginID string, req *openapi_v1.TenantUnbindRequst) (*openapi_v1.TenantUnbindResponse, error) }
type DaprClient ¶
func NewDaprClient ¶
func NewDaprClient(appID string, c dapr.Client) *DaprClient
func (*DaprClient) AddonsIdentify ¶
func (c *DaprClient) AddonsIdentify(ctx context.Context, sendToPluginID string, req *openapi_v1.AddonsIdentifyRequest) (*openapi_v1.AddonsIdentifyResponse, error)
POST AddonsIdentify.
func (*DaprClient) Identify ¶
func (c *DaprClient) Identify(ctx context.Context, sendToPluginID string) (*openapi_v1.IdentifyResponse, error)
GET Identify.
func (*DaprClient) Status ¶
func (c *DaprClient) Status(ctx context.Context, sendToPluginID string) (*openapi_v1.StatusResponse, error)
GET Status.
func (*DaprClient) TenantBind ¶
func (c *DaprClient) TenantBind(ctx context.Context, sendToPluginID string, req *openapi_v1.TenantBindRequst) (*openapi_v1.TenantBindResponse, error)
POST Tenantbind.
func (*DaprClient) TenantUnbind ¶
func (c *DaprClient) TenantUnbind(ctx context.Context, sendToPluginID string, req *openapi_v1.TenantUnbindRequst) (*openapi_v1.TenantUnbindResponse, error)
POST TenantUnbind.
Click to show internal directories.
Click to hide internal directories.