Documentation
¶
Overview ¶
Package mock_net is a generated GoMock package.
Index ¶
- type MockDNSIClient
- func (m *MockDNSIClient) Apply(ctx context.Context, dNS *v10.DNSApplyConfiguration, opts v11.ApplyOptions) (*v1.DNS, error)
- func (m *MockDNSIClient) ApplyStatus(ctx context.Context, dNS *v10.DNSApplyConfiguration, opts v11.ApplyOptions) (*v1.DNS, error)
- func (m *MockDNSIClient) Create(ctx context.Context, dNS *v1.DNS, opts v11.CreateOptions) (*v1.DNS, error)
- func (m *MockDNSIClient) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error
- func (m *MockDNSIClient) DeleteCollection(ctx context.Context, opts v11.DeleteOptions, listOpts v11.ListOptions) error
- func (m *MockDNSIClient) EXPECT() *MockDNSIClientMockRecorder
- func (m *MockDNSIClient) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.DNS, error)
- func (m *MockDNSIClient) List(ctx context.Context, opts v11.ListOptions) (*v1.DNSList, error)
- func (m *MockDNSIClient) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.DNS, error)
- func (m *MockDNSIClient) Update(ctx context.Context, dNS *v1.DNS, opts v11.UpdateOptions) (*v1.DNS, error)
- func (m *MockDNSIClient) UpdateStatus(ctx context.Context, dNS *v1.DNS, opts v11.UpdateOptions) (*v1.DNS, error)
- func (m *MockDNSIClient) Watch(ctx context.Context, opts v11.ListOptions) (watch.Interface, error)
- type MockDNSIClientMockRecorder
- func (mr *MockDNSIClientMockRecorder) Apply(ctx, dNS, opts any) *gomock.Call
- func (mr *MockDNSIClientMockRecorder) ApplyStatus(ctx, dNS, opts any) *gomock.Call
- func (mr *MockDNSIClientMockRecorder) Create(ctx, dNS, opts any) *gomock.Call
- func (mr *MockDNSIClientMockRecorder) Delete(ctx, name, opts any) *gomock.Call
- func (mr *MockDNSIClientMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call
- func (mr *MockDNSIClientMockRecorder) Get(ctx, name, opts any) *gomock.Call
- func (mr *MockDNSIClientMockRecorder) List(ctx, opts any) *gomock.Call
- func (mr *MockDNSIClientMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
- func (mr *MockDNSIClientMockRecorder) Update(ctx, dNS, opts any) *gomock.Call
- func (mr *MockDNSIClientMockRecorder) UpdateStatus(ctx, dNS, opts any) *gomock.Call
- func (mr *MockDNSIClientMockRecorder) Watch(ctx, opts any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDNSIClient ¶
type MockDNSIClient struct {
// contains filtered or unexported fields
}
MockDNSIClient is a mock of DNSIClient interface.
func NewMockDNSIClient ¶
func NewMockDNSIClient(ctrl *gomock.Controller) *MockDNSIClient
NewMockDNSIClient creates a new mock instance.
func (*MockDNSIClient) Apply ¶
func (m *MockDNSIClient) Apply(ctx context.Context, dNS *v10.DNSApplyConfiguration, opts v11.ApplyOptions) (*v1.DNS, error)
Apply mocks base method.
func (*MockDNSIClient) ApplyStatus ¶
func (m *MockDNSIClient) ApplyStatus(ctx context.Context, dNS *v10.DNSApplyConfiguration, opts v11.ApplyOptions) (*v1.DNS, error)
ApplyStatus mocks base method.
func (*MockDNSIClient) Create ¶
func (m *MockDNSIClient) Create(ctx context.Context, dNS *v1.DNS, opts v11.CreateOptions) (*v1.DNS, error)
Create mocks base method.
func (*MockDNSIClient) Delete ¶
func (m *MockDNSIClient) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error
Delete mocks base method.
func (*MockDNSIClient) DeleteCollection ¶
func (m *MockDNSIClient) DeleteCollection(ctx context.Context, opts v11.DeleteOptions, listOpts v11.ListOptions) error
DeleteCollection mocks base method.
func (*MockDNSIClient) EXPECT ¶
func (m *MockDNSIClient) EXPECT() *MockDNSIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDNSIClient) Get ¶
func (m *MockDNSIClient) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.DNS, error)
Get mocks base method.
func (*MockDNSIClient) List ¶
func (m *MockDNSIClient) List(ctx context.Context, opts v11.ListOptions) (*v1.DNSList, error)
List mocks base method.
func (*MockDNSIClient) Patch ¶
func (m *MockDNSIClient) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v11.PatchOptions, subresources ...string) (*v1.DNS, error)
Patch mocks base method.
func (*MockDNSIClient) Update ¶
func (m *MockDNSIClient) Update(ctx context.Context, dNS *v1.DNS, opts v11.UpdateOptions) (*v1.DNS, error)
Update mocks base method.
func (*MockDNSIClient) UpdateStatus ¶
func (m *MockDNSIClient) UpdateStatus(ctx context.Context, dNS *v1.DNS, opts v11.UpdateOptions) (*v1.DNS, error)
UpdateStatus mocks base method.
func (*MockDNSIClient) Watch ¶
func (m *MockDNSIClient) Watch(ctx context.Context, opts v11.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockDNSIClientMockRecorder ¶
type MockDNSIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDNSIClientMockRecorder is the mock recorder for MockDNSIClient.
func (*MockDNSIClientMockRecorder) Apply ¶
func (mr *MockDNSIClientMockRecorder) Apply(ctx, dNS, opts any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockDNSIClientMockRecorder) ApplyStatus ¶
func (mr *MockDNSIClientMockRecorder) ApplyStatus(ctx, dNS, opts any) *gomock.Call
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockDNSIClientMockRecorder) Create ¶
func (mr *MockDNSIClientMockRecorder) Create(ctx, dNS, opts any) *gomock.Call
Create indicates an expected call of Create.
func (*MockDNSIClientMockRecorder) Delete ¶
func (mr *MockDNSIClientMockRecorder) Delete(ctx, name, opts any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDNSIClientMockRecorder) DeleteCollection ¶
func (mr *MockDNSIClientMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockDNSIClientMockRecorder) Get ¶
func (mr *MockDNSIClientMockRecorder) Get(ctx, name, opts any) *gomock.Call
Get indicates an expected call of Get.
func (*MockDNSIClientMockRecorder) List ¶
func (mr *MockDNSIClientMockRecorder) List(ctx, opts any) *gomock.Call
List indicates an expected call of List.
func (*MockDNSIClientMockRecorder) Patch ¶
func (mr *MockDNSIClientMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockDNSIClientMockRecorder) Update ¶
func (mr *MockDNSIClientMockRecorder) Update(ctx, dNS, opts any) *gomock.Call
Update indicates an expected call of Update.
func (*MockDNSIClientMockRecorder) UpdateStatus ¶
func (mr *MockDNSIClientMockRecorder) UpdateStatus(ctx, dNS, opts any) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.