Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DestMiddleware ¶
type DestMiddleware struct {
Dest destinationMiddleware
}
func (*DestMiddleware) GetDestDetails ¶
func (d *DestMiddleware) GetDestDetails(ctx context.Context, destID string) (model.Destination, error)
make api call to get json and then parse it to get destination related details like: dest_type, auth details, return destination Type enum{file, api}
func (*DestMiddleware) GetWorkspaceId ¶
func (d *DestMiddleware) GetWorkspaceId(ctx context.Context) (string, error)
Click to show internal directories.
Click to hide internal directories.