control

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 20 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 {
	dspv1alpha1.ClientServiceServer
	// contains filtered or unexported fields
}

func New

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

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) Ping

Ping is a request to test if the provider is working, and to test the auth information.

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.

Jump to

Keyboard shortcuts

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