diff --git a/.gitignore b/.gitignore index a12bb52a1..0e9d8df0b 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,8 @@ bin/ release/ coverage/ coverage.* -tests/*.yaml \ No newline at end of file +tests/*.yaml + +# Jetbrain IDE +.idea +*.iml \ No newline at end of file diff --git a/cmd/definitions/bindata/bindata.go b/cmd/definitions/bindata/bindata.go index f6dc8231d..815e04623 100644 --- a/cmd/definitions/bindata/bindata.go +++ b/cmd/definitions/bindata/bindata.go @@ -1,10 +1,10 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: -// definitions/features.toml (1.177kB) -// definitions/fields.toml (603B) +// definitions/features.toml (1.578kB) +// definitions/fields.toml (629B) // definitions/info_object_meta.toml (932B) // definitions/info_storage_meta.toml (1.139kB) -// definitions/operations.toml (7.906kB) +// definitions/operations.toml (8.514kB) // definitions/pairs.toml (1.416kB) // cmd/definitions/tmpl/function.tmpl (567B) // cmd/definitions/tmpl/info.tmpl (1.702kB) @@ -82,7 +82,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _definitionsFeaturesToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x91\x31\x8f\x13\x41\x0c\x85\xfb\xfd\x15\x4f\x69\x00\x29\x17\x41\x49\x41\x8d\xe8\x90\xa0\x3b\xa1\xc8\x99\x71\x58\x73\x73\xe3\x95\xed\xd9\x88\x7f\x8f\x26\x21\x77\xab\x28\xa1\x38\x28\xe8\x76\xd7\xeb\xe7\xf7\xde\x77\x5f\x54\x9d\xb7\x13\x89\x7d\x1b\x32\x7b\x32\x99\x42\xb4\xe2\x03\x56\xab\xd5\xf0\x3c\xc5\x9e\x29\x9a\x31\xc4\x91\xd9\xe5\x7b\xe5\x8c\xbd\x1a\x9a\xb3\x39\x0e\xa3\x22\x6b\x7d\x15\x38\x50\x0d\x78\x98\xa4\xc0\x71\x31\x8d\x9c\x1e\x7c\x33\x0c\x9f\xf6\x88\x51\x7c\xa9\xc4\x95\x76\x85\xf3\x1a\x31\x32\x9c\x6d\x96\xc4\x38\x48\x29\xa8\x1a\x30\x8e\x66\x15\x54\xc1\x66\x6a\xc7\x73\xfd\xbb\xb7\x69\x52\x3b\xc9\x77\xe1\xaf\x4b\xd5\x03\x39\xa4\x86\x69\x6e\x89\x33\xa4\xe2\xe3\x97\xcf\x77\xef\xde\xbe\xdf\x0c\x3d\xd1\x70\x3f\x8b\x45\xa3\xb2\xcd\xd7\x23\x2f\xc6\x37\x33\xd3\x93\xd7\x18\x29\x90\x95\xbd\x47\x1f\x69\x66\x54\x0a\x99\x19\x7d\xfd\xec\x73\xd7\x4e\xb5\x38\x42\x31\x99\xce\x92\x19\x2e\x8f\xad\x50\x70\x86\x4e\x6c\xd4\x1d\xf4\x2c\x77\xb8\x52\x53\x16\x3f\xf6\x84\xd7\xbd\xa7\xcc\x7b\x6a\x25\xb0\xe3\x91\x66\x51\x7b\x73\xa5\xbe\xe3\x8c\x51\xe4\x81\x21\x17\x0e\xa9\xfe\x5c\xda\xdb\x5c\xbf\x79\x1b\xcd\x39\xd6\x73\x82\xae\x76\x76\xd3\x1b\x4f\xc6\x14\xdc\x2b\x5c\xff\x7e\x5e\xa3\x88\xc7\x1a\x99\x0b\xf7\x37\xaa\x19\xae\xd0\xfa\x62\x7c\xba\xfb\xc1\x29\xb6\x8f\x1c\x94\x29\xe8\x4f\x28\x2f\x7e\xfd\x1b\xac\x27\x29\x3c\x49\xfd\xc7\x88\x6f\x58\xfd\x07\xb8\x2f\x95\x97\xe8\xfb\xfa\x09\xb5\x07\xc5\xcb\x41\xff\x0a\x00\x00\xff\xff\x7c\xee\xc9\xee\x99\x04\x00\x00") +var _definitionsFeaturesToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x94\x41\x8b\x13\x41\x10\x85\xef\xf3\x2b\x1e\x7b\x51\x21\x09\x7a\x11\x15\x3c\x8b\x37\x41\x6f\x8b\x84\xca\x74\xc5\x29\xd3\xd3\x35\x54\xd7\x4c\xd8\x7f\x2f\x3d\x93\xd9\x0d\x21\x13\xc4\xdd\x83\xb7\x24\xdd\xf5\xea\xbd\xf7\x35\xb9\x8f\xaa\x99\xb7\x1d\x89\xfd\xac\x02\xe7\xda\xa4\x73\xd1\x84\xcf\xb8\xbb\xbb\xab\x9e\x4e\xb1\x67\xf2\xde\x18\x92\x11\x38\xcb\xaf\xc4\x01\x7b\x35\xf4\x99\x2d\xe3\xd8\x28\x82\xa6\x57\x8e\x23\x25\x47\x76\x93\xda\x31\x0e\xd6\x0d\xd7\x87\xbc\xa9\xaa\xaf\x7b\x78\x23\xf9\x5c\x89\x13\xed\x22\x87\x15\xbc\x61\x64\xb6\x41\x6a\xc6\x51\x62\x44\x52\x87\xb1\xf7\x96\x40\x09\x6c\xa6\x36\xae\x2b\xbf\xe7\xbe\xeb\xd4\x26\xf9\x22\xfc\xe3\x5c\xf5\x48\x19\x92\xdc\x34\xf4\x35\x07\x48\xc2\x97\xef\xdf\xd6\xef\xde\x7e\xdc\x54\x25\x51\x75\x3f\x88\x79\x4f\x71\x1b\xae\x47\x3e\x3b\x5e\xcc\x4c\x8f\x5e\xbd\x21\x47\x50\xce\x25\x7a\x43\x03\x23\x91\xcb\xc0\x28\xe3\xb3\xcf\x5d\x3f\xd5\x92\xe1\x8a\xce\x74\x90\xc0\xc8\xd2\xf6\x91\x9c\x03\xb4\x63\xa3\xe2\xa0\x64\x59\xe3\x4a\x4d\x41\xf2\xd8\x13\x5e\x97\x9e\x02\xef\xa9\x8f\x8e\x1d\x37\x34\x88\xda\x9b\x2b\xf5\x8d\x67\x8c\x28\x07\x86\x5c\x38\xa4\xf4\x70\x6e\x6f\x73\x7d\xe7\x32\x9a\x39\xd6\x53\x82\xa2\x36\xbb\x29\x8d\xd7\xc6\xe4\x5c\x2a\x5c\x9d\x3e\xaf\x10\x25\xfb\x0a\x81\x23\x97\x6f\x94\x02\xb2\x42\xd3\x3f\xe3\xd3\xdd\x6f\xae\x7d\xdb\xb2\x53\x20\xa7\x5b\x28\x2f\xae\x3e\x07\xeb\x24\x85\x47\xa9\xff\x18\xf1\x82\xd5\x17\xc0\x7d\xa9\x7c\x8e\xbe\x8c\x4f\xa8\xb3\x93\xbf\x04\xe8\x28\xe9\x70\x8b\x6e\x39\x7f\x0e\xd2\x39\x5f\xb9\x5e\xb4\x96\x08\x2d\x37\x64\x7d\x42\xad\x6d\x47\x2e\xbb\xc8\x68\x35\xf0\xa7\xd3\xbb\x1f\x15\x31\x08\xcd\xdb\x5a\xf6\x46\x43\x5e\x8d\x2f\x86\x62\xd4\x23\x8c\x29\x4c\xf7\xf6\xa6\x2d\x34\x86\x75\xf6\x87\x78\x9a\x9d\xca\x5e\xa0\x56\xfe\x0d\x6f\xfb\x92\x34\x6f\xa6\x0c\xf5\x86\x6d\xbe\xf3\x77\x40\x3e\xbc\x3f\xf1\xf8\x13\x00\x00\xff\xff\x02\x8a\xc0\x31\x2a\x06\x00\x00") func definitionsFeaturesTomlBytes() ([]byte, error) { return bindataRead( @@ -98,11 +98,11 @@ func definitionsFeaturesToml() (*asset, error) { } info := bindataFileInfo{name: "definitions/features.toml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x87, 0x6b, 0x6b, 0x54, 0x67, 0xb7, 0x4a, 0x44, 0xd9, 0x3a, 0x4e, 0x48, 0x2d, 0xe3, 0xf0, 0xe2, 0x9f, 0xe, 0xfe, 0x91, 0xc0, 0xcb, 0x6e, 0xbf, 0x87, 0x57, 0xb4, 0xaa, 0x6, 0x50, 0xf1, 0x3b}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe8, 0xde, 0x64, 0x57, 0x6f, 0xe4, 0xa1, 0x28, 0x9a, 0xdf, 0xf5, 0xa, 0x78, 0xe3, 0xe7, 0xe5, 0x4c, 0x35, 0xce, 0xe9, 0xb8, 0x4b, 0x32, 0xb7, 0xb2, 0xdc, 0x74, 0xc5, 0x98, 0xd5, 0x9f, 0x28}} return a, nil } -var _definitionsFieldsToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x90\x3f\x4f\xc3\x40\x0c\xc5\xf7\x7c\x8a\xaa\x63\x87\x4c\x88\x8d\x85\x8d\x01\x51\xc1\xc0\x10\x75\x70\x12\xb7\x18\xda\x38\x7a\x36\xe2\xcf\xa7\x47\x17\x5a\x9d\xd3\xdc\xfa\x7b\xbe\x9f\x7d\xaf\x69\x65\x57\xf9\xcf\xc8\xab\xbb\xd5\x7a\x73\x7f\xd4\xee\xe3\xc1\x19\xe4\x8a\x75\x55\x35\xad\xf4\x39\x36\x87\x0c\x87\x33\xb6\xcc\x9b\x5d\x4e\x7a\xf3\xd2\x03\x06\x32\x66\xe0\xdf\x2e\x43\xcf\xdf\x99\xcb\xe0\x89\x9e\xd8\x29\xdc\xf4\xe2\x0a\x3a\xf0\x23\x3b\xa5\x74\x98\xcd\xdf\xde\x4c\x8c\x4e\x5c\xda\xaa\x41\xf3\xd4\xbe\x73\x37\xf9\x75\xbf\x37\xf6\x82\x46\x65\x31\x1f\xbb\x18\x49\x10\x7e\x5d\xd7\xf5\x96\xe4\x9c\x20\xf8\x36\x5b\x82\x5f\xf0\xac\xa6\x90\xf8\x5b\xe9\xe0\x51\xae\x34\x71\x7f\x68\x50\xb4\x7e\x66\xea\x79\xe2\x26\xbf\x5c\xf8\x8d\xa1\x2b\xad\x30\x97\x65\xb9\x88\x7b\xcc\x15\x41\x78\x19\x49\xd1\x27\x8e\x25\xe7\xd7\xec\xb2\x57\x88\xa7\xf1\xbf\x00\x00\x00\xff\xff\xd1\x4c\x97\x19\x5b\x02\x00\x00") +var _definitionsFieldsToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x92\xbd\x4e\xc3\x40\x10\x84\x7b\x3f\x45\x94\x32\x85\x2b\x44\x47\x43\x47\x81\x88\xa0\xa0\xb0\x52\xac\xed\x8d\x59\x48\xee\xac\xb9\x41\xfc\x3c\x3d\xb2\x93\xe8\xd6\xe4\xda\x6f\xd6\xdf\xee\x8d\xdc\xb4\xb6\xab\xf8\x33\xea\xea\x6e\xb5\xde\xdc\x1f\x62\xf7\xf1\x40\x85\x30\x62\x5d\x55\x4d\x6b\x7d\x8e\x13\x61\x61\x38\xe3\x94\x79\xb3\xcb\x49\x9f\x58\xfa\x40\x81\x8c\x15\x38\xd9\x2d\xf4\xfa\x9d\xb9\x05\x4e\xf4\xa8\x14\x77\xd3\x0b\x23\x64\xd0\x47\xa5\x4c\x69\x58\xcc\xdf\xde\xcc\x4c\x8e\x5a\xda\x1a\x9d\xe6\xa9\x7d\xd7\x6e\xf6\xc7\xfd\x3e\x29\x0b\x9a\x68\x57\xf3\xbe\x8b\x51\x0c\xee\xd5\x75\x5d\x6f\xc5\xce\x09\x9c\x6f\xb3\x15\xf0\x82\x17\x35\xb9\x84\x6f\xa5\x83\x47\xfb\xa7\xf1\xfb\x5d\x83\x16\xeb\x67\x95\x5e\x67\x9e\xec\x57\x0b\xaf\x49\xe8\x4a\x2b\x12\xed\xba\x5c\xf8\x3d\x89\x11\x4e\x78\x19\x99\xa2\x4f\x1c\x4a\xce\xaf\xc5\x65\xaf\x30\x9e\xc6\x29\x18\xb4\xf0\x3f\xfc\x05\x00\x00\xff\xff\x5e\x00\x81\xc5\x75\x02\x00\x00") func definitionsFieldsTomlBytes() ([]byte, error) { return bindataRead( @@ -118,7 +118,7 @@ func definitionsFieldsToml() (*asset, error) { } info := bindataFileInfo{name: "definitions/fields.toml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x54, 0x7a, 0x1e, 0x27, 0xf4, 0x5, 0xaf, 0xb7, 0xa4, 0x4b, 0xcc, 0x8d, 0x8d, 0xb3, 0x7c, 0xe2, 0x9b, 0x13, 0x2d, 0xf8, 0x97, 0x96, 0x75, 0xe3, 0x4a, 0xc7, 0x7f, 0x4f, 0x21, 0xfd, 0xb1, 0x51}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcc, 0xb, 0x49, 0xd5, 0x55, 0xd0, 0x53, 0xe5, 0xf1, 0x7e, 0x39, 0x5e, 0x69, 0x19, 0x7c, 0x8a, 0xfe, 0xc, 0x85, 0x91, 0xea, 0x1c, 0xef, 0xdc, 0x3f, 0x33, 0x62, 0x5b, 0x2c, 0xfe, 0xb1, 0x7}} return a, nil } @@ -162,7 +162,7 @@ func definitionsInfo_storage_metaToml() (*asset, error) { return a, nil } -var _definitionsOperationsToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x59\xcd\x72\xe3\xb8\x11\xbe\xf3\x29\xba\xb4\x87\xb9\x78\x54\xfb\x02\x73\x98\xb5\x9d\xca\x56\xed\xd8\x5b\x99\xdd\xe4\xe0\x72\x59\x10\xd9\x14\x91\x01\x01\x2e\x00\x4a\xab\x3c\x7d\xaa\xd1\xe0\x3f\x29\xd1\x1e\x27\x97\xe4\xe2\x92\x49\xf4\x0f\x1a\x5f\x7f\xf8\x00\x3e\x89\xaa\x42\x9d\xa1\x7d\x4e\x32\x74\xa9\x95\x95\x97\x46\xc3\x27\xd8\x48\x07\xbe\x40\x90\xda\xa3\xcd\x45\x8a\x90\x1b\x0b\x9f\xc3\x68\xb0\xa8\x84\xc7\x0c\x4c\x85\x56\x90\x81\xdb\x6e\x92\xa4\xf5\xb5\x35\xd5\x36\xb5\x28\x3c\xbe\xf0\xa3\xe7\xa4\x12\x56\x94\x0e\x3e\xc1\xd3\xa6\x12\xbe\xd8\x3c\x27\x16\x5d\xad\x3c\x3f\x32\x9b\x49\xf8\xcd\x26\x39\x49\xa5\x80\xfd\x80\xd0\xc0\xae\xc0\xec\xff\x89\xa9\xdf\x26\xc9\x0f\x3f\xc0\x4f\x58\x88\xa3\x34\x36\x49\x3e\xc2\x6d\x18\x18\x13\xfc\xfa\xd7\xc7\xdf\x7f\xb9\x9b\x18\x8b\xbd\xc2\xe8\x00\x4e\xd2\x17\x50\x19\x27\x43\xc4\x1f\x41\xe8\x0c\x9c\xfc\x17\xc2\x8f\xdb\x05\x6f\x0f\x8f\xbf\x81\x45\x5f\x5b\x4d\x1e\xd1\x5a\x63\x41\x70\x95\xa2\x4f\xfc\x53\x3a\xbf\x4d\x00\x3e\xc2\x57\xb4\x47\x99\x62\x9b\x49\x81\xe9\xb7\x10\x23\x43\x85\x1e\xfb\x56\x32\x67\x43\xb7\x4d\x68\xda\xc3\x3a\x9e\xac\xec\x95\x71\x54\xa4\x50\xa1\x58\x97\xd4\x68\x8f\xda\x83\x37\xd3\x62\x6d\xfa\xf5\x37\x9b\x1b\xd8\x58\xfa\x43\xd3\x1d\xad\x84\xde\x3c\x27\x6c\xf4\x52\x9a\x0c\x29\x08\xbb\x9a\xac\xaf\x29\x4b\xe9\x2f\x26\xc6\x43\xc2\xa4\x73\xa9\xa5\x2b\x7a\x89\x55\xd6\xa4\xe8\xdc\x38\xb3\x0b\xc1\xf7\xca\xa4\xdf\xd6\xe2\xf4\x27\x1a\xbc\x04\xd3\xe8\xa9\x87\xd2\xf0\xe4\x1d\x40\x0a\x1a\x4f\x10\x9c\xcd\xc3\xb4\xc1\x15\xa7\xf7\x3d\xb0\xf2\x85\xf0\x50\x08\x07\x5a\x78\x79\x44\x70\x75\x55\x19\xeb\xc3\xe4\x77\xe6\x88\x36\xe0\x66\x07\x99\x41\xa7\x3f\x78\x78\xb8\xbf\xbf\x23\x68\x30\x0e\xc7\xbe\x1d\x18\x0b\xda\xcc\xc5\x68\x1c\x14\xe2\x88\xd7\x82\xbd\x05\xeb\xbd\xc5\x60\xa8\xc7\xb5\x98\x03\x54\x18\x30\x00\x3a\x17\xfb\x22\xbe\x6f\x60\xb3\x97\xd9\x75\x98\x07\x4f\x63\x78\x98\x72\x2f\xf5\xc5\x9c\xe2\x10\x4e\xc4\x11\x0c\x43\xff\x2d\x36\xde\x5e\x66\x6e\x5d\x70\x25\x9d\xbf\x14\x99\xde\x37\x61\xf7\xa8\x8c\x3e\x50\x49\x7c\x21\xdd\x42\xf4\x61\x09\xf6\xf2\x42\x1a\xa9\xa9\xe4\xda\x5e\xbb\x35\xd5\x79\xdb\x19\x71\xdd\xaa\xf3\xa0\x9d\x9c\x4d\x69\xf2\x99\xf3\x17\x9a\xc8\x54\x67\x2a\xdd\x23\x23\xc5\x58\x28\x6b\xe5\x65\xd5\x51\xb6\xd4\x21\xbc\x63\x7c\xce\x6c\x01\xe4\xc1\x68\x75\x66\x5f\x46\x63\x40\x61\x78\x42\xff\x34\x3d\xd9\x07\xf9\xdd\xe3\xc3\x87\xdf\xda\xf6\x68\x90\xcd\xb9\x80\x36\xfa\x23\x96\x95\x3f\x43\x26\x2d\xa6\xde\xd8\x33\xe5\x15\xde\xe6\x52\xa1\x03\x8b\x69\x6d\x9d\x3c\xa2\x3a\xb3\xdf\xdf\x1d\xda\xd6\x9d\x2c\x2b\x85\x25\x81\xf5\x82\x43\x11\xc8\xbb\x3a\xf7\x7d\xc1\xfe\x4c\x53\x2d\x1d\xaa\x9c\xfd\xde\xb2\x03\x8a\xca\xc8\xef\x1c\xc4\xb6\x8b\x1c\xb2\xbb\xb7\x96\x4b\xf8\xc5\x64\xf8\xb3\x3e\x0a\x25\xb3\xdd\xb6\x29\xcf\x65\xd2\xc9\x9c\x1f\x12\xc3\x7b\xb3\xce\x24\xc0\x7f\x9e\x79\x7a\x21\x7b\xec\xf3\x11\x3e\x83\xab\x53\xda\x84\xf2\x3a\x82\xcf\x54\xbc\x4d\x80\x2b\x4c\xad\x32\xd8\x13\xd9\xd0\x12\x7a\xbc\x81\x53\x21\xd3\x02\x4a\x14\xda\x8d\xdc\x7e\x70\x2d\x27\x51\xe8\x12\xbd\xc8\x84\x17\x3d\x2f\x01\xb5\xa2\x44\x2a\xb1\xb3\x69\x0b\x44\xa6\x40\x5a\xc9\x95\xbd\x76\xd7\x2c\xfa\xb6\x35\xec\x6d\x63\x99\x9c\xba\x99\xee\x4f\x99\xb4\xb3\x04\xb1\xb0\xe5\x25\x4f\x39\xfa\xb4\x58\x9b\xe1\x5f\x68\x70\xc8\x2e\x9a\x51\x7e\xe1\xe7\x74\x7f\xbd\x81\x4d\x6d\xd5\x32\x23\x04\x33\xc8\xad\x29\x41\xc0\x41\x1e\x51\x43\x6d\x15\x01\x8a\xcc\xa7\xfd\x1f\x62\xbf\x72\x5b\x9d\x42\x81\xa3\xb6\x9a\x61\x15\x18\xde\x02\x04\x8b\x7f\xd4\xd2\x4a\x7d\xe0\x19\xd2\xab\xda\xaa\x06\x14\x25\xa1\x7b\x5d\xc9\xbf\x98\x23\x6e\x5b\x1b\xaa\x37\xfd\x78\x35\xff\x92\x51\xb7\x75\x5d\x25\x5b\x8a\xca\xd4\x5a\xf2\xaf\x37\x93\x2d\x07\x9e\xe3\xc6\x8b\x94\xba\x6c\x36\x65\xcf\x2f\x3c\xf6\x7b\xd8\x33\xb8\xf8\x3f\x7b\xce\xb6\x0c\x23\xa0\xed\x98\xe8\xef\xbf\x44\x9f\xac\x12\x84\xf5\xab\xfb\xa5\x31\x58\x3a\x20\xf4\x3c\xf6\xd8\xb5\x7d\xfa\x5e\x07\x85\xd6\xe1\xd2\x61\xb6\x4b\xf4\xd5\x9c\x36\x29\x4d\x27\xb0\x7b\xf3\x58\x29\xb2\xbb\x44\xaf\x08\x6d\xa9\x33\xfc\x73\x22\xb5\x6f\x60\x43\xc6\x53\xb9\x19\x9e\xce\xd4\x3b\x82\xe6\x5a\xa6\xcd\xb8\x7e\x86\x50\x57\xca\x88\x2c\x8a\x2a\xed\xbc\xad\x53\xdf\xa9\xca\x99\x09\x90\xd5\x8c\x22\x5f\xc8\x2d\x88\xf2\x2b\x79\x05\x61\x1e\xdc\x8e\x75\xf9\x62\x21\x87\x25\xab\x66\xa4\x79\x93\x4f\x25\x0e\x6b\x71\xfe\xab\x38\xe0\x0c\xc4\x63\x2b\x36\x64\x60\x85\xce\x4c\xc9\xcb\xbe\x6d\x23\xf4\x70\x4f\xff\xbf\x17\xe4\xc9\xd7\x95\x1b\x9c\x90\xf5\x1b\xf1\xde\xa6\xce\x48\xe7\xcc\x57\x81\xdc\x55\x98\xca\x5c\xa6\x60\xf2\xdc\xe1\x55\xa0\xf3\xa8\xeb\x87\x4a\xca\x80\x12\xb3\x28\xd6\x4b\xa8\xbf\xd1\xe0\x6d\xcf\x8c\x66\x14\x7e\xce\x4f\xa6\xb2\xe6\x28\x33\x2a\xf1\x49\x9c\x1b\xa6\x4d\x85\x86\x60\xd3\xab\xd6\x55\xbd\xc7\x6a\x2c\x79\x8a\x9b\xfe\x34\x5f\xf2\x5a\x0a\xa9\xbd\x90\xba\xd7\x74\xce\x1b\x4b\xcb\x16\xed\x98\x45\x1b\x27\x1d\x94\x56\x88\xd3\xe8\xc9\x82\xd4\xce\x0b\x9d\xe2\x30\x67\x2d\xca\xf1\x8d\x15\x59\xe0\x20\x6b\x0a\xc8\x3b\xd8\x7c\xc0\xb8\xbb\x89\x95\xc1\x86\x8e\x0f\xb8\xd0\xf5\x07\xf4\x20\x20\xe8\x85\xa9\xe3\xb0\xae\x8d\x94\x7a\xdb\x8c\x88\x55\x2e\xf0\x8d\x50\x6a\x1a\xd6\x41\xad\x33\xb4\x4c\x3e\x5d\xf8\x61\x30\xc9\xa1\xa2\xed\x3a\x88\x8e\x16\x9c\xd7\x3b\x7a\xe8\x97\x7f\x0a\xb7\x4a\x48\x1b\xbb\xaa\x6b\x95\x65\xf6\x68\xd6\xaa\x95\xa5\x41\x2b\x2f\x8a\xd2\x3b\x1e\x1e\x44\x68\xd6\xfc\x7e\xb3\x30\xb5\xc8\x1a\x53\xa9\x8b\x42\x94\x87\xbd\xd0\x0a\x0c\x84\x67\x9b\x8e\x74\x20\x33\x2c\x2b\x43\x6c\x13\x03\x77\xe2\xa9\x99\xa2\x3a\x89\xb3\x6b\xe8\x4e\x4b\xc5\x7c\xc7\xc3\xa3\xa3\x48\x8b\x1a\x8f\x68\x5b\xc5\xca\x3b\xdb\x83\xf1\xf7\xc4\x85\xbb\xfe\xf8\xe1\xb4\xe6\xef\xfe\x5a\x09\xc9\x14\xda\x5f\xc5\x46\x8a\xcd\xc3\x2e\xc6\x4f\x6b\x6b\xa9\x0a\x2d\xf8\x1a\xab\x11\xd0\xe8\xf1\xe6\x39\x51\x26\x15\x0a\x3e\x81\xb7\x35\x8e\xc2\x31\xc2\x2f\x41\x86\x77\x5f\x06\xcc\x60\xfb\x91\xcb\x08\x8a\x69\x72\x93\x74\x3c\x3f\x7f\x82\x1c\xdd\xda\x37\x40\xc8\x30\x17\xb5\xf2\xb0\xfb\x45\xba\x70\x30\x08\x27\x82\xd1\xe0\x0e\x10\xed\xb0\x3b\x69\x77\xe1\x43\x83\xa9\x7d\x28\x3c\x2f\x41\xd0\xdf\x7f\x97\xd6\xd7\x42\xd1\x90\xbe\xb3\xe1\x92\xed\xbe\x7a\xe1\x77\x44\xe9\x8a\x5a\x90\x3d\xef\xe6\xd6\xca\xa2\x58\xb8\x86\xa7\x37\x21\x38\x9d\x7e\x3e\x38\x88\x6b\x33\x73\x18\x3f\x0d\x8a\x3d\xda\xeb\x48\xde\x99\x97\x54\x28\xb5\x17\xe9\xb7\x99\xad\x6f\x98\x4f\xc3\xf8\xd7\x75\xc3\x12\x23\x0c\x90\xb2\x46\x5c\xf4\x3e\xec\x50\xbd\x85\x3e\x83\xa8\x24\xa4\xa1\x7f\xe7\xc5\x46\x5f\x68\x38\xd4\x59\x30\xfa\xfc\xeb\xcf\xd1\x68\x3c\x4c\xa4\x29\x56\x1e\xba\x03\x22\x50\xf2\x24\x49\x62\x6c\x4a\x7d\x6e\x75\x9c\x17\x57\xa0\x3d\x9c\xfb\x4a\x6d\x45\x6e\x41\x04\x2c\x13\x5a\x68\x0b\x92\x3a\x37\x60\xf2\xde\x1d\xf4\x14\xe4\x64\x75\x75\x46\x85\xd4\xe3\x03\xec\x6d\x30\x09\x27\xca\x4c\xe6\x39\x86\xbe\x6f\x61\x1f\xd5\x25\x81\xbb\x7b\x3b\xa8\xcb\xe2\x77\x31\x99\xc7\x36\x95\xfa\xd0\xcf\x85\x24\xb3\xf0\x69\x31\x53\xd1\xa0\xe0\x66\xaf\x94\xfa\x9f\xb6\xba\xfa\x5e\xc6\xee\x42\x7d\x59\x26\x86\xd3\x28\x5f\xec\x87\x1e\x9a\x56\xf4\x1f\x61\xdc\xff\xf8\xf7\x9c\xd1\x9d\x00\xd7\xee\x75\x97\x02\x6f\xba\x10\x60\x46\xc7\x8c\xf8\x91\x83\x5a\xfc\xa3\x46\x17\xb7\xb4\x7f\x07\x00\x00\xff\xff\xf0\x07\xb8\x19\xe2\x1e\x00\x00") +var _definitionsOperationsToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\xcd\x92\xdb\x36\x12\xbe\xeb\x29\xba\x94\x83\x2f\x33\xaa\xbc\x80\x0f\xce\x8c\xb7\xd6\x55\xfe\x49\xad\x93\xcd\xc1\x35\x65\x41\x64\x53\xc4\x1a\x04\x18\x00\x94\xa2\x7d\xfa\xad\x46\x83\x24\xf8\x27\xd1\x93\xd9\xbd\x6c\x2e\x2e\x0d\x89\xfe\x41\xf7\xd7\xdd\x1f\x40\x7f\x11\x75\x8d\x3a\x47\xfb\xb4\xc9\xd1\x65\x56\xd6\x5e\x1a\x0d\xaf\x61\x2b\x1d\xf8\x12\x41\x6a\x8f\xb6\x10\x19\x42\x61\x2c\xbc\x09\xab\xc1\xa2\x12\x1e\x73\x30\x35\x5a\x41\x02\x6e\xb7\xdd\x6c\x3a\x5d\x3b\x53\xef\x32\x8b\xc2\xe3\x57\x7e\xf4\xb4\xa9\x85\x15\x95\x83\xd7\xf0\x65\x5b\x0b\x5f\x6e\x9f\x36\x16\x5d\xa3\x3c\x3f\x32\xdb\x89\xf9\xed\x76\x73\x96\x4a\x01\xeb\x01\xa1\x81\x55\x81\x39\xfc\x0b\x33\xbf\xdb\x6c\x7e\xf8\x01\x7e\xc2\x52\x9c\xa4\xb1\x9b\xcd\x3d\x3c\x84\x85\xd1\xc1\xcf\x7f\xff\xf4\xeb\xfb\xc7\x89\xb0\x38\x28\x8c\x0a\xe0\x2c\x7d\x09\xb5\x71\x32\x58\xfc\x11\x84\xce\xc1\xc9\x7f\x23\xfc\xb8\x5b\xd0\xf6\xf1\xd3\x2f\x60\xd1\x37\x56\x93\x46\xb4\xd6\x58\x10\x1c\xa5\xa8\x13\xff\x90\xce\xef\x36\x00\xf7\xf0\x19\xed\x49\x66\xd8\x79\x52\x62\xf6\x2d\xd8\xc8\x51\xa1\xc7\x54\x4a\x16\x2c\xe8\x76\x1b\xda\xf6\x30\x8e\x67\x2b\x93\x30\x8e\x82\x14\x22\x14\xe3\x92\x19\xed\x51\x7b\xf0\x66\x1a\xac\x6d\x1a\x7f\xb3\xbd\x83\xad\xa5\x7f\x68\xbb\xa3\x4c\xe8\xed\xd3\x86\x85\xbe\x56\x26\x47\x32\xc2\xaa\x26\xf9\x35\x55\x25\xfd\x55\xc7\x78\x49\xd8\x74\x21\xb5\x74\x65\xe2\x58\x6d\x4d\x86\xce\x8d\x3d\xbb\x62\xfc\xa0\x4c\xf6\x6d\x2d\x4e\x7f\xa2\xc5\x4b\x30\x8d\x9a\x12\x94\x86\x27\x2f\x00\x52\xd0\x78\x86\xa0\x6c\x1e\xa6\x2d\xae\xd8\xbd\x3f\x03\x2b\x5f\x0a\x0f\xa5\x70\xa0\x85\x97\x27\x04\xd7\xd4\xb5\xb1\x3e\x6c\x7e\x6f\x4e\x68\x03\x6e\xf6\x90\x1b\x74\xfa\x95\x87\x8f\x6f\xdf\x3e\x12\x34\x18\x87\x63\xdd\x0e\x8c\x05\x6d\xe6\x6c\xb4\x0a\x4a\x71\xc2\x5b\xc6\x9e\x83\xf5\x24\x19\x0c\xf5\x98\x8b\x39\x40\x85\x05\x03\xa0\x73\xb0\xaf\xe2\xfb\x0e\xb6\x07\x99\xdf\x86\x79\xd0\x34\x86\x87\xa9\x0e\x52\x5f\xf5\x29\x2e\x61\x47\x1c\xc1\x30\xd4\xdf\x62\xe1\x1d\x64\xee\xd6\x19\x57\xd2\xf9\x6b\x96\xe9\x7d\x6b\xf6\x80\xca\xe8\x23\x85\xc4\x97\xd2\x2d\x58\x1f\x86\xe0\x20\xaf\xb8\x91\x99\x5a\xae\xad\xb5\x07\x53\x5f\x76\xbd\x10\xc7\xad\xbe\x0c\xca\xc9\xd9\x8c\x36\x9f\x3b\x7f\xa5\x88\x4c\x7d\xa1\xd0\x7d\x62\xa4\x18\x0b\x55\xa3\xbc\xac\xfb\x96\x2d\x75\x30\xef\x18\x9f\x33\x23\x80\x34\x18\xad\x2e\xac\xcb\x68\x0c\x28\x0c\x4f\xe8\x8f\xb6\x26\x53\x90\x3f\x7e\xfa\xf8\xea\x97\xae\x3c\x5a\x64\xb3\x2f\xa0\x8d\xbe\xc7\xaa\xf6\x17\xc8\xa5\xc5\xcc\x1b\x7b\x21\xbf\xc2\xdb\x42\x2a\x74\x60\x31\x6b\xac\x93\x27\x54\x17\xd6\xfb\xab\x43\xdb\xa9\x93\x55\xad\xb0\x22\xb0\x5e\x51\x28\x42\xf3\xae\x2f\xa9\x2e\x38\x5c\x68\xab\x95\x43\x55\xb0\xde\x07\x56\x40\x56\x19\xf9\xbd\x82\x58\x76\xb1\x87\xec\xdf\x5a\xcb\x21\xfc\x60\x72\x7c\xa7\x4f\x42\xc9\x7c\xbf\x6b\xc3\x73\xbd\xe9\xe4\xce\x0f\x1b\xc3\x4b\x77\x9d\x89\x81\xff\x7e\xe7\x49\x4c\x26\xdd\xe7\x1e\xde\x80\x6b\x32\x1a\x42\x45\x13\xc1\x67\x6a\x1e\x13\xe0\x4a\xd3\xa8\x1c\x0e\xd4\x6c\x28\x85\x1e\xef\xe0\x5c\xca\xac\x84\x0a\x85\x76\x23\xb5\xaf\x5c\xd7\x93\xc8\x74\x85\x5e\xe4\xc2\x8b\x44\x4b\x40\xad\xa8\x90\x42\xec\x6c\xd6\x01\x91\x5b\x20\x65\x72\x65\xad\x3d\xb6\x49\xdf\x75\x82\xc9\x18\xcb\xe5\x54\xcd\x74\x3e\xe5\xd2\xce\x36\x88\x85\x91\xb7\xf9\x52\xa0\xcf\xca\xb5\x1e\xfe\x8d\x16\x07\xef\xa2\x18\xf9\x17\x7e\x4e\xe7\xeb\x1d\x6c\x1b\xab\x96\x3b\x42\x10\x83\xc2\x9a\x0a\x04\x1c\xe5\x09\x35\x34\x56\x11\xa0\x48\x7c\x5a\xff\xc1\xf6\x77\x8e\xd5\x29\x14\xd8\x6a\xc7\x19\x56\x81\xe1\x39\x40\xb0\xf8\x7b\x23\xad\xd4\x47\xde\x21\xbd\x6a\xac\x6a\x41\x51\x11\xba\xd7\x85\xfc\x83\x39\xe1\xae\x93\xa1\x78\xd3\x8f\xef\xee\xbf\x24\xd4\x8f\xae\x9b\xcd\x96\xac\x72\x6b\xad\xf8\xd7\xb3\x9b\x2d\x1b\x9e\xeb\x8d\x57\x5b\xea\xb2\xd8\xb4\x7b\x7e\xe0\xb5\x7f\xa6\x7b\x06\x15\x7f\x75\xcf\xd9\x92\x61\x04\x74\x15\x13\xf5\xfd\x8f\xda\x27\xb3\x04\x61\xfd\xea\x7a\x69\x05\x96\x0e\x08\x89\xc6\xa4\xbb\x76\x4f\x5f\xea\xa0\xd0\x29\x5c\x3a\xcc\xf6\x8e\x7e\x77\x4f\x9b\x84\xa6\x27\xd8\xc9\x3e\x56\x92\xec\xde\xd1\x1b\x44\x5b\xea\x1c\xff\x98\x50\xed\x3b\xd8\x92\xf0\x94\x6e\x86\xa7\x33\xf1\x8e\xa0\xb9\xe5\x69\xbb\x2e\xf5\x10\x9a\x5a\x19\x91\x47\x52\xa5\x9d\xb7\x4d\xe6\x7b\x56\x39\xb3\x01\x92\x9a\x61\xe4\x0b\xbe\x05\x52\x7e\xc3\xaf\x40\xcc\x83\xda\x31\x2f\x5f\x0c\xe4\x30\x64\xf5\x0c\x35\x6f\xfd\xa9\xc5\x71\x2d\xce\x7f\x16\x47\x9c\x81\x78\x2c\xc5\xb6\x19\x58\xa1\x73\x53\x71\xda\x77\x9d\x85\x04\xf7\xf4\xf7\x4b\x41\x9e\x74\xdd\xb8\xc1\x09\x5e\x3f\x13\xef\x9d\xeb\x8c\x74\xf6\x7c\x15\xc8\x5d\x8d\x99\x2c\x64\x06\xa6\x28\x1c\xde\x04\x3a\xaf\xba\x7d\xa8\x24\x0f\xc8\x31\x8b\x62\x3d\x85\xfa\x07\x2d\xde\x25\x62\xb4\xa3\xf0\x73\x7e\x33\xb5\x35\x27\x99\x53\x88\xcf\xe2\xd2\x76\xda\x4c\x68\x08\x32\x49\xb4\x6e\xf2\x3d\x66\x63\x9b\x2f\x71\xe8\x4f\xfd\x25\xad\x95\x90\xda\x0b\xa9\x93\xa2\x73\xde\x58\x4a\x5b\x94\xe3\x2e\xda\x2a\xe9\xa1\xb4\x82\x9c\x46\x4d\x16\xa4\x76\x5e\xe8\x0c\x87\x3e\x6b\x51\x8d\x6f\xac\x48\x02\x07\x5e\x93\x41\x9e\x60\xf3\x06\xe3\x74\x13\x2b\x8d\x0d\x15\x1f\x71\xa1\xea\x8f\xe8\x41\x40\xe0\x0b\x53\xc5\x21\xaf\x2d\x95\x7a\xde\x8e\xa8\xab\x5c\xe9\x37\x42\xa9\xa9\x59\x07\x8d\xce\xd1\x72\xf3\xe9\xcd\x0f\x8d\x49\x36\x15\x65\xd7\x41\x74\x94\x70\xce\x77\xd4\x90\x86\x7f\x0a\xb7\x5a\x48\x1b\xab\xaa\x2f\x95\xe5\xee\xd1\xe6\xaa\xa3\xa5\x81\x2b\x2f\x92\xd2\x47\x5e\x1e\x48\x68\xde\xfe\x7e\x36\x31\xb5\xc8\x1c\x53\xa9\xab\x44\x94\x97\x7d\xa5\x0c\x0c\x88\x67\xe7\x8e\x74\x20\x73\xac\x6a\x43\xdd\x26\x1a\xee\xc9\x53\xbb\x45\x75\x16\x17\xd7\xb6\x3b\x2d\x15\xf7\x3b\x5e\x1e\x15\xc5\xb6\xa8\xf1\x84\xb6\x63\xac\x3c\xd9\x3e\x1a\xff\x96\x7a\xe1\x3e\x5d\x3f\xdc\xd6\xfc\xdd\x5f\x47\x21\xb9\x85\xa6\x59\x6c\xa9\xd8\x3c\xec\xa2\xfd\xac\xb1\x96\xa2\xd0\x81\xaf\x95\x1a\x01\x8d\x1e\x6f\x9f\x36\xca\x64\x42\xc1\x6b\xf0\xb6\xc1\x91\x39\x46\xf8\x35\xc8\xf0\xf4\x65\xc0\x0c\xc6\x8f\x5c\x46\x50\x74\x93\x8b\xa4\xef\xf3\xf3\x27\xc8\xd1\xad\x7d\x0b\x84\x1c\x0b\xd1\x28\x0f\xfb\xf7\xd2\x85\x83\x41\x38\x11\x8c\x16\xf7\x80\xe8\x96\x3d\x4a\xbb\x0f\x1f\x1a\x4c\xe3\x43\xe0\x39\x05\x81\x7f\xff\x53\x5a\xdf\x08\x45\x4b\x52\x65\xc3\x94\xed\x3f\x7b\xe1\xf7\xd4\xd2\x15\x95\x20\x6b\xde\xcf\xe5\xca\xa2\x58\xb8\x86\xa7\x37\xc1\x38\x9d\x7e\x5e\x39\x88\xb9\x99\x39\x8c\x9f\x07\xc1\x1e\xcd\x3a\xa2\x77\xe6\x6b\x26\x94\x3a\x88\xec\xdb\xcc\xe8\x1b\xfa\xd3\x76\xfc\xdb\xbc\x61\xa9\x23\x0c\x90\xb2\x86\x5c\x24\x1f\x76\x28\xde\x42\x5f\x40\xd4\x12\xb2\x50\xbf\xf3\x64\x23\x25\x1a\x0e\x75\x1e\x84\xde\xfc\xfc\x2e\x0a\x8d\x97\x89\x2c\xc3\xda\x43\x7f\x40\x04\x72\x9e\x28\x49\xb4\x4d\xae\xcf\x65\xc7\x79\x71\x03\xda\xc3\xbd\xaf\xe4\x56\xa4\x16\x44\xc0\x32\xa1\x85\x46\x90\xd4\x85\x01\x53\x24\x77\xd0\x53\x90\x93\xd4\xcd\x1d\x95\x52\x8f\x0f\xb0\x0f\x41\x24\x9c\x28\x73\x59\x14\x18\xea\xbe\x83\x7d\x64\x97\x04\xee\xfe\xed\x20\x2e\x8b\xdf\xc5\x64\x11\xcb\x54\xea\x63\xea\x0b\x51\x66\xe1\xb3\x72\x26\xa2\x81\xc1\xcd\x5e\x29\xa5\x9f\xb6\xfa\xf8\x5e\xc7\xee\x42\x7c\x99\x26\x86\xd3\x28\x5f\xec\x87\x1a\x9a\x46\xf4\xb7\xb0\xee\xff\xfc\x7b\xce\xe8\x4e\x80\x63\xf7\x7d\x97\x02\xcf\xba\x10\xe0\x8e\x8e\x39\xf5\x47\x36\x6a\xf1\xf7\x06\x5d\x37\xd2\x94\xd4\xab\x3f\x1c\xd2\xda\x5e\x26\x39\x05\xd1\x83\x59\xb8\x79\x61\x8f\x93\xa3\xc0\x7c\xcd\xfe\x36\x68\x59\xa4\x31\xa9\xd1\x01\xa0\xf6\xa4\x7d\x1f\xb6\xbf\x67\x03\xfb\x58\x7d\x87\x78\xa4\xa3\xbc\x11\xb0\x0e\xce\xa8\xc6\x63\x9c\x67\xf7\xf0\xae\xe8\x25\x38\x33\x77\xb1\x89\xbd\x27\x7b\xe7\x25\x17\xc0\xf0\x7d\x1f\xcb\xb6\x9a\xd8\x0d\xc2\x0c\xc1\x89\x15\xde\x85\x75\x63\x9d\x85\x90\xea\x2e\x38\xac\xcd\x40\x6f\x78\x4b\x59\x0f\x02\xa1\xc3\x9e\x4b\xb4\xc8\x80\x49\x57\x26\x1b\xa4\xea\xe1\x8c\xc6\x09\x48\xc8\x8c\xb3\xef\x3e\xb5\xfd\x30\x1a\xbd\x27\x9e\xaa\x21\x5d\x50\xa0\xf0\x8d\x45\x38\x97\xa8\x5b\xce\xd8\x8d\x87\x21\xf6\x7b\x82\xe7\x5a\xa4\xa2\x0e\xff\x5d\x20\x70\xe7\x56\x53\xcf\xef\x4e\x18\x4f\x9d\xff\x09\x00\x00\xff\xff\x28\x6c\xc2\x39\x42\x21\x00\x00") func definitionsOperationsTomlBytes() ([]byte, error) { return bindataRead( @@ -178,7 +178,7 @@ func definitionsOperationsToml() (*asset, error) { } info := bindataFileInfo{name: "definitions/operations.toml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf7, 0x5b, 0xd4, 0xee, 0xf7, 0x69, 0x44, 0xc5, 0x14, 0xc0, 0xb0, 0xf6, 0xae, 0x14, 0x79, 0x17, 0x46, 0xe6, 0xad, 0xc7, 0xfd, 0x65, 0xf3, 0xc8, 0xe9, 0x6d, 0x7, 0xa9, 0x22, 0x11, 0xa3, 0xa7}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1c, 0xb3, 0x62, 0x71, 0x1d, 0x65, 0x9d, 0x49, 0x40, 0x6f, 0xfe, 0xb, 0x34, 0x3, 0xb6, 0x12, 0x25, 0x5b, 0xc1, 0xff, 0xfc, 0x31, 0x57, 0x44, 0xa, 0x5b, 0xea, 0x6b, 0x60, 0xdd, 0xca, 0xc7}} return a, nil } diff --git a/definitions/features.toml b/definitions/features.toml index 2239ddb75..6498b9493 100644 --- a/definitions/features.toml +++ b/definitions/features.toml @@ -26,3 +26,14 @@ virtual_object_metadata feature is designed for a service that doesn't have nati This feature was introduced in GSP-109. """ + +[virtual_link] +description = """ +virtual_link feature is designed for a service that doesn't have native support for link. + +- If this feature is enabled, the service will run compatible mode: create link via native methods, but allow read link from old-style link object. +- If this feature is not enabled, the service will run in native as other service. + +This feature was introduced in GSP-86. +""" + diff --git a/definitions/fields.toml b/definitions/fields.toml index 0bbadb56e..5d6269118 100644 --- a/definitions/fields.toml +++ b/definitions/fields.toml @@ -69,3 +69,6 @@ type = "string" [w] type = "io.Writer" + +[target] +type = "string" diff --git a/definitions/operations.toml b/definitions/operations.toml index b0cc6e566..d50fb6b13 100644 --- a/definitions/operations.toml +++ b/definitions/operations.toml @@ -286,3 +286,22 @@ 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 + +- `path` and `target` COULD be relative or absolute path. +- If `target` exists, CreateLink will create a link object on the target. +- If `path` does not exist, the CreateLink will fail, and no link object will be created anywhere. +- A link object COULD be returned in `Stat` or `List`. +- CreateLink COULD implement virtual_link feature when service without native support. + - Users SHOULD enable this feature by themselves. +""" diff --git a/types/operation.generated.go b/types/operation.generated.go index 5e85ad5cf..20d7baba3 100644 --- a/types/operation.generated.go +++ b/types/operation.generated.go @@ -274,6 +274,53 @@ func (s UnimplementedFetcher) FetchWithContext(ctx context.Context, path string, return } +// Linker is the interface for link +type Linker interface { + + // CreateLink Will create a link object. + // + // # Behavior + // + // - `path` and `target` COULD be relative or absolute path. + // - If `target` exists, CreateLink will create a link object on the target. + // - If `path` does not exist, the CreateLink will fail, and no link object will be created anywhere. + // - A link object COULD be returned in `Stat` or `List`. + // - CreateLink COULD implement virtual_link feature when service without native support. + // - Users SHOULD enable this feature by themselves. + CreateLink(path string, target string, pairs ...Pair) (o *Object, err error) + // CreateLinkWithContext Will create a link object. + // + // # Behavior + // + // - `path` and `target` COULD be relative or absolute path. + // - If `target` exists, CreateLink will create a link object on the target. + // - If `path` does not exist, the CreateLink will fail, and no link object will be created anywhere. + // - A link object COULD be returned in `Stat` or `List`. + // - CreateLink COULD implement virtual_link feature when service without native support. + // - Users SHOULD enable this feature by themselves. + CreateLinkWithContext(ctx context.Context, path string, target string, pairs ...Pair) (o *Object, err error) + + mustEmbedUnimplementedLinker() +} + +// UnimplementedLinker must be embedded to have forward compatible implementations. +type UnimplementedLinker struct{} + +func (s UnimplementedLinker) mustEmbedUnimplementedLinker() {} + +func (s UnimplementedLinker) String() string { + return "UnimplementedLinker" +} + +func (s UnimplementedLinker) CreateLink(path string, target string, pairs ...Pair) (o *Object, err error) { + err = NewOperationNotImplementedError("create_link") + return +} +func (s UnimplementedLinker) CreateLinkWithContext(ctx context.Context, path string, target string, pairs ...Pair) (o *Object, err error) { + err = NewOperationNotImplementedError("create_link") + return +} + // Mover is the interface for Move. type Mover interface {