akslivepatchingv1

package
v0.20260901703276394.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LivePatchingService_GetComponentConfig_FullMethodName = "/akslivepatching.v1.LivePatchingService/GetComponentConfig"
)

Variables

View Source
var File_akslivepatching_v1_live_patching_proto protoreflect.FileDescriptor
View Source
var LivePatchingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "akslivepatching.v1.LivePatchingService",
	HandlerType: (*LivePatchingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetComponentConfig",
			Handler:    _LivePatchingService_GetComponentConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "akslivepatching/v1/live_patching.proto",
}

LivePatchingService_ServiceDesc is the grpc.ServiceDesc for LivePatchingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterLivePatchingServiceServer

func RegisterLivePatchingServiceServer(s grpc.ServiceRegistrar, srv LivePatchingServiceServer)

Types

type GetComponentConfigRequest

type GetComponentConfigRequest struct {

	// Name of the component whose config is requested. Required.
	ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetComponentConfigRequest) Descriptor deprecated

func (*GetComponentConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetComponentConfigRequest.ProtoReflect.Descriptor instead.

func (*GetComponentConfigRequest) GetComponentName

func (x *GetComponentConfigRequest) GetComponentName() string

func (*GetComponentConfigRequest) ProtoMessage

func (*GetComponentConfigRequest) ProtoMessage()

func (*GetComponentConfigRequest) ProtoReflect

func (*GetComponentConfigRequest) Reset

func (x *GetComponentConfigRequest) Reset()

func (*GetComponentConfigRequest) String

func (x *GetComponentConfigRequest) String() string

type GetComponentConfigResponse

type GetComponentConfigResponse struct {

	// Resolved component name.
	ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
	// Component configuration as a JSON-encoded UTF-8 string.
	Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*GetComponentConfigResponse) Descriptor deprecated

func (*GetComponentConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetComponentConfigResponse.ProtoReflect.Descriptor instead.

func (*GetComponentConfigResponse) GetComponentName

func (x *GetComponentConfigResponse) GetComponentName() string

func (*GetComponentConfigResponse) GetConfig

func (x *GetComponentConfigResponse) GetConfig() string

func (*GetComponentConfigResponse) ProtoMessage

func (*GetComponentConfigResponse) ProtoMessage()

func (*GetComponentConfigResponse) ProtoReflect

func (*GetComponentConfigResponse) Reset

func (x *GetComponentConfigResponse) Reset()

func (*GetComponentConfigResponse) String

func (x *GetComponentConfigResponse) String() string

type LivePatchingServiceClient

type LivePatchingServiceClient interface {
	// GetComponentConfig returns the current config for a single component.
	GetComponentConfig(ctx context.Context, in *GetComponentConfigRequest, opts ...grpc.CallOption) (*GetComponentConfigResponse, error)
}

LivePatchingServiceClient is the client API for LivePatchingService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

LivePatchingService serves live-patch component configuration to nodes.

type LivePatchingServiceServer

type LivePatchingServiceServer interface {
	// GetComponentConfig returns the current config for a single component.
	GetComponentConfig(context.Context, *GetComponentConfigRequest) (*GetComponentConfigResponse, error)
	// contains filtered or unexported methods
}

LivePatchingServiceServer is the server API for LivePatchingService service. All implementations must embed UnimplementedLivePatchingServiceServer for forward compatibility.

LivePatchingService serves live-patch component configuration to nodes.

type UnimplementedLivePatchingServiceServer

type UnimplementedLivePatchingServiceServer struct{}

UnimplementedLivePatchingServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedLivePatchingServiceServer) GetComponentConfig

type UnsafeLivePatchingServiceServer

type UnsafeLivePatchingServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLivePatchingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LivePatchingServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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