Sha256: da232cb74dfd20ee85c4836ccfc2f61a81613a92cb05b308efbc5a2540aabfb5
Contents?: true
Size: 1.92 KB
Versions: 51
Compression:
Stored size: 1.92 KB
Contents
# Copyright 2020 StrongDM Inc # # 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. # # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: nodes.proto for package 'v1' require "grpc" require "nodes_pb" module V1 module Nodes # Nodes make up the strongDM network, and allow your users to connect securely to your resources. There are two types of nodes: # - **Gateways** are the entry points into network. They listen for connection from the strongDM client, and provide access to databases and servers. # - **Relays** are used to extend the strongDM network into segmented subnets. They provide access to databases and servers but do not listen for incoming connections. class Service include GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = "v1.Nodes" # Create registers a new Node. rpc :Create, V1::NodeCreateRequest, V1::NodeCreateResponse # Get reads one Node by ID. rpc :Get, V1::NodeGetRequest, V1::NodeGetResponse # Update replaces all the fields of a Node by ID. rpc :Update, V1::NodeUpdateRequest, V1::NodeUpdateResponse # Delete removes a Node by ID. rpc :Delete, V1::NodeDeleteRequest, V1::NodeDeleteResponse # List gets a list of Nodes matching a given set of criteria. rpc :List, V1::NodeListRequest, V1::NodeListResponse end Stub = Service.rpc_stub_class end end
Version data entries
51 entries across 51 versions & 1 rubygems