Skip to content

Commit 81fbf99

Browse files
author
stlc-bot
committed
chore!: remove Mirrorball and customer mirror controls
Stainless-Generated-From: ac6281280ad621a21168910d21fedca95d45807f
1 parent 6f1cef4 commit 81fbf99

6 files changed

Lines changed: 1 addition & 43 deletions

File tree

‎scripts/mock‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎src/runloop_api_client/resources/network_policies.py‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def create(
5353
allow_all: Optional[bool] | Omit = omit,
5454
allow_devbox_to_devbox: Optional[bool] | Omit = omit,
5555
allow_mcp_gateway: Optional[bool] | Omit = omit,
56-
allow_runloop_mirrors: Optional[bool] | Omit = omit,
5756
allowed_cidrs: Optional[Iterable[AllowedCidrParam]] | Omit = omit,
5857
allowed_hostnames: Optional[SequenceNotStr[str]] | Omit = omit,
5958
description: Optional[str] | Omit = omit,
@@ -87,9 +86,6 @@ def create(
8786
allow_mcp_gateway: (Optional) If true, allows devbox egress to the MCP hub for MCP server access.
8887
Defaults to false.
8988
90-
allow_runloop_mirrors: (Optional) If true, allows devbox egress to Runloop's package/image registry
91-
mirrors. Defaults to false. Implicitly allowed when allow_all is true.
92-
9389
allowed_cidrs: (Optional) IPv4 CIDR-based allow list with optional port restrictions, additive
9490
with allowed_hostnames. Example: [{'cidr': '10.12.0.0/16', 'ports': [{'port':
9591
443}]}].
@@ -118,7 +114,6 @@ def create(
118114
"allow_all": allow_all,
119115
"allow_devbox_to_devbox": allow_devbox_to_devbox,
120116
"allow_mcp_gateway": allow_mcp_gateway,
121-
"allow_runloop_mirrors": allow_runloop_mirrors,
122117
"allowed_cidrs": allowed_cidrs,
123118
"allowed_hostnames": allowed_hostnames,
124119
"description": description,
@@ -176,7 +171,6 @@ def update(
176171
allow_all: Optional[bool] | Omit = omit,
177172
allow_devbox_to_devbox: Optional[bool] | Omit = omit,
178173
allow_mcp_gateway: Optional[bool] | Omit = omit,
179-
allow_runloop_mirrors: Optional[bool] | Omit = omit,
180174
allowed_cidrs: Optional[Iterable[AllowedCidrParam]] | Omit = omit,
181175
allowed_hostnames: Optional[SequenceNotStr[str]] | Omit = omit,
182176
description: Optional[str] | Omit = omit,
@@ -203,9 +197,6 @@ def update(
203197
204198
allow_mcp_gateway: If true, allows devbox egress to the MCP hub.
205199
206-
allow_runloop_mirrors: If true, allows devbox egress to Runloop's package/image registry mirrors.
207-
Implicitly allowed when allow_all is true.
208-
209200
allowed_cidrs: Updated IPv4 CIDR-based allow list with optional port restrictions, additive
210201
with allowed_hostnames.
211202
@@ -236,7 +227,6 @@ def update(
236227
"allow_all": allow_all,
237228
"allow_devbox_to_devbox": allow_devbox_to_devbox,
238229
"allow_mcp_gateway": allow_mcp_gateway,
239-
"allow_runloop_mirrors": allow_runloop_mirrors,
240230
"allowed_cidrs": allowed_cidrs,
241231
"allowed_hostnames": allowed_hostnames,
242232
"description": description,
@@ -388,7 +378,6 @@ async def create(
388378
allow_all: Optional[bool] | Omit = omit,
389379
allow_devbox_to_devbox: Optional[bool] | Omit = omit,
390380
allow_mcp_gateway: Optional[bool] | Omit = omit,
391-
allow_runloop_mirrors: Optional[bool] | Omit = omit,
392381
allowed_cidrs: Optional[Iterable[AllowedCidrParam]] | Omit = omit,
393382
allowed_hostnames: Optional[SequenceNotStr[str]] | Omit = omit,
394383
description: Optional[str] | Omit = omit,
@@ -422,9 +411,6 @@ async def create(
422411
allow_mcp_gateway: (Optional) If true, allows devbox egress to the MCP hub for MCP server access.
423412
Defaults to false.
424413
425-
allow_runloop_mirrors: (Optional) If true, allows devbox egress to Runloop's package/image registry
426-
mirrors. Defaults to false. Implicitly allowed when allow_all is true.
427-
428414
allowed_cidrs: (Optional) IPv4 CIDR-based allow list with optional port restrictions, additive
429415
with allowed_hostnames. Example: [{'cidr': '10.12.0.0/16', 'ports': [{'port':
430416
443}]}].
@@ -453,7 +439,6 @@ async def create(
453439
"allow_all": allow_all,
454440
"allow_devbox_to_devbox": allow_devbox_to_devbox,
455441
"allow_mcp_gateway": allow_mcp_gateway,
456-
"allow_runloop_mirrors": allow_runloop_mirrors,
457442
"allowed_cidrs": allowed_cidrs,
458443
"allowed_hostnames": allowed_hostnames,
459444
"description": description,
@@ -511,7 +496,6 @@ async def update(
511496
allow_all: Optional[bool] | Omit = omit,
512497
allow_devbox_to_devbox: Optional[bool] | Omit = omit,
513498
allow_mcp_gateway: Optional[bool] | Omit = omit,
514-
allow_runloop_mirrors: Optional[bool] | Omit = omit,
515499
allowed_cidrs: Optional[Iterable[AllowedCidrParam]] | Omit = omit,
516500
allowed_hostnames: Optional[SequenceNotStr[str]] | Omit = omit,
517501
description: Optional[str] | Omit = omit,
@@ -538,9 +522,6 @@ async def update(
538522
539523
allow_mcp_gateway: If true, allows devbox egress to the MCP hub.
540524
541-
allow_runloop_mirrors: If true, allows devbox egress to Runloop's package/image registry mirrors.
542-
Implicitly allowed when allow_all is true.
543-
544525
allowed_cidrs: Updated IPv4 CIDR-based allow list with optional port restrictions, additive
545526
with allowed_hostnames.
546527
@@ -571,7 +552,6 @@ async def update(
571552
"allow_all": allow_all,
572553
"allow_devbox_to_devbox": allow_devbox_to_devbox,
573554
"allow_mcp_gateway": allow_mcp_gateway,
574-
"allow_runloop_mirrors": allow_runloop_mirrors,
575555
"allowed_cidrs": allowed_cidrs,
576556
"allowed_hostnames": allowed_hostnames,
577557
"description": description,

‎src/runloop_api_client/types/network_policy_create_params.py‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ class NetworkPolicyCreateParams(TypedDict, total=False):
4343
Defaults to false.
4444
"""
4545

46-
allow_runloop_mirrors: Optional[bool]
47-
"""
48-
(Optional) If true, allows devbox egress to Runloop's package/image registry
49-
mirrors. Defaults to false. Implicitly allowed when allow_all is true.
50-
"""
51-
5246
allowed_cidrs: Optional[Iterable[AllowedCidrParam]]
5347
"""
5448
(Optional) IPv4 CIDR-based allow list with optional port restrictions, additive

‎src/runloop_api_client/types/network_policy_update_params.py‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ class NetworkPolicyUpdateParams(TypedDict, total=False):
2424
allow_mcp_gateway: Optional[bool]
2525
"""If true, allows devbox egress to the MCP hub."""
2626

27-
allow_runloop_mirrors: Optional[bool]
28-
"""If true, allows devbox egress to Runloop's package/image registry mirrors.
29-
30-
Implicitly allowed when allow_all is true.
31-
"""
32-
3327
allowed_cidrs: Optional[Iterable[AllowedCidrParam]]
3428
"""
3529
Updated IPv4 CIDR-based allow list with optional port restrictions, additive

‎src/runloop_api_client/types/network_policy_view.py‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ class Egress(BaseModel):
2626
allow_mcp_gateway: bool
2727
"""If true, allows devbox egress to the MCP hub for MCP server access."""
2828

29-
allow_runloop_mirrors: bool
30-
"""If true, allows devbox egress to Runloop's package/image registry mirrors.
31-
32-
Implicitly allowed when allow_all is true.
33-
"""
34-
3529
allowed_cidrs: List[AllowedCidr]
3630
"""
3731
CIDR-based allow list with optional port restrictions, additive with

‎tests/api_resources/test_network_policies.py‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ def test_method_create_with_all_params(self, client: Runloop) -> None:
3535
allow_all=True,
3636
allow_devbox_to_devbox=True,
3737
allow_mcp_gateway=True,
38-
allow_runloop_mirrors=True,
3938
allowed_cidrs=[
4039
{
4140
"cidr": "cidr",
@@ -130,7 +129,6 @@ def test_method_update_with_all_params(self, client: Runloop) -> None:
130129
allow_all=True,
131130
allow_devbox_to_devbox=True,
132131
allow_mcp_gateway=True,
133-
allow_runloop_mirrors=True,
134132
allowed_cidrs=[
135133
{
136134
"cidr": "cidr",
@@ -276,7 +274,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) -
276274
allow_all=True,
277275
allow_devbox_to_devbox=True,
278276
allow_mcp_gateway=True,
279-
allow_runloop_mirrors=True,
280277
allowed_cidrs=[
281278
{
282279
"cidr": "cidr",
@@ -371,7 +368,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncRunloop) -
371368
allow_all=True,
372369
allow_devbox_to_devbox=True,
373370
allow_mcp_gateway=True,
374-
allow_runloop_mirrors=True,
375371
allowed_cidrs=[
376372
{
377373
"cidr": "cidr",

0 commit comments

Comments
 (0)