controlpointcachev1

package
v0.25.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package controlpointcachev1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var ControlPointCache_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "aperture.controlpointcache.v1.ControlPointCache",
	HandlerType: (*ControlPointCacheServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetControlPoints",
			Handler:    _ControlPointCache_GetControlPoints_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "aperture/controlpointcache/v1/kubernetes.proto",
}

ControlPointCache_ServiceDesc is the grpc.ServiceDesc for ControlPointCache 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_controlpointcache_v1_kubernetes_proto protoreflect.FileDescriptor

Functions

func RegisterControlPointCacheHandler added in v0.23.0

func RegisterControlPointCacheHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterControlPointCacheHandler registers the http handlers for service ControlPointCache to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterControlPointCacheHandlerClient added in v0.23.0

func RegisterControlPointCacheHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ControlPointCacheClient) error

RegisterControlPointCacheHandlerClient registers the http handlers for service ControlPointCache to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ControlPointCacheClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ControlPointCacheClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ControlPointCacheClient" to call the correct interceptors.

func RegisterControlPointCacheHandlerFromEndpoint added in v0.23.0

func RegisterControlPointCacheHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterControlPointCacheHandlerFromEndpoint is same as RegisterControlPointCacheHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterControlPointCacheHandlerServer added in v0.23.0

func RegisterControlPointCacheHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ControlPointCacheServer) error

RegisterControlPointCacheHandlerServer registers the http handlers for service ControlPointCache to "mux". UnaryRPC :call ControlPointCacheServer 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 RegisterControlPointCacheHandlerFromEndpoint instead.

func RegisterControlPointCacheServer added in v0.23.0

func RegisterControlPointCacheServer(s grpc.ServiceRegistrar, srv ControlPointCacheServer)

Types

type ControlPointCacheClient added in v0.23.0

type ControlPointCacheClient interface {
	GetControlPoints(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*KubernetesControlPoints, error)
}

ControlPointCacheClient is the client API for ControlPointCache 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 NewControlPointCacheClient added in v0.23.0

func NewControlPointCacheClient(cc grpc.ClientConnInterface) ControlPointCacheClient

type ControlPointCacheServer added in v0.23.0

type ControlPointCacheServer interface {
	GetControlPoints(context.Context, *emptypb.Empty) (*KubernetesControlPoints, error)
}

ControlPointCacheServer is the server API for ControlPointCache service. All implementations should embed UnimplementedControlPointCacheServer for forward compatibility

type KubernetesControlPoint

type KubernetesControlPoint 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 (*KubernetesControlPoint) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesControlPoint. Required by controller-gen.

func (*KubernetesControlPoint) DeepCopyInterface

func (in *KubernetesControlPoint) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesControlPoint. Required by controller-gen.

func (*KubernetesControlPoint) DeepCopyInto

func (in *KubernetesControlPoint) DeepCopyInto(out *KubernetesControlPoint)

DeepCopyInto supports using KubernetesControlPoint within kubernetes types, where deepcopy-gen is used.

func (*KubernetesControlPoint) Descriptor deprecated

func (*KubernetesControlPoint) Descriptor() ([]byte, []int)

Deprecated: Use KubernetesControlPoint.ProtoReflect.Descriptor instead.

func (*KubernetesControlPoint) GetApiVersion

func (x *KubernetesControlPoint) GetApiVersion() string

func (*KubernetesControlPoint) GetKind

func (x *KubernetesControlPoint) GetKind() string

func (*KubernetesControlPoint) GetName

func (x *KubernetesControlPoint) GetName() string

func (*KubernetesControlPoint) GetNamespace

func (x *KubernetesControlPoint) GetNamespace() string

func (*KubernetesControlPoint) MarshalJSON

func (msg *KubernetesControlPoint) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*KubernetesControlPoint) ProtoMessage

func (*KubernetesControlPoint) ProtoMessage()

func (*KubernetesControlPoint) ProtoReflect

func (x *KubernetesControlPoint) ProtoReflect() protoreflect.Message

func (*KubernetesControlPoint) Reset

func (x *KubernetesControlPoint) Reset()

func (*KubernetesControlPoint) String

func (x *KubernetesControlPoint) String() string

func (*KubernetesControlPoint) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type KubernetesControlPoints added in v0.23.0

type KubernetesControlPoints struct {
	ControlPoints []*KubernetesControlPoint `protobuf:"bytes,1,rep,name=control_points,json=controlPoints,proto3" json:"control_points,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesControlPoints) DeepCopy added in v0.23.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesControlPoints. Required by controller-gen.

func (*KubernetesControlPoints) DeepCopyInterface added in v0.23.0

func (in *KubernetesControlPoints) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesControlPoints. Required by controller-gen.

func (*KubernetesControlPoints) DeepCopyInto added in v0.23.0

func (in *KubernetesControlPoints) DeepCopyInto(out *KubernetesControlPoints)

DeepCopyInto supports using KubernetesControlPoints within kubernetes types, where deepcopy-gen is used.

func (*KubernetesControlPoints) Descriptor deprecated added in v0.23.0

func (*KubernetesControlPoints) Descriptor() ([]byte, []int)

Deprecated: Use KubernetesControlPoints.ProtoReflect.Descriptor instead.

func (*KubernetesControlPoints) GetControlPoints added in v0.23.0

func (x *KubernetesControlPoints) GetControlPoints() []*KubernetesControlPoint

func (*KubernetesControlPoints) MarshalJSON added in v0.23.0

func (msg *KubernetesControlPoints) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*KubernetesControlPoints) ProtoMessage added in v0.23.0

func (*KubernetesControlPoints) ProtoMessage()

func (*KubernetesControlPoints) ProtoReflect added in v0.23.0

func (x *KubernetesControlPoints) ProtoReflect() protoreflect.Message

func (*KubernetesControlPoints) Reset added in v0.23.0

func (x *KubernetesControlPoints) Reset()

func (*KubernetesControlPoints) String added in v0.23.0

func (x *KubernetesControlPoints) String() string

func (*KubernetesControlPoints) UnmarshalJSON added in v0.23.0

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

UnmarshalJSON implements json.Unmarshaler

type UnimplementedControlPointCacheServer added in v0.23.0

type UnimplementedControlPointCacheServer struct {
}

UnimplementedControlPointCacheServer should be embedded to have forward compatible implementations.

func (UnimplementedControlPointCacheServer) GetControlPoints added in v0.23.0

type UnsafeControlPointCacheServer added in v0.23.0

type UnsafeControlPointCacheServer interface {
	// contains filtered or unexported methods
}

UnsafeControlPointCacheServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ControlPointCacheServer will result in compilation errors.

Jump to

Keyboard shortcuts

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