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 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
- 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 (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
- 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 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
func (*AutoScaleKubernetesControlPoint) Validate ¶ added in v1.2.0
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 ¶ added in v1.2.0
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 ¶ added in v1.2.0
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 ¶ added in v1.2.0
func (m AutoScaleKubernetesControlPointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AutoScaleKubernetesControlPointMultiError) Error ¶ added in v1.2.0
func (m AutoScaleKubernetesControlPointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AutoScaleKubernetesControlPointValidationError ¶ added in v1.2.0
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 ¶ added in v1.2.0
func (e AutoScaleKubernetesControlPointValidationError) Cause() error
Cause function returns cause value.
func (AutoScaleKubernetesControlPointValidationError) Error ¶ added in v1.2.0
func (e AutoScaleKubernetesControlPointValidationError) Error() string
Error satisfies the builtin error interface
func (AutoScaleKubernetesControlPointValidationError) ErrorName ¶ added in v1.2.0
func (e AutoScaleKubernetesControlPointValidationError) ErrorName() string
ErrorName returns error name.
func (AutoScaleKubernetesControlPointValidationError) Field ¶ added in v1.2.0
func (e AutoScaleKubernetesControlPointValidationError) Field() string
Field function returns field value.
func (AutoScaleKubernetesControlPointValidationError) Key ¶ added in v1.2.0
func (e AutoScaleKubernetesControlPointValidationError) Key() bool
Key function returns key value.
func (AutoScaleKubernetesControlPointValidationError) Reason ¶ added in v1.2.0
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) 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
func (*AutoScaleKubernetesControlPoints) Validate ¶ added in v1.2.0
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 ¶ added in v1.2.0
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 ¶ added in v1.2.0
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 ¶ added in v1.2.0
func (m AutoScaleKubernetesControlPointsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AutoScaleKubernetesControlPointsMultiError) Error ¶ added in v1.2.0
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 ¶ added in v1.2.0
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 ¶ added in v1.2.0
func (e AutoScaleKubernetesControlPointsValidationError) Cause() error
Cause function returns cause value.
func (AutoScaleKubernetesControlPointsValidationError) Error ¶ added in v1.2.0
func (e AutoScaleKubernetesControlPointsValidationError) Error() string
Error satisfies the builtin error interface
func (AutoScaleKubernetesControlPointsValidationError) ErrorName ¶ added in v1.2.0
func (e AutoScaleKubernetesControlPointsValidationError) ErrorName() string
ErrorName returns error name.
func (AutoScaleKubernetesControlPointsValidationError) Field ¶ added in v1.2.0
func (e AutoScaleKubernetesControlPointsValidationError) Field() string
Field function returns field value.
func (AutoScaleKubernetesControlPointsValidationError) Key ¶ added in v1.2.0
func (e AutoScaleKubernetesControlPointsValidationError) Key() bool
Key function returns key value.
func (AutoScaleKubernetesControlPointsValidationError) Reason ¶ added in v1.2.0
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.