Documentation
¶
Index ¶
- type Connector
- func (conn *Connector) HTTPClient() *common.HTTPClient
- func (conn *Connector) JSONHTTPClient() *common.JSONHTTPClient
- func (conn *Connector) ListObjectMetadata(ctx context.Context, objectNames []string) (*common.ListObjectMetadataResult, error)
- func (conn *Connector) Provider() providers.Provider
- func (conn *Connector) Read(ctx context.Context, config common.ReadParams) (*common.ReadResult, error)
- func (conn *Connector) String() string
- func (conn *Connector) Write(ctx context.Context, config common.WriteParams) (*common.WriteResult, error)
- type Option
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct { BaseURL string Client *common.JSONHTTPClient }
func NewConnector ¶
func (*Connector) HTTPClient ¶
func (conn *Connector) HTTPClient() *common.HTTPClient
func (*Connector) JSONHTTPClient ¶
func (conn *Connector) JSONHTTPClient() *common.JSONHTTPClient
JSONHTTPClient returns the underlying JSON HTTP client.
func (*Connector) ListObjectMetadata ¶
func (conn *Connector) ListObjectMetadata(ctx context.Context, objectNames []string, ) (*common.ListObjectMetadataResult, error)
ListObjectMetadata creates metadata of objects via reading objects using ChiliPiper API. If fails uses the OpenAPI specification files.
func (*Connector) Read ¶
func (conn *Connector) Read(ctx context.Context, config common.ReadParams) (*common.ReadResult, error)
func (*Connector) Write ¶
func (conn *Connector) Write(ctx context.Context, config common.WriteParams) (*common.WriteResult, error)
type Option ¶
type Option = func(params *parameters)
func WithAuthenticatedClient ¶
func WithAuthenticatedClient(client common.AuthenticatedHTTPClient) Option
func WithClient ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.