service

package
v2.0.53 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppLogsService

type AppLogsService struct {
	appconnect.UnimplementedAppLogsServiceHandler
	// contains filtered or unexported fields
}

AppLogsService is the control plane implementation of AppLogsServiceHandler. It proxies the server-streaming TailLogs RPC to the data plane.

func NewAppLogsService

func NewAppLogsService(internalClient appconnect.AppLogsServiceClient) *AppLogsService

NewAppLogsService creates a new AppLogsService.

func (*AppLogsService) TailLogs

TailLogs proxies the server-streaming TailLogs RPC to InternalAppLogsService.

type AppService

type AppService struct {
	appconnect.UnimplementedAppServiceHandler
	// contains filtered or unexported fields
}

AppService is the control plane implementation of AppServiceHandler. It proxies all RPCs to InternalAppService (data plane) and maintains a per-instance TTL cache to reduce cross-plane RPC calls on Get.

func NewAppService

func NewAppService(internalClient appconnect.AppServiceClient, cacheTTL time.Duration) *AppService

NewAppService creates a new AppService. cacheTTL=0 disables caching (every Get calls InternalAppService).

func (*AppService) Create

Create forwards to InternalAppService and invalidates the cache entry.

func (*AppService) Delete

Delete forwards to InternalAppService and invalidates the cache entry.

func (*AppService) Get

Get returns the app, using the cache on hit and calling InternalAppService on miss.

func (*AppService) List

List always forwards to InternalAppService — results vary by filter/pagination.

func (*AppService) Update

Update forwards to InternalAppService and invalidates the cache entry.

func (*AppService) Watch

Watch proxies the server-streaming Watch RPC to InternalAppService.

Jump to

Keyboard shortcuts

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