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 RegisterAutoScaleKubernetesControlPointsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAutoScaleKubernetesControlPointsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterAutoScaleKubernetesControlPointsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAutoScaleKubernetesControlPointsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterAutoScaleKubernetesControlPointsServiceServer(s grpc.ServiceRegistrar, srv AutoScaleKubernetesControlPointsServiceServer)
- type AutoScaleKubernetesControlPoint
- func (in *AutoScaleKubernetesControlPoint) DeepCopy() *AutoScaleKubernetesControlPoint
- func (in *AutoScaleKubernetesControlPoint) DeepCopyInterface() interface{}
- func (in *AutoScaleKubernetesControlPoint) DeepCopyInto(out *AutoScaleKubernetesControlPoint)
- func (*AutoScaleKubernetesControlPoint) Descriptor() ([]byte, []int)deprecated
- func (x *AutoScaleKubernetesControlPoint) GetApiVersion() string
- func (x *AutoScaleKubernetesControlPoint) GetKind() string
- func (x *AutoScaleKubernetesControlPoint) GetName() string
- func (x *AutoScaleKubernetesControlPoint) GetNamespace() string
- func (msg *AutoScaleKubernetesControlPoint) MarshalJSON() ([]byte, error)
- func (*AutoScaleKubernetesControlPoint) ProtoMessage()
- func (x *AutoScaleKubernetesControlPoint) ProtoReflect() protoreflect.Message
- func (x *AutoScaleKubernetesControlPoint) Reset()
- func (x *AutoScaleKubernetesControlPoint) String() string
- func (msg *AutoScaleKubernetesControlPoint) UnmarshalJSON(b []byte) error
- type AutoScaleKubernetesControlPoints
- func (in *AutoScaleKubernetesControlPoints) DeepCopy() *AutoScaleKubernetesControlPoints
- func (in *AutoScaleKubernetesControlPoints) DeepCopyInterface() interface{}
- func (in *AutoScaleKubernetesControlPoints) DeepCopyInto(out *AutoScaleKubernetesControlPoints)
- func (*AutoScaleKubernetesControlPoints) Descriptor() ([]byte, []int)deprecated
- func (x *AutoScaleKubernetesControlPoints) GetAutoScaleKubernetesControlPoints() []*AutoScaleKubernetesControlPoint
- func (msg *AutoScaleKubernetesControlPoints) MarshalJSON() ([]byte, error)
- func (*AutoScaleKubernetesControlPoints) ProtoMessage()
- func (x *AutoScaleKubernetesControlPoints) ProtoReflect() protoreflect.Message
- func (x *AutoScaleKubernetesControlPoints) Reset()
- func (x *AutoScaleKubernetesControlPoints) String() string
- func (msg *AutoScaleKubernetesControlPoints) UnmarshalJSON(b []byte) error
- type AutoScaleKubernetesControlPointsServiceClient
- type AutoScaleKubernetesControlPointsServiceServer
- type UnimplementedAutoScaleKubernetesControlPointsServiceServer
- type UnsafeAutoScaleKubernetesControlPointsServiceServer
Constants ¶
This section is empty.
Variables ¶
var AutoScaleKubernetesControlPointsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aperture.autoscale.kubernetes.controlpoints.v1.AutoScaleKubernetesControlPointsService", HandlerType: (*AutoScaleKubernetesControlPointsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetControlPoints", Handler: _AutoScaleKubernetesControlPointsService_GetControlPoints_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aperture/autoscale/kubernetes/controlpoints/v1/controlpoints.proto", }
AutoScaleKubernetesControlPointsService_ServiceDesc is the grpc.ServiceDesc for AutoScaleKubernetesControlPointsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_aperture_autoscale_kubernetes_controlpoints_v1_controlpoints_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAutoScaleKubernetesControlPointsServiceHandler ¶
func RegisterAutoScaleKubernetesControlPointsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAutoScaleKubernetesControlPointsServiceHandler registers the http handlers for service AutoScaleKubernetesControlPointsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAutoScaleKubernetesControlPointsServiceHandlerClient ¶
func RegisterAutoScaleKubernetesControlPointsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AutoScaleKubernetesControlPointsServiceClient) error
RegisterAutoScaleKubernetesControlPointsServiceHandlerClient registers the http handlers for service AutoScaleKubernetesControlPointsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AutoScaleKubernetesControlPointsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AutoScaleKubernetesControlPointsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AutoScaleKubernetesControlPointsServiceClient" to call the correct interceptors.
func RegisterAutoScaleKubernetesControlPointsServiceHandlerFromEndpoint ¶
func RegisterAutoScaleKubernetesControlPointsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAutoScaleKubernetesControlPointsServiceHandlerFromEndpoint is same as RegisterAutoScaleKubernetesControlPointsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAutoScaleKubernetesControlPointsServiceHandlerServer ¶
func RegisterAutoScaleKubernetesControlPointsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AutoScaleKubernetesControlPointsServiceServer) error
RegisterAutoScaleKubernetesControlPointsServiceHandlerServer registers the http handlers for service AutoScaleKubernetesControlPointsService to "mux". UnaryRPC :call AutoScaleKubernetesControlPointsServiceServer 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 RegisterAutoScaleKubernetesControlPointsServiceHandlerFromEndpoint instead.
func RegisterAutoScaleKubernetesControlPointsServiceServer ¶
func RegisterAutoScaleKubernetesControlPointsServiceServer(s grpc.ServiceRegistrar, srv AutoScaleKubernetesControlPointsServiceServer)
Types ¶
type AutoScaleKubernetesControlPoint ¶
type AutoScaleKubernetesControlPoint struct { ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AutoScaleKubernetesControlPoint) DeepCopy ¶
func (in *AutoScaleKubernetesControlPoint) DeepCopy() *AutoScaleKubernetesControlPoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleKubernetesControlPoint. Required by controller-gen.
func (*AutoScaleKubernetesControlPoint) DeepCopyInterface ¶
func (in *AutoScaleKubernetesControlPoint) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleKubernetesControlPoint. Required by controller-gen.
func (*AutoScaleKubernetesControlPoint) DeepCopyInto ¶
func (in *AutoScaleKubernetesControlPoint) DeepCopyInto(out *AutoScaleKubernetesControlPoint)
DeepCopyInto supports using AutoScaleKubernetesControlPoint within kubernetes types, where deepcopy-gen is used.
func (*AutoScaleKubernetesControlPoint) Descriptor
deprecated
func (*AutoScaleKubernetesControlPoint) Descriptor() ([]byte, []int)
Deprecated: Use AutoScaleKubernetesControlPoint.ProtoReflect.Descriptor instead.
func (*AutoScaleKubernetesControlPoint) GetApiVersion ¶
func (x *AutoScaleKubernetesControlPoint) GetApiVersion() string
func (*AutoScaleKubernetesControlPoint) GetKind ¶
func (x *AutoScaleKubernetesControlPoint) GetKind() string
func (*AutoScaleKubernetesControlPoint) GetName ¶
func (x *AutoScaleKubernetesControlPoint) GetName() string
func (*AutoScaleKubernetesControlPoint) GetNamespace ¶
func (x *AutoScaleKubernetesControlPoint) GetNamespace() string
func (*AutoScaleKubernetesControlPoint) MarshalJSON ¶
func (msg *AutoScaleKubernetesControlPoint) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AutoScaleKubernetesControlPoint) ProtoMessage ¶
func (*AutoScaleKubernetesControlPoint) ProtoMessage()
func (*AutoScaleKubernetesControlPoint) ProtoReflect ¶
func (x *AutoScaleKubernetesControlPoint) ProtoReflect() protoreflect.Message
func (*AutoScaleKubernetesControlPoint) Reset ¶
func (x *AutoScaleKubernetesControlPoint) Reset()
func (*AutoScaleKubernetesControlPoint) String ¶
func (x *AutoScaleKubernetesControlPoint) String() string
func (*AutoScaleKubernetesControlPoint) UnmarshalJSON ¶
func (msg *AutoScaleKubernetesControlPoint) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AutoScaleKubernetesControlPoints ¶
type AutoScaleKubernetesControlPoints struct { AutoScaleKubernetesControlPoints []*AutoScaleKubernetesControlPoint `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AutoScaleKubernetesControlPoints) DeepCopy ¶
func (in *AutoScaleKubernetesControlPoints) DeepCopy() *AutoScaleKubernetesControlPoints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleKubernetesControlPoints. Required by controller-gen.
func (*AutoScaleKubernetesControlPoints) DeepCopyInterface ¶
func (in *AutoScaleKubernetesControlPoints) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleKubernetesControlPoints. Required by controller-gen.
func (*AutoScaleKubernetesControlPoints) DeepCopyInto ¶
func (in *AutoScaleKubernetesControlPoints) DeepCopyInto(out *AutoScaleKubernetesControlPoints)
DeepCopyInto supports using AutoScaleKubernetesControlPoints within kubernetes types, where deepcopy-gen is used.
func (*AutoScaleKubernetesControlPoints) Descriptor
deprecated
func (*AutoScaleKubernetesControlPoints) Descriptor() ([]byte, []int)
Deprecated: Use AutoScaleKubernetesControlPoints.ProtoReflect.Descriptor instead.
func (*AutoScaleKubernetesControlPoints) GetAutoScaleKubernetesControlPoints ¶
func (x *AutoScaleKubernetesControlPoints) GetAutoScaleKubernetesControlPoints() []*AutoScaleKubernetesControlPoint
func (*AutoScaleKubernetesControlPoints) MarshalJSON ¶
func (msg *AutoScaleKubernetesControlPoints) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AutoScaleKubernetesControlPoints) ProtoMessage ¶
func (*AutoScaleKubernetesControlPoints) ProtoMessage()
func (*AutoScaleKubernetesControlPoints) ProtoReflect ¶
func (x *AutoScaleKubernetesControlPoints) ProtoReflect() protoreflect.Message
func (*AutoScaleKubernetesControlPoints) Reset ¶
func (x *AutoScaleKubernetesControlPoints) Reset()
func (*AutoScaleKubernetesControlPoints) String ¶
func (x *AutoScaleKubernetesControlPoints) String() string
func (*AutoScaleKubernetesControlPoints) UnmarshalJSON ¶
func (msg *AutoScaleKubernetesControlPoints) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AutoScaleKubernetesControlPointsServiceClient ¶
type AutoScaleKubernetesControlPointsServiceClient interface {
GetControlPoints(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AutoScaleKubernetesControlPoints, error)
}
AutoScaleKubernetesControlPointsServiceClient is the client API for AutoScaleKubernetesControlPointsService 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 NewAutoScaleKubernetesControlPointsServiceClient ¶
func NewAutoScaleKubernetesControlPointsServiceClient(cc grpc.ClientConnInterface) AutoScaleKubernetesControlPointsServiceClient
type AutoScaleKubernetesControlPointsServiceServer ¶
type AutoScaleKubernetesControlPointsServiceServer interface {
GetControlPoints(context.Context, *emptypb.Empty) (*AutoScaleKubernetesControlPoints, error)
}
AutoScaleKubernetesControlPointsServiceServer is the server API for AutoScaleKubernetesControlPointsService service. All implementations should embed UnimplementedAutoScaleKubernetesControlPointsServiceServer for forward compatibility
type UnimplementedAutoScaleKubernetesControlPointsServiceServer ¶
type UnimplementedAutoScaleKubernetesControlPointsServiceServer struct { }
UnimplementedAutoScaleKubernetesControlPointsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAutoScaleKubernetesControlPointsServiceServer) GetControlPoints ¶
func (UnimplementedAutoScaleKubernetesControlPointsServiceServer) GetControlPoints(context.Context, *emptypb.Empty) (*AutoScaleKubernetesControlPoints, error)
type UnsafeAutoScaleKubernetesControlPointsServiceServer ¶
type UnsafeAutoScaleKubernetesControlPointsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAutoScaleKubernetesControlPointsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AutoScaleKubernetesControlPointsServiceServer will result in compilation errors.