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 ¶
- Variables
- func RegisterFlowControlControlPointsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterFlowControlControlPointsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterFlowControlControlPointsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterFlowControlControlPointsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterFlowControlControlPointsServiceServer(s grpc.ServiceRegistrar, srv FlowControlControlPointsServiceServer)
- type FlowControlControlPoint
- func (in *FlowControlControlPoint) DeepCopy() *FlowControlControlPoint
- func (in *FlowControlControlPoint) DeepCopyInterface() interface{}
- func (in *FlowControlControlPoint) DeepCopyInto(out *FlowControlControlPoint)
- func (*FlowControlControlPoint) Descriptor() ([]byte, []int)deprecated
- func (x *FlowControlControlPoint) GetControlPoint() string
- func (x *FlowControlControlPoint) GetService() string
- func (msg *FlowControlControlPoint) MarshalJSON() ([]byte, error)
- func (*FlowControlControlPoint) ProtoMessage()
- func (x *FlowControlControlPoint) ProtoReflect() protoreflect.Message
- func (x *FlowControlControlPoint) Reset()
- func (x *FlowControlControlPoint) String() string
- func (msg *FlowControlControlPoint) UnmarshalJSON(b []byte) error
- type FlowControlControlPoints
- func (in *FlowControlControlPoints) DeepCopy() *FlowControlControlPoints
- func (in *FlowControlControlPoints) DeepCopyInterface() interface{}
- func (in *FlowControlControlPoints) DeepCopyInto(out *FlowControlControlPoints)
- func (*FlowControlControlPoints) Descriptor() ([]byte, []int)deprecated
- func (x *FlowControlControlPoints) GetControlPoints() []*FlowControlControlPoint
- func (msg *FlowControlControlPoints) MarshalJSON() ([]byte, error)
- func (*FlowControlControlPoints) ProtoMessage()
- func (x *FlowControlControlPoints) ProtoReflect() protoreflect.Message
- func (x *FlowControlControlPoints) Reset()
- func (x *FlowControlControlPoints) String() string
- func (msg *FlowControlControlPoints) UnmarshalJSON(b []byte) error
- type FlowControlControlPointsServiceClient
- type FlowControlControlPointsServiceServer
- type UnimplementedFlowControlControlPointsServiceServer
- type UnsafeFlowControlControlPointsServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_aperture_flowcontrol_controlpoints_v1_controlpoints_proto protoreflect.FileDescriptor
var FlowControlControlPointsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aperture.flowcontrol.controlpoints.v1.FlowControlControlPointsService", HandlerType: (*FlowControlControlPointsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetControlPoints", Handler: _FlowControlControlPointsService_GetControlPoints_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aperture/flowcontrol/controlpoints/v1/controlpoints.proto", }
FlowControlControlPointsService_ServiceDesc is the grpc.ServiceDesc for FlowControlControlPointsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFlowControlControlPointsServiceHandler ¶
func RegisterFlowControlControlPointsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterFlowControlControlPointsServiceHandler registers the http handlers for service FlowControlControlPointsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterFlowControlControlPointsServiceHandlerClient ¶
func RegisterFlowControlControlPointsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FlowControlControlPointsServiceClient) error
RegisterFlowControlControlPointsServiceHandlerClient registers the http handlers for service FlowControlControlPointsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FlowControlControlPointsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FlowControlControlPointsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "FlowControlControlPointsServiceClient" to call the correct interceptors.
func RegisterFlowControlControlPointsServiceHandlerFromEndpoint ¶
func RegisterFlowControlControlPointsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterFlowControlControlPointsServiceHandlerFromEndpoint is same as RegisterFlowControlControlPointsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterFlowControlControlPointsServiceHandlerServer ¶
func RegisterFlowControlControlPointsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FlowControlControlPointsServiceServer) error
RegisterFlowControlControlPointsServiceHandlerServer registers the http handlers for service FlowControlControlPointsService to "mux". UnaryRPC :call FlowControlControlPointsServiceServer 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 RegisterFlowControlControlPointsServiceHandlerFromEndpoint instead.
func RegisterFlowControlControlPointsServiceServer ¶
func RegisterFlowControlControlPointsServiceServer(s grpc.ServiceRegistrar, srv FlowControlControlPointsServiceServer)
Types ¶
type FlowControlControlPoint ¶
type FlowControlControlPoint 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 (*FlowControlControlPoint) DeepCopy ¶
func (in *FlowControlControlPoint) DeepCopy() *FlowControlControlPoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlControlPoint. Required by controller-gen.
func (*FlowControlControlPoint) DeepCopyInterface ¶
func (in *FlowControlControlPoint) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlControlPoint. Required by controller-gen.
func (*FlowControlControlPoint) DeepCopyInto ¶
func (in *FlowControlControlPoint) DeepCopyInto(out *FlowControlControlPoint)
DeepCopyInto supports using FlowControlControlPoint within kubernetes types, where deepcopy-gen is used.
func (*FlowControlControlPoint) Descriptor
deprecated
func (*FlowControlControlPoint) Descriptor() ([]byte, []int)
Deprecated: Use FlowControlControlPoint.ProtoReflect.Descriptor instead.
func (*FlowControlControlPoint) GetControlPoint ¶
func (x *FlowControlControlPoint) GetControlPoint() string
func (*FlowControlControlPoint) GetService ¶
func (x *FlowControlControlPoint) GetService() string
func (*FlowControlControlPoint) MarshalJSON ¶
func (msg *FlowControlControlPoint) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*FlowControlControlPoint) ProtoMessage ¶
func (*FlowControlControlPoint) ProtoMessage()
func (*FlowControlControlPoint) ProtoReflect ¶
func (x *FlowControlControlPoint) ProtoReflect() protoreflect.Message
func (*FlowControlControlPoint) Reset ¶
func (x *FlowControlControlPoint) Reset()
func (*FlowControlControlPoint) String ¶
func (x *FlowControlControlPoint) String() string
func (*FlowControlControlPoint) UnmarshalJSON ¶
func (msg *FlowControlControlPoint) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type FlowControlControlPoints ¶
type FlowControlControlPoints struct { ControlPoints []*FlowControlControlPoint `protobuf:"bytes,1,rep,name=control_points,json=controlPoints,proto3" json:"control_points,omitempty"` // contains filtered or unexported fields }
func (*FlowControlControlPoints) DeepCopy ¶
func (in *FlowControlControlPoints) DeepCopy() *FlowControlControlPoints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlControlPoints. Required by controller-gen.
func (*FlowControlControlPoints) DeepCopyInterface ¶
func (in *FlowControlControlPoints) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlControlPoints. Required by controller-gen.
func (*FlowControlControlPoints) DeepCopyInto ¶
func (in *FlowControlControlPoints) DeepCopyInto(out *FlowControlControlPoints)
DeepCopyInto supports using FlowControlControlPoints within kubernetes types, where deepcopy-gen is used.
func (*FlowControlControlPoints) Descriptor
deprecated
func (*FlowControlControlPoints) Descriptor() ([]byte, []int)
Deprecated: Use FlowControlControlPoints.ProtoReflect.Descriptor instead.
func (*FlowControlControlPoints) GetControlPoints ¶
func (x *FlowControlControlPoints) GetControlPoints() []*FlowControlControlPoint
func (*FlowControlControlPoints) MarshalJSON ¶
func (msg *FlowControlControlPoints) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*FlowControlControlPoints) ProtoMessage ¶
func (*FlowControlControlPoints) ProtoMessage()
func (*FlowControlControlPoints) ProtoReflect ¶
func (x *FlowControlControlPoints) ProtoReflect() protoreflect.Message
func (*FlowControlControlPoints) Reset ¶
func (x *FlowControlControlPoints) Reset()
func (*FlowControlControlPoints) String ¶
func (x *FlowControlControlPoints) String() string
func (*FlowControlControlPoints) UnmarshalJSON ¶
func (msg *FlowControlControlPoints) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type FlowControlControlPointsServiceClient ¶
type FlowControlControlPointsServiceClient interface {
GetControlPoints(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FlowControlControlPoints, error)
}
FlowControlControlPointsServiceClient is the client API for FlowControlControlPointsService 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 NewFlowControlControlPointsServiceClient ¶
func NewFlowControlControlPointsServiceClient(cc grpc.ClientConnInterface) FlowControlControlPointsServiceClient
type FlowControlControlPointsServiceServer ¶
type FlowControlControlPointsServiceServer interface {
GetControlPoints(context.Context, *emptypb.Empty) (*FlowControlControlPoints, error)
}
FlowControlControlPointsServiceServer is the server API for FlowControlControlPointsService service. All implementations should embed UnimplementedFlowControlControlPointsServiceServer for forward compatibility
type UnimplementedFlowControlControlPointsServiceServer ¶
type UnimplementedFlowControlControlPointsServiceServer struct { }
UnimplementedFlowControlControlPointsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedFlowControlControlPointsServiceServer) GetControlPoints ¶
func (UnimplementedFlowControlControlPointsServiceServer) GetControlPoints(context.Context, *emptypb.Empty) (*FlowControlControlPoints, error)
type UnsafeFlowControlControlPointsServiceServer ¶
type UnsafeFlowControlControlPointsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFlowControlControlPointsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FlowControlControlPointsServiceServer will result in compilation errors.