controlpointsv1

package
v1.0.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package controlpointsv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_aperture_flowcontrol_controlpoints_v1_controlpoints_proto protoreflect.FileDescriptor
View Source
var FlowControlPointsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "aperture.flowcontrol.controlpoints.v1.FlowControlPointsService",
	HandlerType: (*FlowControlPointsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetControlPoints",
			Handler:    _FlowControlPointsService_GetControlPoints_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "aperture/flowcontrol/controlpoints/v1/controlpoints.proto",
}

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

Functions

func RegisterFlowControlPointsServiceHandler added in v0.26.0

func RegisterFlowControlPointsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterFlowControlPointsServiceHandler registers the http handlers for service FlowControlPointsService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterFlowControlPointsServiceHandlerClient added in v0.26.0

func RegisterFlowControlPointsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FlowControlPointsServiceClient) error

RegisterFlowControlPointsServiceHandlerClient registers the http handlers for service FlowControlPointsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FlowControlPointsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FlowControlPointsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "FlowControlPointsServiceClient" to call the correct interceptors.

func RegisterFlowControlPointsServiceHandlerFromEndpoint added in v0.26.0

func RegisterFlowControlPointsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterFlowControlPointsServiceHandlerFromEndpoint is same as RegisterFlowControlPointsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterFlowControlPointsServiceHandlerServer added in v0.26.0

func RegisterFlowControlPointsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FlowControlPointsServiceServer) error

RegisterFlowControlPointsServiceHandlerServer registers the http handlers for service FlowControlPointsService to "mux". UnaryRPC :call FlowControlPointsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterFlowControlPointsServiceHandlerFromEndpoint instead.

func RegisterFlowControlPointsServiceServer added in v0.26.0

func RegisterFlowControlPointsServiceServer(s grpc.ServiceRegistrar, srv FlowControlPointsServiceServer)

Types

type FlowControlPoint added in v0.26.0

type FlowControlPoint struct {
	Service      string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	ControlPoint string `protobuf:"bytes,2,opt,name=control_point,json=controlPoint,proto3" json:"control_point,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowControlPoint) DeepCopy added in v0.26.0

func (in *FlowControlPoint) DeepCopy() *FlowControlPoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlPoint. Required by controller-gen.

func (*FlowControlPoint) DeepCopyInterface added in v0.26.0

func (in *FlowControlPoint) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlPoint. Required by controller-gen.

func (*FlowControlPoint) DeepCopyInto added in v0.26.0

func (in *FlowControlPoint) DeepCopyInto(out *FlowControlPoint)

DeepCopyInto supports using FlowControlPoint within kubernetes types, where deepcopy-gen is used.

func (*FlowControlPoint) Descriptor deprecated added in v0.26.0

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

Deprecated: Use FlowControlPoint.ProtoReflect.Descriptor instead.

func (*FlowControlPoint) GetControlPoint added in v0.26.0

func (x *FlowControlPoint) GetControlPoint() string

func (*FlowControlPoint) GetService added in v0.26.0

func (x *FlowControlPoint) GetService() string

func (*FlowControlPoint) MarshalJSON added in v0.26.0

func (msg *FlowControlPoint) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FlowControlPoint) ProtoMessage added in v0.26.0

func (*FlowControlPoint) ProtoMessage()

func (*FlowControlPoint) ProtoReflect added in v0.26.0

func (x *FlowControlPoint) ProtoReflect() protoreflect.Message

func (*FlowControlPoint) Reset added in v0.26.0

func (x *FlowControlPoint) Reset()

func (*FlowControlPoint) String added in v0.26.0

func (x *FlowControlPoint) String() string

func (*FlowControlPoint) UnmarshalJSON added in v0.26.0

func (msg *FlowControlPoint) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type FlowControlPoints added in v0.26.0

type FlowControlPoints struct {
	FlowControlPoints []*FlowControlPoint `protobuf:"bytes,1,rep,name=flow_control_points,json=flowControlPoints,proto3" json:"flow_control_points,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowControlPoints) DeepCopy added in v0.26.0

func (in *FlowControlPoints) DeepCopy() *FlowControlPoints

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlPoints. Required by controller-gen.

func (*FlowControlPoints) DeepCopyInterface added in v0.26.0

func (in *FlowControlPoints) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlPoints. Required by controller-gen.

func (*FlowControlPoints) DeepCopyInto added in v0.26.0

func (in *FlowControlPoints) DeepCopyInto(out *FlowControlPoints)

DeepCopyInto supports using FlowControlPoints within kubernetes types, where deepcopy-gen is used.

func (*FlowControlPoints) Descriptor deprecated added in v0.26.0

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

Deprecated: Use FlowControlPoints.ProtoReflect.Descriptor instead.

func (*FlowControlPoints) GetFlowControlPoints added in v0.26.0

func (x *FlowControlPoints) GetFlowControlPoints() []*FlowControlPoint

func (*FlowControlPoints) MarshalJSON added in v0.26.0

func (msg *FlowControlPoints) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FlowControlPoints) ProtoMessage added in v0.26.0

func (*FlowControlPoints) ProtoMessage()

func (*FlowControlPoints) ProtoReflect added in v0.26.0

func (x *FlowControlPoints) ProtoReflect() protoreflect.Message

func (*FlowControlPoints) Reset added in v0.26.0

func (x *FlowControlPoints) Reset()

func (*FlowControlPoints) String added in v0.26.0

func (x *FlowControlPoints) String() string

func (*FlowControlPoints) UnmarshalJSON added in v0.26.0

func (msg *FlowControlPoints) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type FlowControlPointsServiceClient added in v0.26.0

type FlowControlPointsServiceClient interface {
	GetControlPoints(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FlowControlPoints, error)
}

FlowControlPointsServiceClient is the client API for FlowControlPointsService 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.

func NewFlowControlPointsServiceClient added in v0.26.0

func NewFlowControlPointsServiceClient(cc grpc.ClientConnInterface) FlowControlPointsServiceClient

type FlowControlPointsServiceServer added in v0.26.0

type FlowControlPointsServiceServer interface {
	GetControlPoints(context.Context, *emptypb.Empty) (*FlowControlPoints, error)
}

FlowControlPointsServiceServer is the server API for FlowControlPointsService service. All implementations should embed UnimplementedFlowControlPointsServiceServer for forward compatibility

type UnimplementedFlowControlPointsServiceServer added in v0.26.0

type UnimplementedFlowControlPointsServiceServer struct {
}

UnimplementedFlowControlPointsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedFlowControlPointsServiceServer) GetControlPoints added in v0.26.0

type UnsafeFlowControlPointsServiceServer added in v0.26.0

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

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

Jump to

Keyboard shortcuts

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