destination

package
v1.3.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 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