Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit203b262

Browse files
committed
add open_in parameter
1 parentebd01ef commit203b262

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

‎provider/app.go

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -236,28 +236,6 @@ func appResource() *schema.Resource {
236236
ForceNew:true,
237237
Optional:true,
238238
},
239-
"open_in": {
240-
Type:schema.TypeString,
241-
Description:"Determines where the app will be opened. Valid values are `\"tab\"`, `\"window\"`, and `\"slim-window\" (default)`. "+
242-
"`\"tab\"` opens in a new tab in the same browser window. `\"window\"` opens a fresh browser window with navigation options. "+
243-
"`\"slim-window\"` opens a fresh browser window with slim navigation options.",
244-
ForceNew:true,
245-
Optional:true,
246-
Default:"slim-window",
247-
ValidateDiagFunc:func(valinterface{},c cty.Path) diag.Diagnostics {
248-
valStr,ok:=val.(string)
249-
if!ok {
250-
returndiag.Errorf("expected string, got %T",val)
251-
}
252-
253-
switchvalStr {
254-
case"tab","window","slim-window":
255-
returnnil
256-
}
257-
258-
returndiag.Errorf(`invalid "coder_app" open_in value, must be one of "tab", "window", "slim-window": %q`,valStr)
259-
},
260-
},
261239
},
262240
}
263241
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp