destination

package
v0.0.0-...-0ade494 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

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)

GetDestDetails makes 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL