Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

definitions: Implement GSP-86 Add CreateLink #674

Merged
merged 5 commits into from
Jul 16, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ bin/
release/
coverage/
coverage.*
tests/*.yaml
tests/*.yaml

# Jetbrain IDE
.idea
*.iml
12 changes: 6 additions & 6 deletions cmd/definitions/bindata/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions definitions/fields.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,6 @@ type = "string"

[w]
type = "io.Writer"

[target]
type = "string"
15 changes: 15 additions & 0 deletions definitions/operations.toml
Original file line number Diff line number Diff line change
Expand Up @@ -286,3 +286,18 @@ will write data into a file.
- Service that doesn't have native support for `overwrite` SHOULD check and delete the object if exists.
- A successful write operation SHOULD be complete, which means the object's content and metadata should be the same as specified in write request.
"""

[linker]
description = "is the interface for link"

[linker.op.create_link]
params = ["path", "target"]
results = ["o"]
description = """
Will create a link object.

# Behavior

abyss-w marked this conversation as resolved.
Show resolved Hide resolved
- CreateLink COULD implement virtual_link feature when service without native support.
abyss-w marked this conversation as resolved.
Show resolved Hide resolved
- Users SHOULD enable this feature by themselves
"""
Loading