Documentation ¶
Overview ¶
Package controlpointsv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- 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 (*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 (m *AutoScaleKubernetesControlPoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AutoScaleKubernetesControlPoint) MarshalToVT(dAtA []byte) (int, error)
- func (m *AutoScaleKubernetesControlPoint) MarshalVT() (dAtA []byte, err error)
- func (*AutoScaleKubernetesControlPoint) ProtoMessage()
- func (x *AutoScaleKubernetesControlPoint) ProtoReflect() protoreflect.Message
- func (x *AutoScaleKubernetesControlPoint) Reset()
- func (m *AutoScaleKubernetesControlPoint) SizeVT() (n int)
- func (x *AutoScaleKubernetesControlPoint) String() string
- func (msg *AutoScaleKubernetesControlPoint) UnmarshalJSON(b []byte) error
- func (m *AutoScaleKubernetesControlPoint) UnmarshalVT(dAtA []byte) error
- func (m *AutoScaleKubernetesControlPoint) Validate() error
- func (m *AutoScaleKubernetesControlPoint) ValidateAll() error
- type AutoScaleKubernetesControlPointMultiError
- type AutoScaleKubernetesControlPointValidationError
- func (e AutoScaleKubernetesControlPointValidationError) Cause() error
- func (e AutoScaleKubernetesControlPointValidationError) Error() string
- func (e AutoScaleKubernetesControlPointValidationError) ErrorName() string
- func (e AutoScaleKubernetesControlPointValidationError) Field() string
- func (e AutoScaleKubernetesControlPointValidationError) Key() bool
- func (e AutoScaleKubernetesControlPointValidationError) Reason() string
- type AutoScaleKubernetesControlPoints
- func (*AutoScaleKubernetesControlPoints) Descriptor() ([]byte, []int)deprecated
- func (x *AutoScaleKubernetesControlPoints) GetAutoScaleKubernetesControlPoints() []*AutoScaleKubernetesControlPoint
- func (msg *AutoScaleKubernetesControlPoints) MarshalJSON() ([]byte, error)
- func (m *AutoScaleKubernetesControlPoints) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AutoScaleKubernetesControlPoints) MarshalToVT(dAtA []byte) (int, error)
- func (m *AutoScaleKubernetesControlPoints) MarshalVT() (dAtA []byte, err error)
- func (*AutoScaleKubernetesControlPoints) ProtoMessage()
- func (x *AutoScaleKubernetesControlPoints) ProtoReflect() protoreflect.Message
- func (x *AutoScaleKubernetesControlPoints) Reset()
- func (m *AutoScaleKubernetesControlPoints) SizeVT() (n int)
- func (x *AutoScaleKubernetesControlPoints) String() string
- func (msg *AutoScaleKubernetesControlPoints) UnmarshalJSON(b []byte) error
- func (m *AutoScaleKubernetesControlPoints) UnmarshalVT(dAtA []byte) error
- func (m *AutoScaleKubernetesControlPoints) Validate() error
- func (m *AutoScaleKubernetesControlPoints) ValidateAll() error
- type AutoScaleKubernetesControlPointsMultiError
- type AutoScaleKubernetesControlPointsServiceClient
- type AutoScaleKubernetesControlPointsServiceServer
- type AutoScaleKubernetesControlPointsValidationError
- func (e AutoScaleKubernetesControlPointsValidationError) Cause() error
- func (e AutoScaleKubernetesControlPointsValidationError) Error() string
- func (e AutoScaleKubernetesControlPointsValidationError) ErrorName() string
- func (e AutoScaleKubernetesControlPointsValidationError) Field() string
- func (e AutoScaleKubernetesControlPointsValidationError) Key() bool
- func (e AutoScaleKubernetesControlPointsValidationError) Reason() string
- type UnimplementedAutoScaleKubernetesControlPointsServiceServer
- type UnsafeAutoScaleKubernetesControlPointsServiceServer
Constants ¶
const (
AutoScaleKubernetesControlPointsService_GetControlPoints_FullMethodName = "/aperture.autoscale.kubernetes.controlpoints.v1.AutoScaleKubernetesControlPointsService/GetControlPoints"
)
Variables ¶
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
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) 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) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *AutoScaleKubernetesControlPoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AutoScaleKubernetesControlPoint) MarshalToVT ¶ added in v2.7.0
func (m *AutoScaleKubernetesControlPoint) MarshalToVT(dAtA []byte) (int, error)
func (*AutoScaleKubernetesControlPoint) MarshalVT ¶ added in v2.7.0
func (m *AutoScaleKubernetesControlPoint) MarshalVT() (dAtA []byte, err error)
func (*AutoScaleKubernetesControlPoint) ProtoMessage ¶
func (*AutoScaleKubernetesControlPoint) ProtoMessage()
func (*AutoScaleKubernetesControlPoint) ProtoReflect ¶
func (x *AutoScaleKubernetesControlPoint) ProtoReflect() protoreflect.Message
func (*AutoScaleKubernetesControlPoint) Reset ¶
func (x *AutoScaleKubernetesControlPoint) Reset()
func (*AutoScaleKubernetesControlPoint) SizeVT ¶ added in v2.7.0
func (m *AutoScaleKubernetesControlPoint) SizeVT() (n int)
func (*AutoScaleKubernetesControlPoint) String ¶
func (x *AutoScaleKubernetesControlPoint) String() string
func (*AutoScaleKubernetesControlPoint) UnmarshalJSON ¶
func (msg *AutoScaleKubernetesControlPoint) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*AutoScaleKubernetesControlPoint) UnmarshalVT ¶ added in v2.7.0
func (m *AutoScaleKubernetesControlPoint) UnmarshalVT(dAtA []byte) error
func (*AutoScaleKubernetesControlPoint) Validate ¶
func (m *AutoScaleKubernetesControlPoint) Validate() error
Validate checks the field values on AutoScaleKubernetesControlPoint 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 (*AutoScaleKubernetesControlPoint) ValidateAll ¶
func (m *AutoScaleKubernetesControlPoint) ValidateAll() error
ValidateAll checks the field values on AutoScaleKubernetesControlPoint 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 AutoScaleKubernetesControlPointMultiError, or nil if none found.
type AutoScaleKubernetesControlPointMultiError ¶
type AutoScaleKubernetesControlPointMultiError []error
AutoScaleKubernetesControlPointMultiError is an error wrapping multiple validation errors returned by AutoScaleKubernetesControlPoint.ValidateAll() if the designated constraints aren't met.
func (AutoScaleKubernetesControlPointMultiError) AllErrors ¶
func (m AutoScaleKubernetesControlPointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AutoScaleKubernetesControlPointMultiError) Error ¶
func (m AutoScaleKubernetesControlPointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AutoScaleKubernetesControlPointValidationError ¶
type AutoScaleKubernetesControlPointValidationError struct {
// contains filtered or unexported fields
}
AutoScaleKubernetesControlPointValidationError is the validation error returned by AutoScaleKubernetesControlPoint.Validate if the designated constraints aren't met.
func (AutoScaleKubernetesControlPointValidationError) Cause ¶
func (e AutoScaleKubernetesControlPointValidationError) Cause() error
Cause function returns cause value.
func (AutoScaleKubernetesControlPointValidationError) Error ¶
func (e AutoScaleKubernetesControlPointValidationError) Error() string
Error satisfies the builtin error interface
func (AutoScaleKubernetesControlPointValidationError) ErrorName ¶
func (e AutoScaleKubernetesControlPointValidationError) ErrorName() string
ErrorName returns error name.
func (AutoScaleKubernetesControlPointValidationError) Field ¶
func (e AutoScaleKubernetesControlPointValidationError) Field() string
Field function returns field value.
func (AutoScaleKubernetesControlPointValidationError) Key ¶
func (e AutoScaleKubernetesControlPointValidationError) Key() bool
Key function returns key value.
func (AutoScaleKubernetesControlPointValidationError) Reason ¶
func (e AutoScaleKubernetesControlPointValidationError) Reason() string
Reason function returns reason value.
type AutoScaleKubernetesControlPoints ¶
type AutoScaleKubernetesControlPoints struct { AutoScaleKubernetesControlPoints []*AutoScaleKubernetesControlPoint `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
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) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *AutoScaleKubernetesControlPoints) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AutoScaleKubernetesControlPoints) MarshalToVT ¶ added in v2.7.0
func (m *AutoScaleKubernetesControlPoints) MarshalToVT(dAtA []byte) (int, error)
func (*AutoScaleKubernetesControlPoints) MarshalVT ¶ added in v2.7.0
func (m *AutoScaleKubernetesControlPoints) MarshalVT() (dAtA []byte, err error)
func (*AutoScaleKubernetesControlPoints) ProtoMessage ¶
func (*AutoScaleKubernetesControlPoints) ProtoMessage()
func (*AutoScaleKubernetesControlPoints) ProtoReflect ¶
func (x *AutoScaleKubernetesControlPoints) ProtoReflect() protoreflect.Message
func (*AutoScaleKubernetesControlPoints) Reset ¶
func (x *AutoScaleKubernetesControlPoints) Reset()
func (*AutoScaleKubernetesControlPoints) SizeVT ¶ added in v2.7.0
func (m *AutoScaleKubernetesControlPoints) SizeVT() (n int)
func (*AutoScaleKubernetesControlPoints) String ¶
func (x *AutoScaleKubernetesControlPoints) String() string
func (*AutoScaleKubernetesControlPoints) UnmarshalJSON ¶
func (msg *AutoScaleKubernetesControlPoints) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*AutoScaleKubernetesControlPoints) UnmarshalVT ¶ added in v2.7.0
func (m *AutoScaleKubernetesControlPoints) UnmarshalVT(dAtA []byte) error
func (*AutoScaleKubernetesControlPoints) Validate ¶
func (m *AutoScaleKubernetesControlPoints) Validate() error
Validate checks the field values on AutoScaleKubernetesControlPoints 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 (*AutoScaleKubernetesControlPoints) ValidateAll ¶
func (m *AutoScaleKubernetesControlPoints) ValidateAll() error
ValidateAll checks the field values on AutoScaleKubernetesControlPoints 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 AutoScaleKubernetesControlPointsMultiError, or nil if none found.
type AutoScaleKubernetesControlPointsMultiError ¶
type AutoScaleKubernetesControlPointsMultiError []error
AutoScaleKubernetesControlPointsMultiError is an error wrapping multiple validation errors returned by AutoScaleKubernetesControlPoints.ValidateAll() if the designated constraints aren't met.
func (AutoScaleKubernetesControlPointsMultiError) AllErrors ¶
func (m AutoScaleKubernetesControlPointsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AutoScaleKubernetesControlPointsMultiError) Error ¶
func (m AutoScaleKubernetesControlPointsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 AutoScaleKubernetesControlPointsValidationError ¶
type AutoScaleKubernetesControlPointsValidationError struct {
// contains filtered or unexported fields
}
AutoScaleKubernetesControlPointsValidationError is the validation error returned by AutoScaleKubernetesControlPoints.Validate if the designated constraints aren't met.
func (AutoScaleKubernetesControlPointsValidationError) Cause ¶
func (e AutoScaleKubernetesControlPointsValidationError) Cause() error
Cause function returns cause value.
func (AutoScaleKubernetesControlPointsValidationError) Error ¶
func (e AutoScaleKubernetesControlPointsValidationError) Error() string
Error satisfies the builtin error interface
func (AutoScaleKubernetesControlPointsValidationError) ErrorName ¶
func (e AutoScaleKubernetesControlPointsValidationError) ErrorName() string
ErrorName returns error name.
func (AutoScaleKubernetesControlPointsValidationError) Field ¶
func (e AutoScaleKubernetesControlPointsValidationError) Field() string
Field function returns field value.
func (AutoScaleKubernetesControlPointsValidationError) Key ¶
func (e AutoScaleKubernetesControlPointsValidationError) Key() bool
Key function returns key value.
func (AutoScaleKubernetesControlPointsValidationError) Reason ¶
func (e AutoScaleKubernetesControlPointsValidationError) Reason() string
Reason function returns reason value.
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.