Documentation ¶
Index ¶
- type HostnameServiceClient
- func (_m *HostnameServiceClient) CanReserveHostnames(hostnames []string, ownerAddr types.Address) error
- func (_m *HostnameServiceClient) EXPECT() *HostnameServiceClient_Expecter
- func (_m *HostnameServiceClient) PrepareHostnamesForTransfer(ctx context.Context, hostnames []string, leaseID v1beta4.LeaseID) error
- func (_m *HostnameServiceClient) ReleaseHostnames(leaseID v1beta4.LeaseID) error
- func (_m *HostnameServiceClient) ReserveHostnames(ctx context.Context, hostnames []string, leaseID v1beta4.LeaseID) ([]string, error)
- type HostnameServiceClient_CanReserveHostnames_Call
- func (_c *HostnameServiceClient_CanReserveHostnames_Call) Return(_a0 error) *HostnameServiceClient_CanReserveHostnames_Call
- func (_c *HostnameServiceClient_CanReserveHostnames_Call) Run(run func(hostnames []string, ownerAddr types.Address)) *HostnameServiceClient_CanReserveHostnames_Call
- func (_c *HostnameServiceClient_CanReserveHostnames_Call) RunAndReturn(run func([]string, types.Address) error) *HostnameServiceClient_CanReserveHostnames_Call
- type HostnameServiceClient_Expecter
- func (_e *HostnameServiceClient_Expecter) CanReserveHostnames(hostnames interface{}, ownerAddr interface{}) *HostnameServiceClient_CanReserveHostnames_Call
- func (_e *HostnameServiceClient_Expecter) PrepareHostnamesForTransfer(ctx interface{}, hostnames interface{}, leaseID interface{}) *HostnameServiceClient_PrepareHostnamesForTransfer_Call
- func (_e *HostnameServiceClient_Expecter) ReleaseHostnames(leaseID interface{}) *HostnameServiceClient_ReleaseHostnames_Call
- func (_e *HostnameServiceClient_Expecter) ReserveHostnames(ctx interface{}, hostnames interface{}, leaseID interface{}) *HostnameServiceClient_ReserveHostnames_Call
- type HostnameServiceClient_PrepareHostnamesForTransfer_Call
- func (_c *HostnameServiceClient_PrepareHostnamesForTransfer_Call) Return(_a0 error) *HostnameServiceClient_PrepareHostnamesForTransfer_Call
- func (_c *HostnameServiceClient_PrepareHostnamesForTransfer_Call) Run(run func(ctx context.Context, hostnames []string, leaseID v1beta4.LeaseID)) *HostnameServiceClient_PrepareHostnamesForTransfer_Call
- func (_c *HostnameServiceClient_PrepareHostnamesForTransfer_Call) RunAndReturn(run func(context.Context, []string, v1beta4.LeaseID) error) *HostnameServiceClient_PrepareHostnamesForTransfer_Call
- type HostnameServiceClient_ReleaseHostnames_Call
- func (_c *HostnameServiceClient_ReleaseHostnames_Call) Return(_a0 error) *HostnameServiceClient_ReleaseHostnames_Call
- func (_c *HostnameServiceClient_ReleaseHostnames_Call) Run(run func(leaseID v1beta4.LeaseID)) *HostnameServiceClient_ReleaseHostnames_Call
- func (_c *HostnameServiceClient_ReleaseHostnames_Call) RunAndReturn(run func(v1beta4.LeaseID) error) *HostnameServiceClient_ReleaseHostnames_Call
- type HostnameServiceClient_ReserveHostnames_Call
- func (_c *HostnameServiceClient_ReserveHostnames_Call) Return(_a0 []string, _a1 error) *HostnameServiceClient_ReserveHostnames_Call
- func (_c *HostnameServiceClient_ReserveHostnames_Call) Run(run func(ctx context.Context, hostnames []string, leaseID v1beta4.LeaseID)) *HostnameServiceClient_ReserveHostnames_Call
- func (_c *HostnameServiceClient_ReserveHostnames_Call) RunAndReturn(run func(context.Context, []string, v1beta4.LeaseID) ([]string, error)) *HostnameServiceClient_ReserveHostnames_Call
- type IDeployment
- type IDeployment_ClusterParams_Call
- type IDeployment_Expecter
- type IDeployment_LeaseID_Call
- type IDeployment_ManifestGroup_Call
- func (_c *IDeployment_ManifestGroup_Call) Return(_a0 *v2beta2.Group) *IDeployment_ManifestGroup_Call
- func (_c *IDeployment_ManifestGroup_Call) Run(run func()) *IDeployment_ManifestGroup_Call
- func (_c *IDeployment_ManifestGroup_Call) RunAndReturn(run func() *v2beta2.Group) *IDeployment_ManifestGroup_Call
- type Reservation
- func (_m *Reservation) Allocated() bool
- func (_m *Reservation) ClusterParams() interface{}
- func (_m *Reservation) EXPECT() *Reservation_Expecter
- func (_m *Reservation) GetAllocatedResources() deploymentv1beta3.ResourceUnits
- func (_m *Reservation) OrderID() v1beta4.OrderID
- func (_m *Reservation) Resources() deploymentv1beta3.ResourceGroup
- func (_m *Reservation) SetAllocatedResources(_a0 deploymentv1beta3.ResourceUnits)
- func (_m *Reservation) SetClusterParams(_a0 interface{})
- type ReservationGroup
- func (_m *ReservationGroup) ClusterParams() interface{}
- func (_m *ReservationGroup) EXPECT() *ReservationGroup_Expecter
- func (_m *ReservationGroup) GetAllocatedResources() deploymentv1beta3.ResourceUnits
- func (_m *ReservationGroup) Resources() deploymentv1beta3.ResourceGroup
- func (_m *ReservationGroup) SetAllocatedResources(_a0 deploymentv1beta3.ResourceUnits)
- func (_m *ReservationGroup) SetClusterParams(_a0 interface{})
- type ReservationGroup_ClusterParams_Call
- func (_c *ReservationGroup_ClusterParams_Call) Return(_a0 interface{}) *ReservationGroup_ClusterParams_Call
- func (_c *ReservationGroup_ClusterParams_Call) Run(run func()) *ReservationGroup_ClusterParams_Call
- func (_c *ReservationGroup_ClusterParams_Call) RunAndReturn(run func() interface{}) *ReservationGroup_ClusterParams_Call
- type ReservationGroup_Expecter
- func (_e *ReservationGroup_Expecter) ClusterParams() *ReservationGroup_ClusterParams_Call
- func (_e *ReservationGroup_Expecter) GetAllocatedResources() *ReservationGroup_GetAllocatedResources_Call
- func (_e *ReservationGroup_Expecter) Resources() *ReservationGroup_Resources_Call
- func (_e *ReservationGroup_Expecter) SetAllocatedResources(_a0 interface{}) *ReservationGroup_SetAllocatedResources_Call
- func (_e *ReservationGroup_Expecter) SetClusterParams(_a0 interface{}) *ReservationGroup_SetClusterParams_Call
- type ReservationGroup_GetAllocatedResources_Call
- func (_c *ReservationGroup_GetAllocatedResources_Call) Return(_a0 deploymentv1beta3.ResourceUnits) *ReservationGroup_GetAllocatedResources_Call
- func (_c *ReservationGroup_GetAllocatedResources_Call) Run(run func()) *ReservationGroup_GetAllocatedResources_Call
- func (_c *ReservationGroup_GetAllocatedResources_Call) RunAndReturn(run func() deploymentv1beta3.ResourceUnits) *ReservationGroup_GetAllocatedResources_Call
- type ReservationGroup_Resources_Call
- func (_c *ReservationGroup_Resources_Call) Return(_a0 deploymentv1beta3.ResourceGroup) *ReservationGroup_Resources_Call
- func (_c *ReservationGroup_Resources_Call) Run(run func()) *ReservationGroup_Resources_Call
- func (_c *ReservationGroup_Resources_Call) RunAndReturn(run func() deploymentv1beta3.ResourceGroup) *ReservationGroup_Resources_Call
- type ReservationGroup_SetAllocatedResources_Call
- func (_c *ReservationGroup_SetAllocatedResources_Call) Return() *ReservationGroup_SetAllocatedResources_Call
- func (_c *ReservationGroup_SetAllocatedResources_Call) Run(run func(_a0 deploymentv1beta3.ResourceUnits)) *ReservationGroup_SetAllocatedResources_Call
- func (_c *ReservationGroup_SetAllocatedResources_Call) RunAndReturn(run func(deploymentv1beta3.ResourceUnits)) *ReservationGroup_SetAllocatedResources_Call
- type ReservationGroup_SetClusterParams_Call
- func (_c *ReservationGroup_SetClusterParams_Call) Return() *ReservationGroup_SetClusterParams_Call
- func (_c *ReservationGroup_SetClusterParams_Call) Run(run func(_a0 interface{})) *ReservationGroup_SetClusterParams_Call
- func (_c *ReservationGroup_SetClusterParams_Call) RunAndReturn(run func(interface{})) *ReservationGroup_SetClusterParams_Call
- type Reservation_Allocated_Call
- type Reservation_ClusterParams_Call
- type Reservation_Expecter
- func (_e *Reservation_Expecter) Allocated() *Reservation_Allocated_Call
- func (_e *Reservation_Expecter) ClusterParams() *Reservation_ClusterParams_Call
- func (_e *Reservation_Expecter) GetAllocatedResources() *Reservation_GetAllocatedResources_Call
- func (_e *Reservation_Expecter) OrderID() *Reservation_OrderID_Call
- func (_e *Reservation_Expecter) Resources() *Reservation_Resources_Call
- func (_e *Reservation_Expecter) SetAllocatedResources(_a0 interface{}) *Reservation_SetAllocatedResources_Call
- func (_e *Reservation_Expecter) SetClusterParams(_a0 interface{}) *Reservation_SetClusterParams_Call
- type Reservation_GetAllocatedResources_Call
- func (_c *Reservation_GetAllocatedResources_Call) Return(_a0 deploymentv1beta3.ResourceUnits) *Reservation_GetAllocatedResources_Call
- func (_c *Reservation_GetAllocatedResources_Call) Run(run func()) *Reservation_GetAllocatedResources_Call
- func (_c *Reservation_GetAllocatedResources_Call) RunAndReturn(run func() deploymentv1beta3.ResourceUnits) *Reservation_GetAllocatedResources_Call
- type Reservation_OrderID_Call
- type Reservation_Resources_Call
- func (_c *Reservation_Resources_Call) Return(_a0 deploymentv1beta3.ResourceGroup) *Reservation_Resources_Call
- func (_c *Reservation_Resources_Call) Run(run func()) *Reservation_Resources_Call
- func (_c *Reservation_Resources_Call) RunAndReturn(run func() deploymentv1beta3.ResourceGroup) *Reservation_Resources_Call
- type Reservation_SetAllocatedResources_Call
- func (_c *Reservation_SetAllocatedResources_Call) Return() *Reservation_SetAllocatedResources_Call
- func (_c *Reservation_SetAllocatedResources_Call) Run(run func(_a0 deploymentv1beta3.ResourceUnits)) *Reservation_SetAllocatedResources_Call
- func (_c *Reservation_SetAllocatedResources_Call) RunAndReturn(run func(deploymentv1beta3.ResourceUnits)) *Reservation_SetAllocatedResources_Call
- type Reservation_SetClusterParams_Call
- func (_c *Reservation_SetClusterParams_Call) Return() *Reservation_SetClusterParams_Call
- func (_c *Reservation_SetClusterParams_Call) Run(run func(_a0 interface{})) *Reservation_SetClusterParams_Call
- func (_c *Reservation_SetClusterParams_Call) RunAndReturn(run func(interface{})) *Reservation_SetClusterParams_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostnameServiceClient ¶
HostnameServiceClient is an autogenerated mock type for the HostnameServiceClient type
func NewHostnameServiceClient ¶
func NewHostnameServiceClient(t interface { mock.TestingT Cleanup(func()) }) *HostnameServiceClient
NewHostnameServiceClient creates a new instance of HostnameServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*HostnameServiceClient) CanReserveHostnames ¶
func (_m *HostnameServiceClient) CanReserveHostnames(hostnames []string, ownerAddr types.Address) error
CanReserveHostnames provides a mock function with given fields: hostnames, ownerAddr
func (*HostnameServiceClient) EXPECT ¶
func (_m *HostnameServiceClient) EXPECT() *HostnameServiceClient_Expecter
func (*HostnameServiceClient) PrepareHostnamesForTransfer ¶
func (_m *HostnameServiceClient) PrepareHostnamesForTransfer(ctx context.Context, hostnames []string, leaseID v1beta4.LeaseID) error
PrepareHostnamesForTransfer provides a mock function with given fields: ctx, hostnames, leaseID
func (*HostnameServiceClient) ReleaseHostnames ¶
func (_m *HostnameServiceClient) ReleaseHostnames(leaseID v1beta4.LeaseID) error
ReleaseHostnames provides a mock function with given fields: leaseID
func (*HostnameServiceClient) ReserveHostnames ¶
func (_m *HostnameServiceClient) ReserveHostnames(ctx context.Context, hostnames []string, leaseID v1beta4.LeaseID) ([]string, error)
ReserveHostnames provides a mock function with given fields: ctx, hostnames, leaseID
type HostnameServiceClient_CanReserveHostnames_Call ¶
HostnameServiceClient_CanReserveHostnames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanReserveHostnames'
func (*HostnameServiceClient_CanReserveHostnames_Call) Return ¶
func (_c *HostnameServiceClient_CanReserveHostnames_Call) Return(_a0 error) *HostnameServiceClient_CanReserveHostnames_Call
func (*HostnameServiceClient_CanReserveHostnames_Call) Run ¶
func (_c *HostnameServiceClient_CanReserveHostnames_Call) Run(run func(hostnames []string, ownerAddr types.Address)) *HostnameServiceClient_CanReserveHostnames_Call
func (*HostnameServiceClient_CanReserveHostnames_Call) RunAndReturn ¶
func (_c *HostnameServiceClient_CanReserveHostnames_Call) RunAndReturn(run func([]string, types.Address) error) *HostnameServiceClient_CanReserveHostnames_Call
type HostnameServiceClient_Expecter ¶
type HostnameServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*HostnameServiceClient_Expecter) CanReserveHostnames ¶
func (_e *HostnameServiceClient_Expecter) CanReserveHostnames(hostnames interface{}, ownerAddr interface{}) *HostnameServiceClient_CanReserveHostnames_Call
CanReserveHostnames is a helper method to define mock.On call
- hostnames []string
- ownerAddr types.Address
func (*HostnameServiceClient_Expecter) PrepareHostnamesForTransfer ¶
func (_e *HostnameServiceClient_Expecter) PrepareHostnamesForTransfer(ctx interface{}, hostnames interface{}, leaseID interface{}) *HostnameServiceClient_PrepareHostnamesForTransfer_Call
PrepareHostnamesForTransfer is a helper method to define mock.On call
- ctx context.Context
- hostnames []string
- leaseID v1beta4.LeaseID
func (*HostnameServiceClient_Expecter) ReleaseHostnames ¶
func (_e *HostnameServiceClient_Expecter) ReleaseHostnames(leaseID interface{}) *HostnameServiceClient_ReleaseHostnames_Call
ReleaseHostnames is a helper method to define mock.On call
- leaseID v1beta4.LeaseID
func (*HostnameServiceClient_Expecter) ReserveHostnames ¶
func (_e *HostnameServiceClient_Expecter) ReserveHostnames(ctx interface{}, hostnames interface{}, leaseID interface{}) *HostnameServiceClient_ReserveHostnames_Call
ReserveHostnames is a helper method to define mock.On call
- ctx context.Context
- hostnames []string
- leaseID v1beta4.LeaseID
type HostnameServiceClient_PrepareHostnamesForTransfer_Call ¶
HostnameServiceClient_PrepareHostnamesForTransfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrepareHostnamesForTransfer'
func (*HostnameServiceClient_PrepareHostnamesForTransfer_Call) Run ¶
func (_c *HostnameServiceClient_PrepareHostnamesForTransfer_Call) Run(run func(ctx context.Context, hostnames []string, leaseID v1beta4.LeaseID)) *HostnameServiceClient_PrepareHostnamesForTransfer_Call
func (*HostnameServiceClient_PrepareHostnamesForTransfer_Call) RunAndReturn ¶
func (_c *HostnameServiceClient_PrepareHostnamesForTransfer_Call) RunAndReturn(run func(context.Context, []string, v1beta4.LeaseID) error) *HostnameServiceClient_PrepareHostnamesForTransfer_Call
type HostnameServiceClient_ReleaseHostnames_Call ¶
HostnameServiceClient_ReleaseHostnames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReleaseHostnames'
func (*HostnameServiceClient_ReleaseHostnames_Call) Return ¶
func (_c *HostnameServiceClient_ReleaseHostnames_Call) Return(_a0 error) *HostnameServiceClient_ReleaseHostnames_Call
func (*HostnameServiceClient_ReleaseHostnames_Call) Run ¶
func (_c *HostnameServiceClient_ReleaseHostnames_Call) Run(run func(leaseID v1beta4.LeaseID)) *HostnameServiceClient_ReleaseHostnames_Call
func (*HostnameServiceClient_ReleaseHostnames_Call) RunAndReturn ¶
func (_c *HostnameServiceClient_ReleaseHostnames_Call) RunAndReturn(run func(v1beta4.LeaseID) error) *HostnameServiceClient_ReleaseHostnames_Call
type HostnameServiceClient_ReserveHostnames_Call ¶
HostnameServiceClient_ReserveHostnames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReserveHostnames'
func (*HostnameServiceClient_ReserveHostnames_Call) Return ¶
func (_c *HostnameServiceClient_ReserveHostnames_Call) Return(_a0 []string, _a1 error) *HostnameServiceClient_ReserveHostnames_Call
func (*HostnameServiceClient_ReserveHostnames_Call) Run ¶
func (_c *HostnameServiceClient_ReserveHostnames_Call) Run(run func(ctx context.Context, hostnames []string, leaseID v1beta4.LeaseID)) *HostnameServiceClient_ReserveHostnames_Call
func (*HostnameServiceClient_ReserveHostnames_Call) RunAndReturn ¶
func (_c *HostnameServiceClient_ReserveHostnames_Call) RunAndReturn(run func(context.Context, []string, v1beta4.LeaseID) ([]string, error)) *HostnameServiceClient_ReserveHostnames_Call
type IDeployment ¶
IDeployment is an autogenerated mock type for the IDeployment type
func NewIDeployment ¶
func NewIDeployment(t interface { mock.TestingT Cleanup(func()) }) *IDeployment
NewIDeployment creates a new instance of IDeployment. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IDeployment) ClusterParams ¶
func (_m *IDeployment) ClusterParams() interface{}
ClusterParams provides a mock function with given fields:
func (*IDeployment) EXPECT ¶
func (_m *IDeployment) EXPECT() *IDeployment_Expecter
func (*IDeployment) LeaseID ¶
func (_m *IDeployment) LeaseID() v1beta4.LeaseID
LeaseID provides a mock function with given fields:
func (*IDeployment) ManifestGroup ¶
func (_m *IDeployment) ManifestGroup() *v2beta2.Group
ManifestGroup provides a mock function with given fields:
type IDeployment_ClusterParams_Call ¶
IDeployment_ClusterParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterParams'
func (*IDeployment_ClusterParams_Call) Return ¶
func (_c *IDeployment_ClusterParams_Call) Return(_a0 interface{}) *IDeployment_ClusterParams_Call
func (*IDeployment_ClusterParams_Call) Run ¶
func (_c *IDeployment_ClusterParams_Call) Run(run func()) *IDeployment_ClusterParams_Call
func (*IDeployment_ClusterParams_Call) RunAndReturn ¶
func (_c *IDeployment_ClusterParams_Call) RunAndReturn(run func() interface{}) *IDeployment_ClusterParams_Call
type IDeployment_Expecter ¶
type IDeployment_Expecter struct {
// contains filtered or unexported fields
}
func (*IDeployment_Expecter) ClusterParams ¶
func (_e *IDeployment_Expecter) ClusterParams() *IDeployment_ClusterParams_Call
ClusterParams is a helper method to define mock.On call
func (*IDeployment_Expecter) LeaseID ¶
func (_e *IDeployment_Expecter) LeaseID() *IDeployment_LeaseID_Call
LeaseID is a helper method to define mock.On call
func (*IDeployment_Expecter) ManifestGroup ¶
func (_e *IDeployment_Expecter) ManifestGroup() *IDeployment_ManifestGroup_Call
ManifestGroup is a helper method to define mock.On call
type IDeployment_LeaseID_Call ¶
IDeployment_LeaseID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LeaseID'
func (*IDeployment_LeaseID_Call) Return ¶
func (_c *IDeployment_LeaseID_Call) Return(_a0 v1beta4.LeaseID) *IDeployment_LeaseID_Call
func (*IDeployment_LeaseID_Call) Run ¶
func (_c *IDeployment_LeaseID_Call) Run(run func()) *IDeployment_LeaseID_Call
func (*IDeployment_LeaseID_Call) RunAndReturn ¶
func (_c *IDeployment_LeaseID_Call) RunAndReturn(run func() v1beta4.LeaseID) *IDeployment_LeaseID_Call
type IDeployment_ManifestGroup_Call ¶
IDeployment_ManifestGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManifestGroup'
func (*IDeployment_ManifestGroup_Call) Return ¶
func (_c *IDeployment_ManifestGroup_Call) Return(_a0 *v2beta2.Group) *IDeployment_ManifestGroup_Call
func (*IDeployment_ManifestGroup_Call) Run ¶
func (_c *IDeployment_ManifestGroup_Call) Run(run func()) *IDeployment_ManifestGroup_Call
func (*IDeployment_ManifestGroup_Call) RunAndReturn ¶
func (_c *IDeployment_ManifestGroup_Call) RunAndReturn(run func() *v2beta2.Group) *IDeployment_ManifestGroup_Call
type Reservation ¶
Reservation is an autogenerated mock type for the Reservation type
func NewReservation ¶
func NewReservation(t interface { mock.TestingT Cleanup(func()) }) *Reservation
NewReservation creates a new instance of Reservation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Reservation) Allocated ¶
func (_m *Reservation) Allocated() bool
Allocated provides a mock function with given fields:
func (*Reservation) ClusterParams ¶
func (_m *Reservation) ClusterParams() interface{}
ClusterParams provides a mock function with given fields:
func (*Reservation) EXPECT ¶
func (_m *Reservation) EXPECT() *Reservation_Expecter
func (*Reservation) GetAllocatedResources ¶
func (_m *Reservation) GetAllocatedResources() deploymentv1beta3.ResourceUnits
GetAllocatedResources provides a mock function with given fields:
func (*Reservation) OrderID ¶
func (_m *Reservation) OrderID() v1beta4.OrderID
OrderID provides a mock function with given fields:
func (*Reservation) Resources ¶
func (_m *Reservation) Resources() deploymentv1beta3.ResourceGroup
Resources provides a mock function with given fields:
func (*Reservation) SetAllocatedResources ¶
func (_m *Reservation) SetAllocatedResources(_a0 deploymentv1beta3.ResourceUnits)
SetAllocatedResources provides a mock function with given fields: _a0
func (*Reservation) SetClusterParams ¶
func (_m *Reservation) SetClusterParams(_a0 interface{})
SetClusterParams provides a mock function with given fields: _a0
type ReservationGroup ¶
ReservationGroup is an autogenerated mock type for the ReservationGroup type
func NewReservationGroup ¶
func NewReservationGroup(t interface { mock.TestingT Cleanup(func()) }) *ReservationGroup
NewReservationGroup creates a new instance of ReservationGroup. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ReservationGroup) ClusterParams ¶
func (_m *ReservationGroup) ClusterParams() interface{}
ClusterParams provides a mock function with given fields:
func (*ReservationGroup) EXPECT ¶
func (_m *ReservationGroup) EXPECT() *ReservationGroup_Expecter
func (*ReservationGroup) GetAllocatedResources ¶
func (_m *ReservationGroup) GetAllocatedResources() deploymentv1beta3.ResourceUnits
GetAllocatedResources provides a mock function with given fields:
func (*ReservationGroup) Resources ¶
func (_m *ReservationGroup) Resources() deploymentv1beta3.ResourceGroup
Resources provides a mock function with given fields:
func (*ReservationGroup) SetAllocatedResources ¶
func (_m *ReservationGroup) SetAllocatedResources(_a0 deploymentv1beta3.ResourceUnits)
SetAllocatedResources provides a mock function with given fields: _a0
func (*ReservationGroup) SetClusterParams ¶
func (_m *ReservationGroup) SetClusterParams(_a0 interface{})
SetClusterParams provides a mock function with given fields: _a0
type ReservationGroup_ClusterParams_Call ¶
ReservationGroup_ClusterParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterParams'
func (*ReservationGroup_ClusterParams_Call) Return ¶
func (_c *ReservationGroup_ClusterParams_Call) Return(_a0 interface{}) *ReservationGroup_ClusterParams_Call
func (*ReservationGroup_ClusterParams_Call) Run ¶
func (_c *ReservationGroup_ClusterParams_Call) Run(run func()) *ReservationGroup_ClusterParams_Call
func (*ReservationGroup_ClusterParams_Call) RunAndReturn ¶
func (_c *ReservationGroup_ClusterParams_Call) RunAndReturn(run func() interface{}) *ReservationGroup_ClusterParams_Call
type ReservationGroup_Expecter ¶
type ReservationGroup_Expecter struct {
// contains filtered or unexported fields
}
func (*ReservationGroup_Expecter) ClusterParams ¶
func (_e *ReservationGroup_Expecter) ClusterParams() *ReservationGroup_ClusterParams_Call
ClusterParams is a helper method to define mock.On call
func (*ReservationGroup_Expecter) GetAllocatedResources ¶
func (_e *ReservationGroup_Expecter) GetAllocatedResources() *ReservationGroup_GetAllocatedResources_Call
GetAllocatedResources is a helper method to define mock.On call
func (*ReservationGroup_Expecter) Resources ¶
func (_e *ReservationGroup_Expecter) Resources() *ReservationGroup_Resources_Call
Resources is a helper method to define mock.On call
func (*ReservationGroup_Expecter) SetAllocatedResources ¶
func (_e *ReservationGroup_Expecter) SetAllocatedResources(_a0 interface{}) *ReservationGroup_SetAllocatedResources_Call
SetAllocatedResources is a helper method to define mock.On call
- _a0 deploymentv1beta3.ResourceUnits
func (*ReservationGroup_Expecter) SetClusterParams ¶
func (_e *ReservationGroup_Expecter) SetClusterParams(_a0 interface{}) *ReservationGroup_SetClusterParams_Call
SetClusterParams is a helper method to define mock.On call
- _a0 interface{}
type ReservationGroup_GetAllocatedResources_Call ¶
ReservationGroup_GetAllocatedResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedResources'
func (*ReservationGroup_GetAllocatedResources_Call) Run ¶
func (_c *ReservationGroup_GetAllocatedResources_Call) Run(run func()) *ReservationGroup_GetAllocatedResources_Call
func (*ReservationGroup_GetAllocatedResources_Call) RunAndReturn ¶
func (_c *ReservationGroup_GetAllocatedResources_Call) RunAndReturn(run func() deploymentv1beta3.ResourceUnits) *ReservationGroup_GetAllocatedResources_Call
type ReservationGroup_Resources_Call ¶
ReservationGroup_Resources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Resources'
func (*ReservationGroup_Resources_Call) Return ¶
func (_c *ReservationGroup_Resources_Call) Return(_a0 deploymentv1beta3.ResourceGroup) *ReservationGroup_Resources_Call
func (*ReservationGroup_Resources_Call) Run ¶
func (_c *ReservationGroup_Resources_Call) Run(run func()) *ReservationGroup_Resources_Call
func (*ReservationGroup_Resources_Call) RunAndReturn ¶
func (_c *ReservationGroup_Resources_Call) RunAndReturn(run func() deploymentv1beta3.ResourceGroup) *ReservationGroup_Resources_Call
type ReservationGroup_SetAllocatedResources_Call ¶
ReservationGroup_SetAllocatedResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAllocatedResources'
func (*ReservationGroup_SetAllocatedResources_Call) Return ¶
func (_c *ReservationGroup_SetAllocatedResources_Call) Return() *ReservationGroup_SetAllocatedResources_Call
func (*ReservationGroup_SetAllocatedResources_Call) Run ¶
func (_c *ReservationGroup_SetAllocatedResources_Call) Run(run func(_a0 deploymentv1beta3.ResourceUnits)) *ReservationGroup_SetAllocatedResources_Call
func (*ReservationGroup_SetAllocatedResources_Call) RunAndReturn ¶
func (_c *ReservationGroup_SetAllocatedResources_Call) RunAndReturn(run func(deploymentv1beta3.ResourceUnits)) *ReservationGroup_SetAllocatedResources_Call
type ReservationGroup_SetClusterParams_Call ¶
ReservationGroup_SetClusterParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetClusterParams'
func (*ReservationGroup_SetClusterParams_Call) Return ¶
func (_c *ReservationGroup_SetClusterParams_Call) Return() *ReservationGroup_SetClusterParams_Call
func (*ReservationGroup_SetClusterParams_Call) Run ¶
func (_c *ReservationGroup_SetClusterParams_Call) Run(run func(_a0 interface{})) *ReservationGroup_SetClusterParams_Call
func (*ReservationGroup_SetClusterParams_Call) RunAndReturn ¶
func (_c *ReservationGroup_SetClusterParams_Call) RunAndReturn(run func(interface{})) *ReservationGroup_SetClusterParams_Call
type Reservation_Allocated_Call ¶
Reservation_Allocated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Allocated'
func (*Reservation_Allocated_Call) Return ¶
func (_c *Reservation_Allocated_Call) Return(_a0 bool) *Reservation_Allocated_Call
func (*Reservation_Allocated_Call) Run ¶
func (_c *Reservation_Allocated_Call) Run(run func()) *Reservation_Allocated_Call
func (*Reservation_Allocated_Call) RunAndReturn ¶
func (_c *Reservation_Allocated_Call) RunAndReturn(run func() bool) *Reservation_Allocated_Call
type Reservation_ClusterParams_Call ¶
Reservation_ClusterParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterParams'
func (*Reservation_ClusterParams_Call) Return ¶
func (_c *Reservation_ClusterParams_Call) Return(_a0 interface{}) *Reservation_ClusterParams_Call
func (*Reservation_ClusterParams_Call) Run ¶
func (_c *Reservation_ClusterParams_Call) Run(run func()) *Reservation_ClusterParams_Call
func (*Reservation_ClusterParams_Call) RunAndReturn ¶
func (_c *Reservation_ClusterParams_Call) RunAndReturn(run func() interface{}) *Reservation_ClusterParams_Call
type Reservation_Expecter ¶
type Reservation_Expecter struct {
// contains filtered or unexported fields
}
func (*Reservation_Expecter) Allocated ¶
func (_e *Reservation_Expecter) Allocated() *Reservation_Allocated_Call
Allocated is a helper method to define mock.On call
func (*Reservation_Expecter) ClusterParams ¶
func (_e *Reservation_Expecter) ClusterParams() *Reservation_ClusterParams_Call
ClusterParams is a helper method to define mock.On call
func (*Reservation_Expecter) GetAllocatedResources ¶
func (_e *Reservation_Expecter) GetAllocatedResources() *Reservation_GetAllocatedResources_Call
GetAllocatedResources is a helper method to define mock.On call
func (*Reservation_Expecter) OrderID ¶
func (_e *Reservation_Expecter) OrderID() *Reservation_OrderID_Call
OrderID is a helper method to define mock.On call
func (*Reservation_Expecter) Resources ¶
func (_e *Reservation_Expecter) Resources() *Reservation_Resources_Call
Resources is a helper method to define mock.On call
func (*Reservation_Expecter) SetAllocatedResources ¶
func (_e *Reservation_Expecter) SetAllocatedResources(_a0 interface{}) *Reservation_SetAllocatedResources_Call
SetAllocatedResources is a helper method to define mock.On call
- _a0 deploymentv1beta3.ResourceUnits
func (*Reservation_Expecter) SetClusterParams ¶
func (_e *Reservation_Expecter) SetClusterParams(_a0 interface{}) *Reservation_SetClusterParams_Call
SetClusterParams is a helper method to define mock.On call
- _a0 interface{}
type Reservation_GetAllocatedResources_Call ¶
Reservation_GetAllocatedResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedResources'
func (*Reservation_GetAllocatedResources_Call) Return ¶
func (_c *Reservation_GetAllocatedResources_Call) Return(_a0 deploymentv1beta3.ResourceUnits) *Reservation_GetAllocatedResources_Call
func (*Reservation_GetAllocatedResources_Call) Run ¶
func (_c *Reservation_GetAllocatedResources_Call) Run(run func()) *Reservation_GetAllocatedResources_Call
func (*Reservation_GetAllocatedResources_Call) RunAndReturn ¶
func (_c *Reservation_GetAllocatedResources_Call) RunAndReturn(run func() deploymentv1beta3.ResourceUnits) *Reservation_GetAllocatedResources_Call
type Reservation_OrderID_Call ¶
Reservation_OrderID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrderID'
func (*Reservation_OrderID_Call) Return ¶
func (_c *Reservation_OrderID_Call) Return(_a0 v1beta4.OrderID) *Reservation_OrderID_Call
func (*Reservation_OrderID_Call) Run ¶
func (_c *Reservation_OrderID_Call) Run(run func()) *Reservation_OrderID_Call
func (*Reservation_OrderID_Call) RunAndReturn ¶
func (_c *Reservation_OrderID_Call) RunAndReturn(run func() v1beta4.OrderID) *Reservation_OrderID_Call
type Reservation_Resources_Call ¶
Reservation_Resources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Resources'
func (*Reservation_Resources_Call) Return ¶
func (_c *Reservation_Resources_Call) Return(_a0 deploymentv1beta3.ResourceGroup) *Reservation_Resources_Call
func (*Reservation_Resources_Call) Run ¶
func (_c *Reservation_Resources_Call) Run(run func()) *Reservation_Resources_Call
func (*Reservation_Resources_Call) RunAndReturn ¶
func (_c *Reservation_Resources_Call) RunAndReturn(run func() deploymentv1beta3.ResourceGroup) *Reservation_Resources_Call
type Reservation_SetAllocatedResources_Call ¶
Reservation_SetAllocatedResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAllocatedResources'
func (*Reservation_SetAllocatedResources_Call) Return ¶
func (_c *Reservation_SetAllocatedResources_Call) Return() *Reservation_SetAllocatedResources_Call
func (*Reservation_SetAllocatedResources_Call) Run ¶
func (_c *Reservation_SetAllocatedResources_Call) Run(run func(_a0 deploymentv1beta3.ResourceUnits)) *Reservation_SetAllocatedResources_Call
func (*Reservation_SetAllocatedResources_Call) RunAndReturn ¶
func (_c *Reservation_SetAllocatedResources_Call) RunAndReturn(run func(deploymentv1beta3.ResourceUnits)) *Reservation_SetAllocatedResources_Call
type Reservation_SetClusterParams_Call ¶
Reservation_SetClusterParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetClusterParams'
func (*Reservation_SetClusterParams_Call) Return ¶
func (_c *Reservation_SetClusterParams_Call) Return() *Reservation_SetClusterParams_Call
func (*Reservation_SetClusterParams_Call) Run ¶
func (_c *Reservation_SetClusterParams_Call) Run(run func(_a0 interface{})) *Reservation_SetClusterParams_Call
func (*Reservation_SetClusterParams_Call) RunAndReturn ¶
func (_c *Reservation_SetClusterParams_Call) RunAndReturn(run func(interface{})) *Reservation_SetClusterParams_Call