commandservice

package
v0.0.0-...-06ddec0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package commandservice is the implementation of the wsl instance API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service is the object in charge of communicating to the Windows agent.

func New

func New(s *system.System) Service

New creates a new Wsl instance Service with the provided system.

func (Service) ApplyLandscapeConfig

func (s Service) ApplyLandscapeConfig(ctx context.Context, msg *agentapi.LandscapeConfigCmd) (err error)

ApplyLandscapeConfig serves LandscapeConfig messages sent by the agent.

func (Service) ApplyProToken

func (s Service) ApplyProToken(ctx context.Context, info *agentapi.ProAttachCmd) (err error)

ApplyProToken serves ApplyProToken messages sent by the agent.

Jump to

Keyboard shortcuts

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