rpyc-pve-cloud 0.1.1__tar.gz → 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rpyc_pve_cloud-0.1.1/src/rpyc_pve_cloud.egg-info → rpyc_pve_cloud-0.1.2}/PKG-INFO +1 -1
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/README.md +1 -0
- rpyc_pve_cloud-0.1.2/src/pve_cloud_rpc/_version.py +1 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/pve_cloud_rpc/protos/cloud_pb2.py +6 -6
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/pve_cloud_rpc/server.py +3 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2/src/rpyc_pve_cloud.egg-info}/PKG-INFO +1 -1
- rpyc_pve_cloud-0.1.1/src/pve_cloud_rpc/_version.py +0 -1
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/LICENSE.md +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/pyproject.toml +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/requirements.txt +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/setup.cfg +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/pve_cloud_rpc/protos/cloud_pb2_grpc.py +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/pve_cloud_rpc/protos/health_pb2.py +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/pve_cloud_rpc/protos/health_pb2_grpc.py +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/rpyc_pve_cloud.egg-info/SOURCES.txt +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/rpyc_pve_cloud.egg-info/dependency_links.txt +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/rpyc_pve_cloud.egg-info/entry_points.txt +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/rpyc_pve_cloud.egg-info/requires.txt +0 -0
- {rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/rpyc_pve_cloud.egg-info/top_level.txt +0 -0
|
@@ -20,6 +20,7 @@ sed -i 's|import health_pb2|import pve_cloud_rpc.protos.health_pb2|g' src/pve_cl
|
|
|
20
20
|
# need protocompiler 3 (installed via apt)
|
|
21
21
|
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
|
22
22
|
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
|
23
|
+
|
|
23
24
|
export PATH="$PATH:$(go env GOPATH)/bin"
|
|
24
25
|
protoc --go_out=./internal/provider --go_opt=paths=source_relative \
|
|
25
26
|
--go-grpc_out=./internal/provider --go-grpc_opt=paths=source_relative \
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.2"
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x63loud.proto\x12\x06protos\",\n\x16GetPveInventoryRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"B\n\x17GetPveInventoryResponse\x12\x11\n\tinventory\x18\x01 \x01(\t\x12\x14\n\x0c\x63loud_domain\x18\x02 \x01(\t\"+\n\x15GetProxmoxHostRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"*\n\x16GetProxmoxHostResponse\x12\x10\n\x08pve_host\x18\x01 \x01(\t\"\xa9\x01\n\x14GetProxmoxApiRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x10\n\x08\x61pi_path\x18\x02 \x01(\t\x12;\n\x08get_args\x18\x03 \x03(\x0b\x32).protos.GetProxmoxApiRequest.GetArgsEntry\x1a.\n\x0cGetArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x15GetProxmoxApiResponse\x12\x11\n\tjson_resp\x18\x01 \x01(\t\"\x87\x01\n\x10GetSshKeyRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x32\n\x08key_type\x18\x02 \x01(\x0e\x32 .protos.GetSshKeyRequest.KeyType\"+\n\x07KeyType\x12\x0e\n\nAUTOMATION\x10\x00\x12\x10\n\x0cPVE_HOST_RSA\x10\x01\" \n\x11GetSshKeyResponse\x12\x0b\n\x03key\x18\x01 \x01(\t\"*\n\x14GetCephAccessRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"A\n\x15GetCephAccessResponse\x12\x11\n\tceph_conf\x18\x01 \x01(\t\x12\x15\n\radmin_keyring\x18\x02 \x01(\t\">\n\x14GetKubeconfigRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x12\n\nstack_name\x18\x02 \x01(\t\"\'\n\x15GetKubeconfigResponse\x12\x0e\n\x06\x63onfig\x18\x01 \x01(\t\"+\n\x15GetClusterVarsRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"&\n\x16GetClusterVarsResponse\x12\x0c\n\x04vars\x18\x01 \x01(\t\"
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x63loud.proto\x12\x06protos\",\n\x16GetPveInventoryRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"B\n\x17GetPveInventoryResponse\x12\x11\n\tinventory\x18\x01 \x01(\t\x12\x14\n\x0c\x63loud_domain\x18\x02 \x01(\t\"+\n\x15GetProxmoxHostRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"*\n\x16GetProxmoxHostResponse\x12\x10\n\x08pve_host\x18\x01 \x01(\t\"\xa9\x01\n\x14GetProxmoxApiRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x10\n\x08\x61pi_path\x18\x02 \x01(\t\x12;\n\x08get_args\x18\x03 \x03(\x0b\x32).protos.GetProxmoxApiRequest.GetArgsEntry\x1a.\n\x0cGetArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x15GetProxmoxApiResponse\x12\x11\n\tjson_resp\x18\x01 \x01(\t\"\x87\x01\n\x10GetSshKeyRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x32\n\x08key_type\x18\x02 \x01(\x0e\x32 .protos.GetSshKeyRequest.KeyType\"+\n\x07KeyType\x12\x0e\n\nAUTOMATION\x10\x00\x12\x10\n\x0cPVE_HOST_RSA\x10\x01\" \n\x11GetSshKeyResponse\x12\x0b\n\x03key\x18\x01 \x01(\t\"*\n\x14GetCephAccessRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"A\n\x15GetCephAccessResponse\x12\x11\n\tceph_conf\x18\x01 \x01(\t\x12\x15\n\radmin_keyring\x18\x02 \x01(\t\">\n\x14GetKubeconfigRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x12\n\nstack_name\x18\x02 \x01(\t\"\'\n\x15GetKubeconfigResponse\x12\x0e\n\x06\x63onfig\x18\x01 \x01(\t\"+\n\x15GetClusterVarsRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"&\n\x16GetClusterVarsResponse\x12\x0c\n\x04vars\x18\x01 \x01(\t\"P\n\x15GetCloudSecretRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x13\n\x0bsecret_name\x18\x02 \x01(\t\x12\x0e\n\x06rstrip\x18\x03 \x01(\x08\"(\n\x16GetCloudSecretResponse\x12\x0e\n\x06secret\x18\x01 \x01(\t2\x87\x05\n\x0c\x43loudService\x12R\n\x13GetMasterKubeconfig\x12\x1c.protos.GetKubeconfigRequest\x1a\x1d.protos.GetKubeconfigResponse\x12O\n\x0eGetClusterVars\x12\x1d.protos.GetClusterVarsRequest\x1a\x1e.protos.GetClusterVarsResponse\x12O\n\x0eGetCloudSecret\x12\x1d.protos.GetCloudSecretRequest\x1a\x1e.protos.GetCloudSecretResponse\x12L\n\rGetCephAccess\x12\x1c.protos.GetCephAccessRequest\x1a\x1d.protos.GetCephAccessResponse\x12@\n\tGetSshKey\x12\x18.protos.GetSshKeyRequest\x1a\x19.protos.GetSshKeyResponse\x12L\n\rGetProxmoxApi\x12\x1c.protos.GetProxmoxApiRequest\x1a\x1d.protos.GetProxmoxApiResponse\x12O\n\x0eGetProxmoxHost\x12\x1d.protos.GetProxmoxHostRequest\x1a\x1e.protos.GetProxmoxHostResponse\x12R\n\x0fGetPveInventory\x12\x1e.protos.GetPveInventoryRequest\x1a\x1f.protos.GetPveInventoryResponseBQZOgithub.com/Proxmox-Cloud/terraform-provider-pxc/internal/provider/protos;protosb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -67,9 +67,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
67
67
|
_globals['_GETCLUSTERVARSRESPONSE']._serialized_start=875
|
|
68
68
|
_globals['_GETCLUSTERVARSRESPONSE']._serialized_end=913
|
|
69
69
|
_globals['_GETCLOUDSECRETREQUEST']._serialized_start=915
|
|
70
|
-
_globals['_GETCLOUDSECRETREQUEST']._serialized_end=
|
|
71
|
-
_globals['_GETCLOUDSECRETRESPONSE']._serialized_start=
|
|
72
|
-
_globals['_GETCLOUDSECRETRESPONSE']._serialized_end=
|
|
73
|
-
_globals['_CLOUDSERVICE']._serialized_start=
|
|
74
|
-
_globals['_CLOUDSERVICE']._serialized_end=
|
|
70
|
+
_globals['_GETCLOUDSECRETREQUEST']._serialized_end=995
|
|
71
|
+
_globals['_GETCLOUDSECRETRESPONSE']._serialized_start=997
|
|
72
|
+
_globals['_GETCLOUDSECRETRESPONSE']._serialized_end=1037
|
|
73
|
+
_globals['_CLOUDSERVICE']._serialized_start=1040
|
|
74
|
+
_globals['_CLOUDSERVICE']._serialized_end=1687
|
|
75
75
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -68,6 +68,9 @@ class CloudServiceServicer(cloud_pb2_grpc.CloudServiceServicer):
|
|
|
68
68
|
)
|
|
69
69
|
catted_secret = cmd.stdout
|
|
70
70
|
|
|
71
|
+
if request.rstrip: # defaults to true but in special cases user might want to keep newlines (e.g. certs)
|
|
72
|
+
catted_secret = catted_secret.rstrip()
|
|
73
|
+
|
|
71
74
|
return cloud_pb2.GetCloudSecretResponse(secret=catted_secret)
|
|
72
75
|
|
|
73
76
|
async def GetCephAccess(self, request, context):
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rpyc_pve_cloud-0.1.1 → rpyc_pve_cloud-0.1.2}/src/rpyc_pve_cloud.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|