Documentation
¶
Index ¶
- type ComputeClient
- type ComputeInstanceAPI
- func (f *ComputeInstanceAPI) Delete(param1 string) error
- func (f *ComputeInstanceAPI) GetComputeInstancePager() pagination.Pager
- func (f *ComputeInstanceAPI) PageToServers(param1 pagination.Page) ([]servers.Server, error)
- func (f *ComputeInstanceAPI) PagerToPage(param1 pagination.Pager) (pagination.Page, error)
- type ImageAPI
- type ImageServiceClient
- type Logger
- type Page
- type VolumesAPI
- type VolumesClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeClient ¶ added in v0.57.0
type ComputeClient struct {
DeleteCall struct {
sync.Mutex
CallCount int
Receives struct {
InstanceID string
}
Returns struct {
Error error
}
Stub func(string) error
}
ListCall struct {
sync.Mutex
CallCount int
Returns struct {
ServerSlice []servers.Server
Error error
}
Stub func() ([]servers.Server, error)
}
}
func (*ComputeClient) Delete ¶ added in v0.57.0
func (f *ComputeClient) Delete(param1 string) error
type ComputeInstanceAPI ¶
type ComputeInstanceAPI struct {
DeleteCall struct {
sync.Mutex
CallCount int
Receives struct {
InstanceID string
}
Returns struct {
Error error
}
Stub func(string) error
}
GetComputeInstancePagerCall struct {
sync.Mutex
CallCount int
Returns struct {
Pager pagination.Pager
}
Stub func() pagination.Pager
}
PageToServersCall struct {
sync.Mutex
CallCount int
Receives struct {
Page pagination.Page
}
Returns struct {
ServerSlice []servers.Server
Error error
}
Stub func(pagination.Page) ([]servers.Server, error)
}
PagerToPageCall struct {
sync.Mutex
CallCount int
Receives struct {
Pager pagination.Pager
}
Returns struct {
Page pagination.Page
Error error
}
Stub func(pagination.Pager) (pagination.Page, error)
}
}
func (*ComputeInstanceAPI) Delete ¶
func (f *ComputeInstanceAPI) Delete(param1 string) error
func (*ComputeInstanceAPI) GetComputeInstancePager ¶
func (f *ComputeInstanceAPI) GetComputeInstancePager() pagination.Pager
func (*ComputeInstanceAPI) PageToServers ¶
func (f *ComputeInstanceAPI) PageToServers(param1 pagination.Page) ([]servers.Server, error)
func (*ComputeInstanceAPI) PagerToPage ¶
func (f *ComputeInstanceAPI) PagerToPage(param1 pagination.Pager) (pagination.Page, error)
type ImageAPI ¶
type ImageAPI struct {
DeleteCall struct {
sync.Mutex
CallCount int
Receives struct {
ImageID string
}
Returns struct {
Error error
}
Stub func(string) error
}
GetImagesPagerCall struct {
sync.Mutex
CallCount int
Returns struct {
Pager pagination.Pager
}
Stub func() pagination.Pager
}
PageToImagesCall struct {
sync.Mutex
CallCount int
Receives struct {
Page pagination.Page
}
Returns struct {
ImageSlice []images.Image
Error error
}
Stub func(pagination.Page) ([]images.Image, error)
}
PagerToPageCall struct {
sync.Mutex
CallCount int
Receives struct {
Pager pagination.Pager
}
Returns struct {
Page pagination.Page
Error error
}
Stub func(pagination.Pager) (pagination.Page, error)
}
}
func (*ImageAPI) GetImagesPager ¶
func (f *ImageAPI) GetImagesPager() pagination.Pager
func (*ImageAPI) PageToImages ¶
func (*ImageAPI) PagerToPage ¶
func (f *ImageAPI) PagerToPage(param1 pagination.Pager) (pagination.Page, error)
type ImageServiceClient ¶ added in v0.57.0
type ImageServiceClient struct {
DeleteCall struct {
sync.Mutex
CallCount int
Receives struct {
Id string
}
Returns struct {
Error error
}
Stub func(string) error
}
ListCall struct {
sync.Mutex
CallCount int
Returns struct {
ImageSlice []images.Image
Error error
}
Stub func() ([]images.Image, error)
}
}
func (*ImageServiceClient) Delete ¶ added in v0.57.0
func (f *ImageServiceClient) Delete(param1 string) error
type Logger ¶
type Logger struct {
DebuglnCall struct {
sync.Mutex
CallCount int
Receives struct {
Message string
}
Stub func(string)
}
NoConfirmCall struct {
sync.Mutex
CallCount int
Stub func()
}
PrintfCall struct {
sync.Mutex
CallCount int
Receives struct {
Message string
A []interface {
}
}
Stub func(string, ...interface {
})
}
PrintlnCall struct {
sync.Mutex
CallCount int
Receives struct {
Message string
}
Stub func(string)
}
PromptWithDetailsCall struct {
sync.Mutex
CallCount int
Receives struct {
ResourceType string
ResourceName string
}
Returns struct {
Bool bool
}
Stub func(string, string) bool
}
}
type Page ¶
type Page struct {
GetBodyCall struct {
sync.Mutex
CallCount int
Returns struct {
Interface interface {
}
}
Stub func() interface {
}
}
IsEmptyCall struct {
sync.Mutex
CallCount int
Returns struct {
Bool bool
Error error
}
Stub func() (bool, error)
}
NextPageURLCall struct {
sync.Mutex
CallCount int
Returns struct {
String string
Error error
}
Stub func() (string, error)
}
}
func (*Page) NextPageURL ¶
type VolumesAPI ¶
type VolumesAPI struct {
DeleteVolumeCall struct {
sync.Mutex
CallCount int
Receives struct {
Id string
}
Returns struct {
Error error
}
Stub func(string) error
}
GetVolumesPagerCall struct {
sync.Mutex
CallCount int
Returns struct {
Pager pagination.Pager
}
Stub func() pagination.Pager
}
PageToVolumesCall struct {
sync.Mutex
CallCount int
Receives struct {
Page pagination.Page
}
Returns struct {
VolumeSlice []volumes.Volume
Error error
}
Stub func(pagination.Page) ([]volumes.Volume, error)
}
PagerToPageCall struct {
sync.Mutex
CallCount int
Receives struct {
Pager pagination.Pager
}
Returns struct {
Page pagination.Page
Error error
}
Stub func(pagination.Pager) (pagination.Page, error)
}
}
func (*VolumesAPI) DeleteVolume ¶
func (f *VolumesAPI) DeleteVolume(param1 string) error
func (*VolumesAPI) GetVolumesPager ¶
func (f *VolumesAPI) GetVolumesPager() pagination.Pager
func (*VolumesAPI) PageToVolumes ¶
func (f *VolumesAPI) PageToVolumes(param1 pagination.Page) ([]volumes.Volume, error)
func (*VolumesAPI) PagerToPage ¶
func (f *VolumesAPI) PagerToPage(param1 pagination.Pager) (pagination.Page, error)
type VolumesClient ¶
type VolumesClient struct {
DeleteCall struct {
sync.Mutex
CallCount int
Receives struct {
VolumeID string
}
Returns struct {
Error error
}
Stub func(string) error
}
ListCall struct {
sync.Mutex
CallCount int
Returns struct {
VolumeSlice []volumes.Volume
Error error
}
Stub func() ([]volumes.Volume, error)
}
}
func (*VolumesClient) Delete ¶
func (f *VolumesClient) Delete(param1 string) error
Click to show internal directories.
Click to hide internal directories.