Documentation ¶
Overview ¶
Package xnetwork is a generated GoMock package.
Package xnetwork implements the Kubernetes client for the resources in the xnetwork.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 xnetwork.flomesh.io API group
func (*Client) GetAccessControls ¶
func (c *Client) GetAccessControls() []*xnetv1alpha1.AccessControl
GetAccessControls lists AccessControls
type Controller ¶
type Controller interface { // GetAccessControls lists AccessControls GetAccessControls() []*xnetv1alpha1.AccessControl }
Controller is the interface for the functionality provided by the resources part of the xnetwork.flomesh.io API group
func NewXNetworkController ¶
func NewXNetworkController(informerCollection *informers.InformerCollection, kubeClient kubernetes.Interface, kubeController k8s.Controller, msgBroker *messaging.Broker) Controller
NewXNetworkController returns a xnetwork.Controller interface related to functionality provided by the resources in the xnetwork.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) GetAccessControls ¶
func (m *MockController) GetAccessControls() []*v1alpha1.AccessControl
GetAccessControls mocks base method.
type MockControllerMockRecorder ¶
type MockControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockControllerMockRecorder is the mock recorder for MockController.
func (*MockControllerMockRecorder) GetAccessControls ¶
func (mr *MockControllerMockRecorder) GetAccessControls() *gomock.Call
GetAccessControls indicates an expected call of GetAccessControls.