Documentation
¶
Overview ¶
Package machine is a generated GoMock package.
Package machine implements the Kubernetes client for the resources in the machine.flomesh.io API group
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the type used to represent the Kubernetes Client for the machine.flomesh.io API group
func NewMachineController ¶
func NewMachineController(informerCollection *informers.InformerCollection, kubeClient kubernetes.Interface, kubeController k8s.Controller, msgBroker *messaging.Broker) *Client
NewMachineController returns a machine.Controller interface related to functionality provided by the resources in the machine.flomesh.io API group
func (*Client) GetVms ¶
func (c *Client) GetVms() []*machinev1alpha1.VirtualMachine
GetVms lists vms
type Controller ¶
type Controller interface {
// GetVms lists vms
GetVms() []*machinev1alpha1.VirtualMachine
}
Controller is the interface for the functionality provided by the resources part of the machine.flomesh.io API group
type MockController ¶
type MockController struct {
// contains filtered or unexported fields
}
MockController is a mock of Controller interface.
func NewMockController ¶
func NewMockController(ctrl *gomock.Controller) *MockController
NewMockController creates a new mock instance.
func (*MockController) EXPECT ¶
func (m *MockController) EXPECT() *MockControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockController) GetVms ¶
func (m *MockController) GetVms() []*v1alpha1.VirtualMachine
GetVms mocks base method.
type MockControllerMockRecorder ¶
type MockControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockControllerMockRecorder is the mock recorder for MockController.
func (*MockControllerMockRecorder) GetVms ¶
func (mr *MockControllerMockRecorder) GetVms() *gomock.Call
GetVms indicates an expected call of GetVms.