Pierre Prinetti
1005dda58e
Upgrade to Gophercloud v2
...
Essentially:
* Add a context argument to Gophercloud functions
* Refactor scheduler hints for server creation
2024-10-23 12:33:34 +02:00
justinsb
27dd371c08
Refactor: Add context.Context to more VFS methods
...
This allows for propagation of opentelemetry traces.
2023-10-14 14:31:05 -04:00
Jules Casteran
e27ae94daf
add removeAll to vfs
2023-05-10 15:24:15 +02:00
justinsb
6c2edaee7e
Add Context arg to vfs ReadFile
...
This is an "action" method, so should take a context.
2023-01-01 09:51:44 -05:00
justinsb
ae074bbc6b
VFS: Add context to CreateFile & WriteFile
...
As "request" methods, these should have context parameters.
2022-12-23 10:39:52 -05:00
justinsb
6406bfe150
VFS: Add context to internals of Openstack Swift client
...
Setting up context usage internally ready for the context to be
exposed.
Also avoid initializing the client until the first usage, making
building VFS path more of a builder function (deterministic, not
expected to fail for good inputs).
2022-12-21 10:07:03 -05:00
Ciprian Hacman
ea7df00719
Run hack/update-gofmt.sh
2021-12-01 22:39:50 +02:00
Yadnesh Kulkarni
670fa3aaf7
Incorrect url to the swift container
...
Swift path prefix in ReadTree and ReadDir should not be empty
when adding "/" to it.
2021-08-15 04:21:34 -04:00
Jesse Haka
034dad258c
modify names
2021-02-05 09:57:54 +02:00
Jesse Haka
41d04d8d4b
add user agent to openstack api requests
2021-02-04 23:04:06 +02:00
Jesse Haka
67d69f16a9
allow reauth for openstack client
2020-10-30 08:57:49 +02:00
Ole Markus With
f6ce70e5c3
Minor fixes to swiftfs.go
2020-10-08 20:32:29 +02:00
Justin SB
d4480e4721
Always use OpenStack Swift reauthentication
...
If we were using credentials from env vars, we would not do
reauthentication with Swift.
2020-08-29 08:25:59 -04:00
Peter Rifel
4d9f0128a3
Upgrade to klog2
...
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
Ole Markus With
a708a96c05
Adds support for using OS application credentials
...
Application credentials allows you to export a purpose-specific set of
credentials for a user instead of exposing user login credentials.
Especially useful when using LDAP or similar for Openstack users.
Also lets you rotate credentials more easily since multiple application
credentials can be provisioned per user.
Update pkg/model/bootstrapscript.go
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-08-07 14:26:47 +02:00
Ciprian Hacman
d54aadc89c
Fix nits for removal of S3 file versions
2020-05-28 06:50:32 +03:00
Ciprian Hacman
9675692b84
Implement RemoveAll() for S3 paths
2020-05-25 07:46:32 +03:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
4e752ca62d
Openstack Environment Variable Mapping
2019-01-15 14:21:41 -07:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
d0713c633a
Use gophercloud to configure environment authentication
2019-01-15 14:21:31 -07:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
fb0939af9b
Openstack Model, tasks, and cloud ops refactor
2019-01-15 14:16:08 -07:00
Jon Perritt
3064f6be15
server groups, lb, instance, and dns tasks, models and resources
2019-01-15 14:06:54 -07:00
Levi Blackstone
c4e2db4afc
Vendor servergroup module from gophercloud
...
* Bump gophercloud sha to f29afc2
* Add a prereq check for bazel and dep which is needed by `make dep-ensure`
* Document the process to add a vendored dependency
2018-08-30 11:25:54 -06:00
Justin Santa Barbara
4cea00ea75
Use HomeDir from client-go to get home directory
...
Works on windows & linux
Fixes #4523
2018-06-02 15:17:23 -04:00
Justin Santa Barbara
412cf377c2
VFS: WriteFile takes an io.ReadSeeker
...
Means we don't have to buffer big files in memory, in combination with
WriteTo for reading.
2018-02-26 09:09:17 -05:00
Justin Santa Barbara
6f6bafb65e
VFS: Support io.WriterTo interface
...
Allows us to handle much bigger files (no need to buffer in-memory)
2018-01-08 22:34:27 -05:00
zengchen1024
bbfd1e18a3
implement vfs with openstack swift
2017-11-02 17:08:16 +08:00