package
0.5.0
Repository: https://github.com/goplugin/pluginv2.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AuthenticateBridgeType returns true if the passed token matches its IncomingToken, or returns false with an error.
AuthenticateExternalInitiator compares an auth against an initiator and returns true if the password hashes match.
No description provided by the author
MustParseBridgeName instantiates a new BridgeName, and panics if a bad input is provided.
NewBridgeType returns a bridge type authentication (with plaintext password) and a bridge type (with hashed password, for persisting).
NewExternalInitiator generates an ExternalInitiator from an auth.Token, hashing the password for storage.
No description provided by the author
ParseBridgeName returns a formatted Task type.

# Structs

NOTE: latestAnswer and updatedAt is the only metadata used.
No description provided by the author
BridgeType is used for external adapters and has fields for the name of the adapter and its URL.
BridgeTypeAuthentication is the record returned in response to a request to create a BridgeType.
BridgeTypeRequest is the incoming record used to create a BridgeType.
ExternalInitiator represents a user that can initiate runs remotely.
ExternalInitiatorRequest is the incoming record used to create an ExternalInitiator.

# Interfaces

No description provided by the author

# Type aliases

BridgeName defines what Adapter a TaskSpec will use.