service

package
v0.0.228 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Package__v9aee7 = &core.Package{
		PackageName: "namespacelabs.dev/foundation/orchestration/service",
	}

	Provider__v9aee7 = core.Provider{
		Package:     Package__v9aee7,
		Instantiate: makeDeps__v9aee7,
	}
)

Functions

func WireService

func WireService(ctx context.Context, srv server.Registrar, deps ServiceDeps)

Types

type RunningDeployment

type RunningDeployment struct {
	ID string
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func (*Service) AreServicesReady added in v0.0.157

func (*Service) Deploy

func (svc *Service) Deploy(ctx context.Context, req *proto.DeployRequest) (*proto.DeployResponse, error)

func (*Service) GetOrchestratorVersion added in v0.0.93

type ServiceDeps

type ServiceDeps struct {
}

Dependencies that are instantiated once for the lifetime of the service.

type TaskEventEntry

type TaskEventEntry struct {
	Done      bool                                     `json:"done,omitempty"`
	Timestamp time.Time                                `json:"timestamp,omitempty"`
	Error     *spb.Status                              `json:"error,omitempty"`
	Log       *serializedMessage[*protolog.Log]        `json:"log,omitempty"`
	Event     *serializedMessage[*orchestration.Event] `json:"event,omitempty"`
}

Jump to

Keyboard shortcuts

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