Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, request *management.EventStreamsCreateRequest, ...) (*management.CreateEventStreamResponseContent, error)
- func (c *Client) Delete(ctx context.Context, id string, opts ...option.RequestOption) error
- func (c *Client) Get(ctx context.Context, id string, opts ...option.RequestOption) (*management.GetEventStreamResponseContent, error)
- func (c *Client) List(ctx context.Context, request *management.ListEventStreamsRequestParameters, ...) ([]*management.EventStreamResponseContent, error)
- func (c *Client) Test(ctx context.Context, id string, ...) (*management.CreateEventStreamTestEventResponseContent, error)
- func (c *Client) Update(ctx context.Context, id string, ...) (*management.UpdateEventStreamResponseContent, error)
- type RawClient
- func (r *RawClient) Create(ctx context.Context, request *management.EventStreamsCreateRequest, ...) (*core.Response[*management.CreateEventStreamResponseContent], error)
- func (r *RawClient) Delete(ctx context.Context, id string, opts ...option.RequestOption) (*core.Response[any], error)
- func (r *RawClient) Get(ctx context.Context, id string, opts ...option.RequestOption) (*core.Response[*management.GetEventStreamResponseContent], error)
- func (r *RawClient) List(ctx context.Context, request *management.ListEventStreamsRequestParameters, ...) (*core.Response[[]*management.EventStreamResponseContent], error)
- func (r *RawClient) Test(ctx context.Context, id string, ...) (*core.Response[*management.CreateEventStreamTestEventResponseContent], error)
- func (r *RawClient) Update(ctx context.Context, id string, ...) (*core.Response[*management.UpdateEventStreamResponseContent], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
WithRawResponse *RawClient
Deliveries *deliveries.Client
Redeliveries *redeliveries.Client
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *core.RequestOptions) *Client
func (*Client) Create ¶
func (c *Client) Create( ctx context.Context, request *management.EventStreamsCreateRequest, opts ...option.RequestOption, ) (*management.CreateEventStreamResponseContent, error)
func (*Client) Get ¶
func (c *Client) Get( ctx context.Context, id string, opts ...option.RequestOption, ) (*management.GetEventStreamResponseContent, error)
func (*Client) List ¶
func (c *Client) List( ctx context.Context, request *management.ListEventStreamsRequestParameters, opts ...option.RequestOption, ) ([]*management.EventStreamResponseContent, error)
func (*Client) Test ¶
func (c *Client) Test( ctx context.Context, id string, request *management.CreateEventStreamTestEventRequestContent, opts ...option.RequestOption, ) (*management.CreateEventStreamTestEventResponseContent, error)
func (*Client) Update ¶
func (c *Client) Update( ctx context.Context, id string, request *management.UpdateEventStreamRequestContent, opts ...option.RequestOption, ) (*management.UpdateEventStreamResponseContent, error)
type RawClient ¶
type RawClient struct {
// contains filtered or unexported fields
}
func NewRawClient ¶
func NewRawClient(options *core.RequestOptions) *RawClient
func (*RawClient) Create ¶
func (r *RawClient) Create( ctx context.Context, request *management.EventStreamsCreateRequest, opts ...option.RequestOption, ) (*core.Response[*management.CreateEventStreamResponseContent], error)
func (*RawClient) Get ¶
func (r *RawClient) Get( ctx context.Context, id string, opts ...option.RequestOption, ) (*core.Response[*management.GetEventStreamResponseContent], error)
func (*RawClient) List ¶
func (r *RawClient) List( ctx context.Context, request *management.ListEventStreamsRequestParameters, opts ...option.RequestOption, ) (*core.Response[[]*management.EventStreamResponseContent], error)
func (*RawClient) Test ¶
func (r *RawClient) Test( ctx context.Context, id string, request *management.CreateEventStreamTestEventRequestContent, opts ...option.RequestOption, ) (*core.Response[*management.CreateEventStreamTestEventResponseContent], error)
func (*RawClient) Update ¶
func (r *RawClient) Update( ctx context.Context, id string, request *management.UpdateEventStreamRequestContent, opts ...option.RequestOption, ) (*core.Response[*management.UpdateEventStreamResponseContent], error)
Click to show internal directories.
Click to hide internal directories.