control

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	dspcontrol.ControlServiceServer
	// contains filtered or unexported fields
}

func New

func New(
	requester shared.Requester,
	store persistence.StorageProvider,
	reconciler statemachine.Reconciler,
	provider dspcontrol.ProviderServiceClient,
	contractService dspcontrol.ContractServiceClient,
	selfURL *url.URL,
) *Server

func (*Server) ContractAccept added in v0.0.5

ContractAccept sends an accepted event message.

func (*Server) ContractAgree added in v0.0.5

ContractAgree sends a ContractAcceptedMessage.

func (*Server) ContractFinalize added in v0.0.5

ContractFinalize sends a finalization event.

func (*Server) ContractOffer added in v0.0.5

ContractOffer sends a ContractOfferMessage.

func (*Server) ContractRequest added in v0.0.5

ContractRequest sends a ContractRequestMessage.

func (*Server) ContractTerminate added in v0.0.5

ContractTerminate sends a ContractTerminationMessage.

func (*Server) ContractVerify added in v0.0.5

ContractVerify sends a ContractVerificationMessage.

func (*Server) GetProviderCatalogue

Gets the catalogue based on the query parameters and the authorization header.

func (*Server) GetProviderDataset

Gets information about a single dataset.

func (*Server) SignalTransferCancelled

Tells provider to cancel file transfer.

func (*Server) SignalTransferComplete

Tells provider that we have finished our transfer.

func (*Server) SignalTransferResume

Tells provider to resume file transfer.

func (*Server) SignalTransferSuspend

Tells provider to suspend file transfer.

func (*Server) VerifyConnection added in v0.0.5

VerifyConnection takes a token and verifies it's the same token it passed to the contract service.

Jump to

Keyboard shortcuts

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