service

package
v2.0.14 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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