Update dependencies
This commit is contained in:
parent
bb5b580561
commit
dc9727bfef
2
go.mod
2
go.mod
@ -9,7 +9,7 @@ require (
|
|||||||
github.com/atrox/haikunatorgo/v2 v2.0.1
|
github.com/atrox/haikunatorgo/v2 v2.0.1
|
||||||
github.com/caddyserver/certmagic v0.19.0
|
github.com/caddyserver/certmagic v0.19.0
|
||||||
github.com/casbin/casbin/v2 v2.72.0
|
github.com/casbin/casbin/v2 v2.72.0
|
||||||
github.com/datarhei/core-client-go/v16 v16.11.1-0.20230721094901-3748188282ea
|
github.com/datarhei/core-client-go/v16 v16.11.1-0.20230725151052-26252f73d23b
|
||||||
github.com/datarhei/gosrt v0.5.2
|
github.com/datarhei/gosrt v0.5.2
|
||||||
github.com/datarhei/joy4 v0.0.0-20230505074825-fde05957445a
|
github.com/datarhei/joy4 v0.0.0-20230505074825-fde05957445a
|
||||||
github.com/fujiwara/shapeio v1.0.0
|
github.com/fujiwara/shapeio v1.0.0
|
||||||
|
|||||||
2
go.sum
2
go.sum
@ -56,6 +56,8 @@ github.com/datarhei/core-client-go/v16 v16.11.1-0.20230721082756-e22b6cdac41f h1
|
|||||||
github.com/datarhei/core-client-go/v16 v16.11.1-0.20230721082756-e22b6cdac41f/go.mod h1:3eKfwhPKoW7faTn+luShRVNMqcIskvlIKjRJ7ShjyL8=
|
github.com/datarhei/core-client-go/v16 v16.11.1-0.20230721082756-e22b6cdac41f/go.mod h1:3eKfwhPKoW7faTn+luShRVNMqcIskvlIKjRJ7ShjyL8=
|
||||||
github.com/datarhei/core-client-go/v16 v16.11.1-0.20230721094901-3748188282ea h1:kkT23Ev6fn3tPCVJMZt+QALN8w6Hatv6tntZRYPjK/M=
|
github.com/datarhei/core-client-go/v16 v16.11.1-0.20230721094901-3748188282ea h1:kkT23Ev6fn3tPCVJMZt+QALN8w6Hatv6tntZRYPjK/M=
|
||||||
github.com/datarhei/core-client-go/v16 v16.11.1-0.20230721094901-3748188282ea/go.mod h1:3eKfwhPKoW7faTn+luShRVNMqcIskvlIKjRJ7ShjyL8=
|
github.com/datarhei/core-client-go/v16 v16.11.1-0.20230721094901-3748188282ea/go.mod h1:3eKfwhPKoW7faTn+luShRVNMqcIskvlIKjRJ7ShjyL8=
|
||||||
|
github.com/datarhei/core-client-go/v16 v16.11.1-0.20230725151052-26252f73d23b h1:b8TWP11Tx9QwZ8lEPoyv9L2hfkH8YaUkAc0bGxRLYmg=
|
||||||
|
github.com/datarhei/core-client-go/v16 v16.11.1-0.20230725151052-26252f73d23b/go.mod h1:3eKfwhPKoW7faTn+luShRVNMqcIskvlIKjRJ7ShjyL8=
|
||||||
github.com/datarhei/gosrt v0.5.2 h1:eagqZwEIiGPNJW0rLep3gwceObyaZ17+iKRc+l4VEpc=
|
github.com/datarhei/gosrt v0.5.2 h1:eagqZwEIiGPNJW0rLep3gwceObyaZ17+iKRc+l4VEpc=
|
||||||
github.com/datarhei/gosrt v0.5.2/go.mod h1:0308GQhAu5hxe2KYdbss901aKceSSKXnwCr8Vs++eiw=
|
github.com/datarhei/gosrt v0.5.2/go.mod h1:0308GQhAu5hxe2KYdbss901aKceSSKXnwCr8Vs++eiw=
|
||||||
github.com/datarhei/joy4 v0.0.0-20230505074825-fde05957445a h1:Tf4DSHY1xruBglr+yYP5Wct7czM86GKMYgbXH8a7OFo=
|
github.com/datarhei/joy4 v0.0.0-20230505074825-fde05957445a h1:Tf4DSHY1xruBglr+yYP5Wct7czM86GKMYgbXH8a7OFo=
|
||||||
|
|||||||
1
vendor/github.com/datarhei/core-client-go/v16/api/cluster.go
generated
vendored
1
vendor/github.com/datarhei/core-client-go/v16/api/cluster.go
generated
vendored
@ -36,6 +36,7 @@ type ClusterNodeResources struct {
|
|||||||
CPULimit float64 `json:"cpu_limit"` // percent 0-100*npcu
|
CPULimit float64 `json:"cpu_limit"` // percent 0-100*npcu
|
||||||
Mem uint64 `json:"memory_used_bytes"` // bytes
|
Mem uint64 `json:"memory_used_bytes"` // bytes
|
||||||
MemLimit uint64 `json:"memory_limit_bytes"` // bytes
|
MemLimit uint64 `json:"memory_limit_bytes"` // bytes
|
||||||
|
Error string `json:"error"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ClusterRaft struct {
|
type ClusterRaft struct {
|
||||||
|
|||||||
9
vendor/github.com/datarhei/core-client-go/v16/api/fs.go
generated
vendored
9
vendor/github.com/datarhei/core-client-go/v16/api/fs.go
generated
vendored
@ -5,6 +5,7 @@ type FileInfo struct {
|
|||||||
Name string `json:"name" jsonschema:"minLength=1"`
|
Name string `json:"name" jsonschema:"minLength=1"`
|
||||||
Size int64 `json:"size_bytes" jsonschema:"minimum=0"`
|
Size int64 `json:"size_bytes" jsonschema:"minimum=0"`
|
||||||
LastMod int64 `json:"last_modified" jsonschema:"minimum=0"`
|
LastMod int64 `json:"last_modified" jsonschema:"minimum=0"`
|
||||||
|
CoreID string `json:"core_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type FilesystemInfo struct {
|
type FilesystemInfo struct {
|
||||||
@ -12,3 +13,11 @@ type FilesystemInfo struct {
|
|||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Mount string `json:"mount"`
|
Mount string `json:"mount"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FilesystemOperation represents a file operation on one or more filesystems
|
||||||
|
type FilesystemOperation struct {
|
||||||
|
Operation string `json:"operation" validate:"required" enums:"copy,move" jsonschema:"enum=copy,enum=move"`
|
||||||
|
Source string `json:"source"`
|
||||||
|
Target string `json:"target"`
|
||||||
|
RateLimit uint64 `json:"bandwidth_limit_kbit"` // kbit/s
|
||||||
|
}
|
||||||
|
|||||||
1
vendor/github.com/datarhei/core-client-go/v16/api/session.go
generated
vendored
1
vendor/github.com/datarhei/core-client-go/v16/api/session.go
generated
vendored
@ -63,5 +63,6 @@ type SessionTokenRequest struct {
|
|||||||
Match string `json:"match"`
|
Match string `json:"match"`
|
||||||
Remote []string `json:"remote"`
|
Remote []string `json:"remote"`
|
||||||
Extra map[string]interface{} `json:"extra"`
|
Extra map[string]interface{} `json:"extra"`
|
||||||
|
TTL int64 `json:"ttl_sec"` // seconds
|
||||||
Token string `json:"token,omitempty"`
|
Token string `json:"token,omitempty"`
|
||||||
}
|
}
|
||||||
|
|||||||
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -78,7 +78,7 @@ github.com/cespare/xxhash/v2
|
|||||||
# github.com/cpuguy83/go-md2man/v2 v2.0.2
|
# github.com/cpuguy83/go-md2man/v2 v2.0.2
|
||||||
## explicit; go 1.11
|
## explicit; go 1.11
|
||||||
github.com/cpuguy83/go-md2man/v2/md2man
|
github.com/cpuguy83/go-md2man/v2/md2man
|
||||||
# github.com/datarhei/core-client-go/v16 v16.11.1-0.20230721094901-3748188282ea
|
# github.com/datarhei/core-client-go/v16 v16.11.1-0.20230725151052-26252f73d23b
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
github.com/datarhei/core-client-go/v16
|
github.com/datarhei/core-client-go/v16
|
||||||
github.com/datarhei/core-client-go/v16/api
|
github.com/datarhei/core-client-go/v16/api
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user