v1beta3

package
v0.16.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostnameServiceClient

type HostnameServiceClient struct {
	mock.Mock
}

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 (_mock *HostnameServiceClient) CanReserveHostnames(hostnames []string, ownerAddr types.Address) error

CanReserveHostnames provides a mock function for the type HostnameServiceClient

func (*HostnameServiceClient) EXPECT

func (*HostnameServiceClient) PrepareHostnamesForTransfer

func (_mock *HostnameServiceClient) PrepareHostnamesForTransfer(ctx context.Context, hostnames []string, leaseID v1.LeaseID) error

PrepareHostnamesForTransfer provides a mock function for the type HostnameServiceClient

func (*HostnameServiceClient) ReleaseHostnames

func (_mock *HostnameServiceClient) ReleaseHostnames(leaseID v1.LeaseID) error

ReleaseHostnames provides a mock function for the type HostnameServiceClient

func (*HostnameServiceClient) ReserveHostnames

func (_mock *HostnameServiceClient) ReserveHostnames(ctx context.Context, hostnames []string, leaseID v1.LeaseID) ([]string, error)

ReserveHostnames provides a mock function for the type HostnameServiceClient

type HostnameServiceClient_CanReserveHostnames_Call

type HostnameServiceClient_CanReserveHostnames_Call struct {
	*mock.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 (*HostnameServiceClient_CanReserveHostnames_Call) Run

func (*HostnameServiceClient_CanReserveHostnames_Call) RunAndReturn

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 v1.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 v1.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 v1.LeaseID

type HostnameServiceClient_PrepareHostnamesForTransfer_Call

type HostnameServiceClient_PrepareHostnamesForTransfer_Call struct {
	*mock.Call
}

HostnameServiceClient_PrepareHostnamesForTransfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrepareHostnamesForTransfer'

func (*HostnameServiceClient_PrepareHostnamesForTransfer_Call) Return

func (*HostnameServiceClient_PrepareHostnamesForTransfer_Call) Run

func (*HostnameServiceClient_PrepareHostnamesForTransfer_Call) RunAndReturn

type HostnameServiceClient_ReleaseHostnames_Call

type HostnameServiceClient_ReleaseHostnames_Call struct {
	*mock.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 (*HostnameServiceClient_ReleaseHostnames_Call) Run

func (*HostnameServiceClient_ReleaseHostnames_Call) RunAndReturn

type HostnameServiceClient_ReserveHostnames_Call

type HostnameServiceClient_ReserveHostnames_Call struct {
	*mock.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 (*HostnameServiceClient_ReserveHostnames_Call) Run

func (*HostnameServiceClient_ReserveHostnames_Call) RunAndReturn

func (_c *HostnameServiceClient_ReserveHostnames_Call) RunAndReturn(run func(ctx context.Context, hostnames []string, leaseID v1.LeaseID) ([]string, error)) *HostnameServiceClient_ReserveHostnames_Call

type IDeployment

type IDeployment struct {
	mock.Mock
}

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 (_mock *IDeployment) ClusterParams() interface{}

ClusterParams provides a mock function for the type IDeployment

func (*IDeployment) EXPECT

func (_m *IDeployment) EXPECT() *IDeployment_Expecter

func (*IDeployment) LeaseID

func (_mock *IDeployment) LeaseID() v1.LeaseID

LeaseID provides a mock function for the type IDeployment

func (*IDeployment) ManifestGroup

func (_mock *IDeployment) ManifestGroup() *v2beta3.Group

ManifestGroup provides a mock function for the type IDeployment

func (*IDeployment) ResourceVersion

func (_mock *IDeployment) ResourceVersion() string

ResourceVersion provides a mock function for the type IDeployment

type IDeployment_ClusterParams_Call

type IDeployment_ClusterParams_Call struct {
	*mock.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(ifaceVal interface{}) *IDeployment_ClusterParams_Call

func (*IDeployment_ClusterParams_Call) Run

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

ClusterParams is a helper method to define mock.On call

func (*IDeployment_Expecter) LeaseID

LeaseID is a helper method to define mock.On call

func (*IDeployment_Expecter) ManifestGroup

ManifestGroup is a helper method to define mock.On call

func (*IDeployment_Expecter) ResourceVersion

ResourceVersion is a helper method to define mock.On call

type IDeployment_LeaseID_Call

type IDeployment_LeaseID_Call struct {
	*mock.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(leaseID v1.LeaseID) *IDeployment_LeaseID_Call

func (*IDeployment_LeaseID_Call) Run

func (*IDeployment_LeaseID_Call) RunAndReturn

func (_c *IDeployment_LeaseID_Call) RunAndReturn(run func() v1.LeaseID) *IDeployment_LeaseID_Call

type IDeployment_ManifestGroup_Call

type IDeployment_ManifestGroup_Call struct {
	*mock.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 (*IDeployment_ManifestGroup_Call) Run

func (*IDeployment_ManifestGroup_Call) RunAndReturn

type IDeployment_ResourceVersion_Call

type IDeployment_ResourceVersion_Call struct {
	*mock.Call
}

IDeployment_ResourceVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResourceVersion'

func (*IDeployment_ResourceVersion_Call) Return

func (*IDeployment_ResourceVersion_Call) Run

func (*IDeployment_ResourceVersion_Call) RunAndReturn

type Reservation

type Reservation struct {
	mock.Mock
}

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 (_mock *Reservation) Allocated() bool

Allocated provides a mock function for the type Reservation

func (*Reservation) ClusterParams

func (_mock *Reservation) ClusterParams() interface{}

ClusterParams provides a mock function for the type Reservation

func (*Reservation) EXPECT

func (_m *Reservation) EXPECT() *Reservation_Expecter

func (*Reservation) GetAllocatedResources

func (_mock *Reservation) GetAllocatedResources() v1beta4.ResourceUnits

GetAllocatedResources provides a mock function for the type Reservation

func (*Reservation) OrderID

func (_mock *Reservation) OrderID() v1.OrderID

OrderID provides a mock function for the type Reservation

func (*Reservation) Resources

func (_mock *Reservation) Resources() v1beta4.ResourceGroup

Resources provides a mock function for the type Reservation

func (*Reservation) SetAllocatedResources

func (_mock *Reservation) SetAllocatedResources(resourceUnits v1beta4.ResourceUnits)

SetAllocatedResources provides a mock function for the type Reservation

func (*Reservation) SetClusterParams

func (_mock *Reservation) SetClusterParams(ifaceVal interface{})

SetClusterParams provides a mock function for the type Reservation

type ReservationGroup

type ReservationGroup struct {
	mock.Mock
}

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 (_mock *ReservationGroup) ClusterParams() interface{}

ClusterParams provides a mock function for the type ReservationGroup

func (*ReservationGroup) EXPECT

func (*ReservationGroup) GetAllocatedResources

func (_mock *ReservationGroup) GetAllocatedResources() v1beta4.ResourceUnits

GetAllocatedResources provides a mock function for the type ReservationGroup

func (*ReservationGroup) Resources

func (_mock *ReservationGroup) Resources() v1beta4.ResourceGroup

Resources provides a mock function for the type ReservationGroup

func (*ReservationGroup) SetAllocatedResources

func (_mock *ReservationGroup) SetAllocatedResources(resourceUnits v1beta4.ResourceUnits)

SetAllocatedResources provides a mock function for the type ReservationGroup

func (*ReservationGroup) SetClusterParams

func (_mock *ReservationGroup) SetClusterParams(ifaceVal interface{})

SetClusterParams provides a mock function for the type ReservationGroup

type ReservationGroup_ClusterParams_Call

type ReservationGroup_ClusterParams_Call struct {
	*mock.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 (*ReservationGroup_ClusterParams_Call) Run

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

ClusterParams is a helper method to define mock.On call

func (*ReservationGroup_Expecter) GetAllocatedResources

GetAllocatedResources is a helper method to define mock.On call

func (*ReservationGroup_Expecter) Resources

Resources is a helper method to define mock.On call

func (*ReservationGroup_Expecter) SetAllocatedResources

func (_e *ReservationGroup_Expecter) SetAllocatedResources(resourceUnits interface{}) *ReservationGroup_SetAllocatedResources_Call

SetAllocatedResources is a helper method to define mock.On call

  • resourceUnits v1beta4.ResourceUnits

func (*ReservationGroup_Expecter) SetClusterParams

func (_e *ReservationGroup_Expecter) SetClusterParams(ifaceVal interface{}) *ReservationGroup_SetClusterParams_Call

SetClusterParams is a helper method to define mock.On call

  • ifaceVal interface{}

type ReservationGroup_GetAllocatedResources_Call

type ReservationGroup_GetAllocatedResources_Call struct {
	*mock.Call
}

ReservationGroup_GetAllocatedResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedResources'

func (*ReservationGroup_GetAllocatedResources_Call) Return

func (*ReservationGroup_GetAllocatedResources_Call) Run

func (*ReservationGroup_GetAllocatedResources_Call) RunAndReturn

type ReservationGroup_Resources_Call

type ReservationGroup_Resources_Call struct {
	*mock.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 (*ReservationGroup_Resources_Call) Run

func (*ReservationGroup_Resources_Call) RunAndReturn

type ReservationGroup_SetAllocatedResources_Call

type ReservationGroup_SetAllocatedResources_Call struct {
	*mock.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 (*ReservationGroup_SetAllocatedResources_Call) Run

func (*ReservationGroup_SetAllocatedResources_Call) RunAndReturn

type ReservationGroup_SetClusterParams_Call

type ReservationGroup_SetClusterParams_Call struct {
	*mock.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 (*ReservationGroup_SetClusterParams_Call) Run

func (_c *ReservationGroup_SetClusterParams_Call) Run(run func(ifaceVal interface{})) *ReservationGroup_SetClusterParams_Call

func (*ReservationGroup_SetClusterParams_Call) RunAndReturn

func (_c *ReservationGroup_SetClusterParams_Call) RunAndReturn(run func(ifaceVal interface{})) *ReservationGroup_SetClusterParams_Call

type Reservation_Allocated_Call

type Reservation_Allocated_Call struct {
	*mock.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 (*Reservation_Allocated_Call) Run

func (*Reservation_Allocated_Call) RunAndReturn

func (_c *Reservation_Allocated_Call) RunAndReturn(run func() bool) *Reservation_Allocated_Call

type Reservation_ClusterParams_Call

type Reservation_ClusterParams_Call struct {
	*mock.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(ifaceVal interface{}) *Reservation_ClusterParams_Call

func (*Reservation_ClusterParams_Call) Run

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

Allocated is a helper method to define mock.On call

func (*Reservation_Expecter) ClusterParams

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

OrderID is a helper method to define mock.On call

func (*Reservation_Expecter) Resources

Resources is a helper method to define mock.On call

func (*Reservation_Expecter) SetAllocatedResources

func (_e *Reservation_Expecter) SetAllocatedResources(resourceUnits interface{}) *Reservation_SetAllocatedResources_Call

SetAllocatedResources is a helper method to define mock.On call

  • resourceUnits v1beta4.ResourceUnits

func (*Reservation_Expecter) SetClusterParams

func (_e *Reservation_Expecter) SetClusterParams(ifaceVal interface{}) *Reservation_SetClusterParams_Call

SetClusterParams is a helper method to define mock.On call

  • ifaceVal interface{}

type Reservation_GetAllocatedResources_Call

type Reservation_GetAllocatedResources_Call struct {
	*mock.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 (*Reservation_GetAllocatedResources_Call) Run

func (*Reservation_GetAllocatedResources_Call) RunAndReturn

type Reservation_OrderID_Call

type Reservation_OrderID_Call struct {
	*mock.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(orderID v1.OrderID) *Reservation_OrderID_Call

func (*Reservation_OrderID_Call) Run

func (*Reservation_OrderID_Call) RunAndReturn

func (_c *Reservation_OrderID_Call) RunAndReturn(run func() v1.OrderID) *Reservation_OrderID_Call

type Reservation_Resources_Call

type Reservation_Resources_Call struct {
	*mock.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 (*Reservation_Resources_Call) Run

func (*Reservation_Resources_Call) RunAndReturn

type Reservation_SetAllocatedResources_Call

type Reservation_SetAllocatedResources_Call struct {
	*mock.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 (*Reservation_SetAllocatedResources_Call) Run

func (*Reservation_SetAllocatedResources_Call) RunAndReturn

type Reservation_SetClusterParams_Call

type Reservation_SetClusterParams_Call struct {
	*mock.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 (*Reservation_SetClusterParams_Call) Run

func (_c *Reservation_SetClusterParams_Call) Run(run func(ifaceVal interface{})) *Reservation_SetClusterParams_Call

func (*Reservation_SetClusterParams_Call) RunAndReturn

func (_c *Reservation_SetClusterParams_Call) RunAndReturn(run func(ifaceVal interface{})) *Reservation_SetClusterParams_Call

Directories

Path Synopsis
clients
ip

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL