controlpointsv1

package
v1.5.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

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

View Source
const (
	AutoScaleKubernetesControlPointsService_GetControlPoints_FullMethodName = "/aperture.autoscale.kubernetes.controlpoints.v1.AutoScaleKubernetesControlPointsService/GetControlPoints"
)

Variables

View Source
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)

View Source
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.

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

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

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 (*AutoScaleKubernetesControlPoint) GetName

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 (*AutoScaleKubernetesControlPoint) Reset

func (*AutoScaleKubernetesControlPoint) 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

AllErrors returns a list of validation violation errors.

func (AutoScaleKubernetesControlPointMultiError) Error added in v1.2.0

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

Cause function returns cause value.

func (AutoScaleKubernetesControlPointValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (AutoScaleKubernetesControlPointValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (AutoScaleKubernetesControlPointValidationError) Field added in v1.2.0

Field function returns field value.

func (AutoScaleKubernetesControlPointValidationError) Key added in v1.2.0

Key function returns key value.

func (AutoScaleKubernetesControlPointValidationError) Reason added in v1.2.0

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

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

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 (*AutoScaleKubernetesControlPoints) Reset

func (*AutoScaleKubernetesControlPoints) String

func (*AutoScaleKubernetesControlPoints) UnmarshalJSON

func (msg *AutoScaleKubernetesControlPoints) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaleKubernetesControlPoints) Validate added in v1.2.0

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

AllErrors returns a list of validation violation errors.

func (AutoScaleKubernetesControlPointsMultiError) Error added in v1.2.0

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.

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

Cause function returns cause value.

func (AutoScaleKubernetesControlPointsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (AutoScaleKubernetesControlPointsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (AutoScaleKubernetesControlPointsValidationError) Field added in v1.2.0

Field function returns field value.

func (AutoScaleKubernetesControlPointsValidationError) Key added in v1.2.0

Key function returns key value.

func (AutoScaleKubernetesControlPointsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type UnimplementedAutoScaleKubernetesControlPointsServiceServer

type UnimplementedAutoScaleKubernetesControlPointsServiceServer struct {
}

UnimplementedAutoScaleKubernetesControlPointsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAutoScaleKubernetesControlPointsServiceServer) GetControlPoints

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL