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) TenantDisable(ctx context.Context, sendToPluginID string, ...) (*openapi_v1.TenantDisableResponse, error)
- func (c *DaprClient) TenantEnable(ctx context.Context, sendToPluginID string, ...) (*openapi_v1.TenantEnableResponse, 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) TenantEnable(ctx context.Context, sendToPluginID string, req *openapi_v1.TenantEnableRequest) (*openapi_v1.TenantEnableResponse, error) TenantDisable(ctx context.Context, sendToPluginID string, req *openapi_v1.TenantDisableRequest) (*openapi_v1.TenantDisableResponse, error) }
type DaprClient ¶
type DaprClient struct {
// contains filtered or unexported fields
}
func NewDaprClient ¶
func NewDaprClient(daprHTTPPort string) *DaprClient
func (*DaprClient) AddonsIdentify ¶
func (c *DaprClient) AddonsIdentify(ctx context.Context, sendToPluginID string, req *openapi_v1.AddonsIdentifyRequest) (*openapi_v1.AddonsIdentifyResponse, error)
POST addons/identify.
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) TenantDisable ¶ added in v0.4.0
func (c *DaprClient) TenantDisable(ctx context.Context, sendToPluginID string, req *openapi_v1.TenantDisableRequest) (*openapi_v1.TenantDisableResponse, error)
POST tenant/disable.
func (*DaprClient) TenantEnable ¶ added in v0.4.0
func (c *DaprClient) TenantEnable(ctx context.Context, sendToPluginID string, req *openapi_v1.TenantEnableRequest) (*openapi_v1.TenantEnableResponse, error)
POST tenant/enable.
Click to show internal directories.
Click to hide internal directories.