server

package
v0.0.0-...-9bdbb14 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 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 KubernetesBackedServer

type KubernetesBackedServer struct {
	ClientFunc func() client.Client
	// contains filtered or unexported fields
}

KubernetesBackedServer is a server that implements a workflow API.

func NewKubeBackedServer

func NewKubeBackedServer(logger logr.Logger, kubeconfig, apiserver, namespace string) (*KubernetesBackedServer, error)

NewKubeBackedServer returns a server that implements the Workflow server interface for a given kubeconfig.

func NewKubeBackedServerFromREST

func NewKubeBackedServerFromREST(logger logr.Logger, config *rest.Config, namespace string) (*KubernetesBackedServer, error)

NewKubeBackedServerFromREST returns a server that implements the Workflow server interface with the given Kubernetes rest client and namespace.

func (*KubernetesBackedServer) GetWorkflowActions

func (*KubernetesBackedServer) GetWorkflowContexts

func (*KubernetesBackedServer) Register

func (s *KubernetesBackedServer) Register(server *grpc.Server)

Register registers the service on the gRPC server.

func (*KubernetesBackedServer) ReportActionStatus

func (s *KubernetesBackedServer) ReportActionStatus(ctx context.Context, req *proto.WorkflowActionStatus) (*proto.Empty, error)

Jump to

Keyboard shortcuts

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