openstack: remove unused code

This commit is contained in:
Malte Poll 2024-02-12 09:38:49 +01:00
parent c5b17fb828
commit bab27fbc69
6 changed files with 7 additions and 219 deletions

View file

@ -30,8 +30,6 @@ type stubIMDSClient struct {
roleErr error
vpcIPResult string
vpcIPErr error
networkIDsResult []string
networkIDsErr error
}
func (c *stubIMDSClient) providerID(_ context.Context) (string, error) {
@ -62,10 +60,6 @@ func (c *stubIMDSClient) vpcIP(_ context.Context) (string, error) {
return c.vpcIPResult, c.vpcIPErr
}
func (c *stubIMDSClient) networkIDs(_ context.Context) ([]string, error) {
return c.networkIDsResult, c.networkIDsErr
}
type stubServersClient struct {
serversPager stubPager
subnetsPager stubPager