Documentation
¶
Overview ¶
Copyright 2024 Outernet Council Foundation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- type PrototypeHandler
- func (p *PrototypeHandler) CreateAttachmentCircuit(_ context.Context, ac *pb.CreateAttachmentCircuitRequest) (*pb.AttachmentCircuit, error)
- func (p *PrototypeHandler) CreateBearer(_ context.Context, bearer *pb.CreateBearerRequest) (*pb.Bearer, error)
- func (p *PrototypeHandler) CreateTransceiver(_ context.Context, trans *pb.CreateTransceiverRequest) (*pb.Transceiver, error)
- func (p *PrototypeHandler) DeleteAttachmentCircuit(_ context.Context, request *pb.DeleteAttachmentCircuitRequest) (*emptypb.Empty, error)
- func (p *PrototypeHandler) DeleteBearer(_ context.Context, bearer *pb.DeleteBearerRequest) (*emptypb.Empty, error)
- func (p *PrototypeHandler) DeleteTransceiver(_ context.Context, trans *pb.DeleteTransceiverRequest) (*emptypb.Empty, error)
- func (p *PrototypeHandler) GetAttachmentCircuit(_ context.Context, circuit *pb.GetAttachmentCircuitRequest) (*pb.AttachmentCircuit, error)
- func (p *PrototypeHandler) GetBearer(_ context.Context, bearer *pb.GetBearerRequest) (*pb.Bearer, error)
- func (p *PrototypeHandler) GetTarget(_ context.Context, targetRequest *pb.GetTargetRequest) (*pb.Target, error)
- func (p *PrototypeHandler) GetTransceiver(ctx context.Context, trans *pb.GetTransceiverRequest) (*pb.Transceiver, error)
- func (p *PrototypeHandler) ListAttachmentCircuits(_ context.Context, request *pb.ListAttachmentCircuitsRequest) (*pb.ListAttachmentCircuitsResponse, error)
- func (p *PrototypeHandler) ListBearers(_ context.Context, request *pb.ListBearersRequest) (*pb.ListBearersResponse, error)
- func (p *PrototypeHandler) ListCompatibleTransceiverTypes(context.Context, *pb.ListCompatibleTransceiverTypesRequest) (*pb.ListCompatibleTransceiverTypesResponse, error)
- func (p *PrototypeHandler) ListContactWindows(_ context.Context, request *pb.ListContactWindowsRequest) (*pb.ListContactWindowsResponse, error)
- func (p *PrototypeHandler) ListTargets(context.Context, *pb.ListTargetsRequest) (*pb.ListTargetsResponse, error)
- func (p *PrototypeHandler) ListTransceivers(ctx context.Context, request *pb.ListTransceiversRequest) (*pb.ListTransceiversResponse, error)
- func (p *PrototypeHandler) UpdateTransceiver(_ context.Context, trans *pb.UpdateTransceiverRequest) (*pb.Transceiver, error)
Constants ¶
View Source
const TARGET_NAME = "target/mysat"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrototypeHandler ¶
type PrototypeHandler struct { pb.UnimplementedInterconnectServiceServer // contains filtered or unexported fields }
func NewPrototypeHandler ¶
func NewPrototypeHandler() *PrototypeHandler
We pretend to be a very simple provider with one target only.
func (*PrototypeHandler) CreateAttachmentCircuit ¶
func (p *PrototypeHandler) CreateAttachmentCircuit(_ context.Context, ac *pb.CreateAttachmentCircuitRequest) (*pb.AttachmentCircuit, error)
func (*PrototypeHandler) CreateBearer ¶
func (p *PrototypeHandler) CreateBearer(_ context.Context, bearer *pb.CreateBearerRequest) (*pb.Bearer, error)
func (*PrototypeHandler) CreateTransceiver ¶
func (p *PrototypeHandler) CreateTransceiver(_ context.Context, trans *pb.CreateTransceiverRequest) (*pb.Transceiver, error)
func (*PrototypeHandler) DeleteAttachmentCircuit ¶
func (p *PrototypeHandler) DeleteAttachmentCircuit(_ context.Context, request *pb.DeleteAttachmentCircuitRequest) (*emptypb.Empty, error)
func (*PrototypeHandler) DeleteBearer ¶
func (p *PrototypeHandler) DeleteBearer(_ context.Context, bearer *pb.DeleteBearerRequest) (*emptypb.Empty, error)
func (*PrototypeHandler) DeleteTransceiver ¶
func (p *PrototypeHandler) DeleteTransceiver(_ context.Context, trans *pb.DeleteTransceiverRequest) (*emptypb.Empty, error)
func (*PrototypeHandler) GetAttachmentCircuit ¶
func (p *PrototypeHandler) GetAttachmentCircuit(_ context.Context, circuit *pb.GetAttachmentCircuitRequest) (*pb.AttachmentCircuit, error)
func (*PrototypeHandler) GetBearer ¶
func (p *PrototypeHandler) GetBearer(_ context.Context, bearer *pb.GetBearerRequest) (*pb.Bearer, error)
func (*PrototypeHandler) GetTarget ¶
func (p *PrototypeHandler) GetTarget(_ context.Context, targetRequest *pb.GetTargetRequest) (*pb.Target, error)
func (*PrototypeHandler) GetTransceiver ¶
func (p *PrototypeHandler) GetTransceiver(ctx context.Context, trans *pb.GetTransceiverRequest) (*pb.Transceiver, error)
func (*PrototypeHandler) ListAttachmentCircuits ¶
func (p *PrototypeHandler) ListAttachmentCircuits(_ context.Context, request *pb.ListAttachmentCircuitsRequest) (*pb.ListAttachmentCircuitsResponse, error)
func (*PrototypeHandler) ListBearers ¶
func (p *PrototypeHandler) ListBearers(_ context.Context, request *pb.ListBearersRequest) (*pb.ListBearersResponse, error)
func (*PrototypeHandler) ListCompatibleTransceiverTypes ¶
func (p *PrototypeHandler) ListCompatibleTransceiverTypes(context.Context, *pb.ListCompatibleTransceiverTypesRequest) (*pb.ListCompatibleTransceiverTypesResponse, error)
func (*PrototypeHandler) ListContactWindows ¶
func (p *PrototypeHandler) ListContactWindows(_ context.Context, request *pb.ListContactWindowsRequest) (*pb.ListContactWindowsResponse, error)
func (*PrototypeHandler) ListTargets ¶
func (p *PrototypeHandler) ListTargets(context.Context, *pb.ListTargetsRequest) (*pb.ListTargetsResponse, error)
func (*PrototypeHandler) ListTransceivers ¶
func (p *PrototypeHandler) ListTransceivers(ctx context.Context, request *pb.ListTransceiversRequest) (*pb.ListTransceiversResponse, error)
func (*PrototypeHandler) UpdateTransceiver ¶
func (p *PrototypeHandler) UpdateTransceiver(_ context.Context, trans *pb.UpdateTransceiverRequest) (*pb.Transceiver, error)
Click to show internal directories.
Click to hide internal directories.