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
- Variables
- func RegisterFlowControlPointsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterFlowControlPointsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterFlowControlPointsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterFlowControlPointsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterFlowControlPointsServiceServer(s grpc.ServiceRegistrar, srv FlowControlPointsServiceServer)
- type FlowControlPoint
- func (in *FlowControlPoint) DeepCopy() *FlowControlPoint
- func (in *FlowControlPoint) DeepCopyInterface() interface{}
- func (in *FlowControlPoint) DeepCopyInto(out *FlowControlPoint)
- func (*FlowControlPoint) Descriptor() ([]byte, []int)deprecated
- func (x *FlowControlPoint) GetControlPoint() string
- func (x *FlowControlPoint) GetService() string
- func (x *FlowControlPoint) GetType() string
- func (msg *FlowControlPoint) MarshalJSON() ([]byte, error)
- func (*FlowControlPoint) ProtoMessage()
- func (x *FlowControlPoint) ProtoReflect() protoreflect.Message
- func (x *FlowControlPoint) Reset()
- func (x *FlowControlPoint) String() string
- func (msg *FlowControlPoint) UnmarshalJSON(b []byte) error
- func (m *FlowControlPoint) Validate() error
- func (m *FlowControlPoint) ValidateAll() error
- type FlowControlPointMultiError
- type FlowControlPointValidationError
- func (e FlowControlPointValidationError) Cause() error
- func (e FlowControlPointValidationError) Error() string
- func (e FlowControlPointValidationError) ErrorName() string
- func (e FlowControlPointValidationError) Field() string
- func (e FlowControlPointValidationError) Key() bool
- func (e FlowControlPointValidationError) Reason() string
- type FlowControlPoints
- func (in *FlowControlPoints) DeepCopy() *FlowControlPoints
- func (in *FlowControlPoints) DeepCopyInterface() interface{}
- func (in *FlowControlPoints) DeepCopyInto(out *FlowControlPoints)
- func (*FlowControlPoints) Descriptor() ([]byte, []int)deprecated
- func (x *FlowControlPoints) GetFlowControlPoints() []*FlowControlPoint
- func (msg *FlowControlPoints) MarshalJSON() ([]byte, error)
- func (*FlowControlPoints) ProtoMessage()
- func (x *FlowControlPoints) ProtoReflect() protoreflect.Message
- func (x *FlowControlPoints) Reset()
- func (x *FlowControlPoints) String() string
- func (msg *FlowControlPoints) UnmarshalJSON(b []byte) error
- func (m *FlowControlPoints) Validate() error
- func (m *FlowControlPoints) ValidateAll() error
- type FlowControlPointsMultiError
- type FlowControlPointsServiceClient
- type FlowControlPointsServiceServer
- type FlowControlPointsValidationError
- func (e FlowControlPointsValidationError) Cause() error
- func (e FlowControlPointsValidationError) Error() string
- func (e FlowControlPointsValidationError) ErrorName() string
- func (e FlowControlPointsValidationError) Field() string
- func (e FlowControlPointsValidationError) Key() bool
- func (e FlowControlPointsValidationError) Reason() string
- type UnimplementedFlowControlPointsServiceServer
- type UnsafeFlowControlPointsServiceServer
Constants ¶
const (
FlowControlPointsService_GetControlPoints_FullMethodName = "/aperture.flowcontrol.controlpoints.v1.FlowControlPointsService/GetControlPoints"
)
Variables ¶
var File_aperture_flowcontrol_controlpoints_v1_controlpoints_proto protoreflect.FileDescriptor
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 { ControlPoint string `protobuf:"bytes,2,opt,name=control_point,json=controlPoint,proto3" json:"control_point,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,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) GetType ¶ added in v1.3.0
func (x *FlowControlPoint) GetType() 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
func (*FlowControlPoint) Validate ¶ added in v1.2.0
func (m *FlowControlPoint) Validate() error
Validate checks the field values on FlowControlPoint with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FlowControlPoint) ValidateAll ¶ added in v1.2.0
func (m *FlowControlPoint) ValidateAll() error
ValidateAll checks the field values on FlowControlPoint with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FlowControlPointMultiError, or nil if none found.
type FlowControlPointMultiError ¶ added in v1.2.0
type FlowControlPointMultiError []error
FlowControlPointMultiError is an error wrapping multiple validation errors returned by FlowControlPoint.ValidateAll() if the designated constraints aren't met.
func (FlowControlPointMultiError) AllErrors ¶ added in v1.2.0
func (m FlowControlPointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FlowControlPointMultiError) Error ¶ added in v1.2.0
func (m FlowControlPointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FlowControlPointValidationError ¶ added in v1.2.0
type FlowControlPointValidationError struct {
// contains filtered or unexported fields
}
FlowControlPointValidationError is the validation error returned by FlowControlPoint.Validate if the designated constraints aren't met.
func (FlowControlPointValidationError) Cause ¶ added in v1.2.0
func (e FlowControlPointValidationError) Cause() error
Cause function returns cause value.
func (FlowControlPointValidationError) Error ¶ added in v1.2.0
func (e FlowControlPointValidationError) Error() string
Error satisfies the builtin error interface
func (FlowControlPointValidationError) ErrorName ¶ added in v1.2.0
func (e FlowControlPointValidationError) ErrorName() string
ErrorName returns error name.
func (FlowControlPointValidationError) Field ¶ added in v1.2.0
func (e FlowControlPointValidationError) Field() string
Field function returns field value.
func (FlowControlPointValidationError) Key ¶ added in v1.2.0
func (e FlowControlPointValidationError) Key() bool
Key function returns key value.
func (FlowControlPointValidationError) Reason ¶ added in v1.2.0
func (e FlowControlPointValidationError) Reason() string
Reason function returns reason value.
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
func (*FlowControlPoints) Validate ¶ added in v1.2.0
func (m *FlowControlPoints) Validate() error
Validate checks the field values on FlowControlPoints with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FlowControlPoints) ValidateAll ¶ added in v1.2.0
func (m *FlowControlPoints) ValidateAll() error
ValidateAll checks the field values on FlowControlPoints with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FlowControlPointsMultiError, or nil if none found.
type FlowControlPointsMultiError ¶ added in v1.2.0
type FlowControlPointsMultiError []error
FlowControlPointsMultiError is an error wrapping multiple validation errors returned by FlowControlPoints.ValidateAll() if the designated constraints aren't met.
func (FlowControlPointsMultiError) AllErrors ¶ added in v1.2.0
func (m FlowControlPointsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FlowControlPointsMultiError) Error ¶ added in v1.2.0
func (m FlowControlPointsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 FlowControlPointsValidationError ¶ added in v1.2.0
type FlowControlPointsValidationError struct {
// contains filtered or unexported fields
}
FlowControlPointsValidationError is the validation error returned by FlowControlPoints.Validate if the designated constraints aren't met.
func (FlowControlPointsValidationError) Cause ¶ added in v1.2.0
func (e FlowControlPointsValidationError) Cause() error
Cause function returns cause value.
func (FlowControlPointsValidationError) Error ¶ added in v1.2.0
func (e FlowControlPointsValidationError) Error() string
Error satisfies the builtin error interface
func (FlowControlPointsValidationError) ErrorName ¶ added in v1.2.0
func (e FlowControlPointsValidationError) ErrorName() string
ErrorName returns error name.
func (FlowControlPointsValidationError) Field ¶ added in v1.2.0
func (e FlowControlPointsValidationError) Field() string
Field function returns field value.
func (FlowControlPointsValidationError) Key ¶ added in v1.2.0
func (e FlowControlPointsValidationError) Key() bool
Key function returns key value.
func (FlowControlPointsValidationError) Reason ¶ added in v1.2.0
func (e FlowControlPointsValidationError) Reason() string
Reason function returns reason value.
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
func (UnimplementedFlowControlPointsServiceServer) GetControlPoints(context.Context, *emptypb.Empty) (*FlowControlPoints, error)
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.