mock_core

package
v0.58.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_core is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAgentClient

type MockAgentClient struct {
	// contains filtered or unexported fields
}

MockAgentClient is a mock of AgentClient interface.

func NewMockAgentClient

func NewMockAgentClient(ctrl *gomock.Controller) *MockAgentClient

NewMockAgentClient creates a new mock instance.

func (*MockAgentClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAgentClient) GetHostname

func (m *MockAgentClient) GetHostname(ctx context.Context, in *core.HostnameRequest, opts ...grpc.CallOption) (*core.HostnameReply, error)

GetHostname mocks base method.

type MockAgentClientMockRecorder

type MockAgentClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAgentClientMockRecorder is the mock recorder for MockAgentClient.

func (*MockAgentClientMockRecorder) GetHostname

func (mr *MockAgentClientMockRecorder) GetHostname(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetHostname indicates an expected call of GetHostname.

type MockAgentSecureClient

type MockAgentSecureClient struct {
	// contains filtered or unexported fields
}

MockAgentSecureClient is a mock of AgentSecureClient interface.

func NewMockAgentSecureClient

func NewMockAgentSecureClient(ctrl *gomock.Controller) *MockAgentSecureClient

NewMockAgentSecureClient creates a new mock instance.

func (*MockAgentSecureClient) ClientGetConfigs

ClientGetConfigs mocks base method.

func (*MockAgentSecureClient) ClientGetConfigsHA added in v0.52.0

ClientGetConfigsHA mocks base method.

func (*MockAgentSecureClient) DogstatsdCaptureTrigger

DogstatsdCaptureTrigger mocks base method.

func (*MockAgentSecureClient) DogstatsdSetTaggerState

func (m *MockAgentSecureClient) DogstatsdSetTaggerState(ctx context.Context, in *core.TaggerState, opts ...grpc.CallOption) (*core.TaggerStateResponse, error)

DogstatsdSetTaggerState mocks base method.

func (*MockAgentSecureClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAgentSecureClient) GetConfigState

GetConfigState mocks base method.

func (*MockAgentSecureClient) GetConfigStateHA added in v0.52.0

func (m *MockAgentSecureClient) GetConfigStateHA(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*core.GetStateConfigResponse, error)

GetConfigStateHA mocks base method.

func (*MockAgentSecureClient) TaggerFetchEntity

TaggerFetchEntity mocks base method.

func (*MockAgentSecureClient) TaggerStreamEntities

TaggerStreamEntities mocks base method.

func (*MockAgentSecureClient) WorkloadmetaStreamEntities

WorkloadmetaStreamEntities mocks base method.

type MockAgentSecureClientMockRecorder

type MockAgentSecureClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAgentSecureClientMockRecorder is the mock recorder for MockAgentSecureClient.

func (*MockAgentSecureClientMockRecorder) ClientGetConfigs

func (mr *MockAgentSecureClientMockRecorder) ClientGetConfigs(ctx, in interface{}, opts ...interface{}) *gomock.Call

ClientGetConfigs indicates an expected call of ClientGetConfigs.

func (*MockAgentSecureClientMockRecorder) ClientGetConfigsHA added in v0.52.0

func (mr *MockAgentSecureClientMockRecorder) ClientGetConfigsHA(ctx, in interface{}, opts ...interface{}) *gomock.Call

ClientGetConfigsHA indicates an expected call of ClientGetConfigsHA.

func (*MockAgentSecureClientMockRecorder) DogstatsdCaptureTrigger

func (mr *MockAgentSecureClientMockRecorder) DogstatsdCaptureTrigger(ctx, in interface{}, opts ...interface{}) *gomock.Call

DogstatsdCaptureTrigger indicates an expected call of DogstatsdCaptureTrigger.

func (*MockAgentSecureClientMockRecorder) DogstatsdSetTaggerState

func (mr *MockAgentSecureClientMockRecorder) DogstatsdSetTaggerState(ctx, in interface{}, opts ...interface{}) *gomock.Call

DogstatsdSetTaggerState indicates an expected call of DogstatsdSetTaggerState.

func (*MockAgentSecureClientMockRecorder) GetConfigState

func (mr *MockAgentSecureClientMockRecorder) GetConfigState(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetConfigState indicates an expected call of GetConfigState.

func (*MockAgentSecureClientMockRecorder) GetConfigStateHA added in v0.52.0

func (mr *MockAgentSecureClientMockRecorder) GetConfigStateHA(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetConfigStateHA indicates an expected call of GetConfigStateHA.

func (*MockAgentSecureClientMockRecorder) TaggerFetchEntity

func (mr *MockAgentSecureClientMockRecorder) TaggerFetchEntity(ctx, in interface{}, opts ...interface{}) *gomock.Call

TaggerFetchEntity indicates an expected call of TaggerFetchEntity.

func (*MockAgentSecureClientMockRecorder) TaggerStreamEntities

func (mr *MockAgentSecureClientMockRecorder) TaggerStreamEntities(ctx, in interface{}, opts ...interface{}) *gomock.Call

TaggerStreamEntities indicates an expected call of TaggerStreamEntities.

func (*MockAgentSecureClientMockRecorder) WorkloadmetaStreamEntities

func (mr *MockAgentSecureClientMockRecorder) WorkloadmetaStreamEntities(ctx, in interface{}, opts ...interface{}) *gomock.Call

WorkloadmetaStreamEntities indicates an expected call of WorkloadmetaStreamEntities.

type MockAgentSecureServer

type MockAgentSecureServer struct {
	// contains filtered or unexported fields
}

MockAgentSecureServer is a mock of AgentSecureServer interface.

func NewMockAgentSecureServer

func NewMockAgentSecureServer(ctrl *gomock.Controller) *MockAgentSecureServer

NewMockAgentSecureServer creates a new mock instance.

func (*MockAgentSecureServer) ClientGetConfigs

ClientGetConfigs mocks base method.

func (*MockAgentSecureServer) ClientGetConfigsHA added in v0.52.0

ClientGetConfigsHA mocks base method.

func (*MockAgentSecureServer) DogstatsdCaptureTrigger

DogstatsdCaptureTrigger mocks base method.

func (*MockAgentSecureServer) DogstatsdSetTaggerState

func (m *MockAgentSecureServer) DogstatsdSetTaggerState(arg0 context.Context, arg1 *core.TaggerState) (*core.TaggerStateResponse, error)

DogstatsdSetTaggerState mocks base method.

func (*MockAgentSecureServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAgentSecureServer) GetConfigState

func (m *MockAgentSecureServer) GetConfigState(arg0 context.Context, arg1 *empty.Empty) (*core.GetStateConfigResponse, error)

GetConfigState mocks base method.

func (*MockAgentSecureServer) GetConfigStateHA added in v0.52.0

func (m *MockAgentSecureServer) GetConfigStateHA(arg0 context.Context, arg1 *empty.Empty) (*core.GetStateConfigResponse, error)

GetConfigStateHA mocks base method.

func (*MockAgentSecureServer) TaggerFetchEntity

TaggerFetchEntity mocks base method.

func (*MockAgentSecureServer) TaggerStreamEntities

TaggerStreamEntities mocks base method.

func (*MockAgentSecureServer) WorkloadmetaStreamEntities

WorkloadmetaStreamEntities mocks base method.

type MockAgentSecureServerMockRecorder

type MockAgentSecureServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockAgentSecureServerMockRecorder is the mock recorder for MockAgentSecureServer.

func (*MockAgentSecureServerMockRecorder) ClientGetConfigs

func (mr *MockAgentSecureServerMockRecorder) ClientGetConfigs(arg0, arg1 interface{}) *gomock.Call

ClientGetConfigs indicates an expected call of ClientGetConfigs.

func (*MockAgentSecureServerMockRecorder) ClientGetConfigsHA added in v0.52.0

func (mr *MockAgentSecureServerMockRecorder) ClientGetConfigsHA(arg0, arg1 interface{}) *gomock.Call

ClientGetConfigsHA indicates an expected call of ClientGetConfigsHA.

func (*MockAgentSecureServerMockRecorder) DogstatsdCaptureTrigger

func (mr *MockAgentSecureServerMockRecorder) DogstatsdCaptureTrigger(arg0, arg1 interface{}) *gomock.Call

DogstatsdCaptureTrigger indicates an expected call of DogstatsdCaptureTrigger.

func (*MockAgentSecureServerMockRecorder) DogstatsdSetTaggerState

func (mr *MockAgentSecureServerMockRecorder) DogstatsdSetTaggerState(arg0, arg1 interface{}) *gomock.Call

DogstatsdSetTaggerState indicates an expected call of DogstatsdSetTaggerState.

func (*MockAgentSecureServerMockRecorder) GetConfigState

func (mr *MockAgentSecureServerMockRecorder) GetConfigState(arg0, arg1 interface{}) *gomock.Call

GetConfigState indicates an expected call of GetConfigState.

func (*MockAgentSecureServerMockRecorder) GetConfigStateHA added in v0.52.0

func (mr *MockAgentSecureServerMockRecorder) GetConfigStateHA(arg0, arg1 interface{}) *gomock.Call

GetConfigStateHA indicates an expected call of GetConfigStateHA.

func (*MockAgentSecureServerMockRecorder) TaggerFetchEntity

func (mr *MockAgentSecureServerMockRecorder) TaggerFetchEntity(arg0, arg1 interface{}) *gomock.Call

TaggerFetchEntity indicates an expected call of TaggerFetchEntity.

func (*MockAgentSecureServerMockRecorder) TaggerStreamEntities

func (mr *MockAgentSecureServerMockRecorder) TaggerStreamEntities(arg0, arg1 interface{}) *gomock.Call

TaggerStreamEntities indicates an expected call of TaggerStreamEntities.

func (*MockAgentSecureServerMockRecorder) WorkloadmetaStreamEntities

func (mr *MockAgentSecureServerMockRecorder) WorkloadmetaStreamEntities(arg0, arg1 interface{}) *gomock.Call

WorkloadmetaStreamEntities indicates an expected call of WorkloadmetaStreamEntities.

type MockAgentSecure_TaggerStreamEntitiesClient

type MockAgentSecure_TaggerStreamEntitiesClient struct {
	// contains filtered or unexported fields
}

MockAgentSecure_TaggerStreamEntitiesClient is a mock of AgentSecure_TaggerStreamEntitiesClient interface.

func NewMockAgentSecure_TaggerStreamEntitiesClient

func NewMockAgentSecure_TaggerStreamEntitiesClient(ctrl *gomock.Controller) *MockAgentSecure_TaggerStreamEntitiesClient

NewMockAgentSecure_TaggerStreamEntitiesClient creates a new mock instance.

func (*MockAgentSecure_TaggerStreamEntitiesClient) CloseSend

CloseSend mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesClient) Context

Context mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAgentSecure_TaggerStreamEntitiesClient) Header

Header mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesClient) Recv

Recv mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesClient) RecvMsg

RecvMsg mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesClient) SendMsg

SendMsg mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesClient) Trailer

Trailer mocks base method.

type MockAgentSecure_TaggerStreamEntitiesClientMockRecorder

type MockAgentSecure_TaggerStreamEntitiesClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAgentSecure_TaggerStreamEntitiesClientMockRecorder is the mock recorder for MockAgentSecure_TaggerStreamEntitiesClient.

func (*MockAgentSecure_TaggerStreamEntitiesClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockAgentSecure_TaggerStreamEntitiesClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockAgentSecure_TaggerStreamEntitiesClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockAgentSecure_TaggerStreamEntitiesClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockAgentSecure_TaggerStreamEntitiesClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockAgentSecure_TaggerStreamEntitiesClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockAgentSecure_TaggerStreamEntitiesClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockAgentSecure_TaggerStreamEntitiesServer

type MockAgentSecure_TaggerStreamEntitiesServer struct {
	// contains filtered or unexported fields
}

MockAgentSecure_TaggerStreamEntitiesServer is a mock of AgentSecure_TaggerStreamEntitiesServer interface.

func NewMockAgentSecure_TaggerStreamEntitiesServer

func NewMockAgentSecure_TaggerStreamEntitiesServer(ctrl *gomock.Controller) *MockAgentSecure_TaggerStreamEntitiesServer

NewMockAgentSecure_TaggerStreamEntitiesServer creates a new mock instance.

func (*MockAgentSecure_TaggerStreamEntitiesServer) Context

Context mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAgentSecure_TaggerStreamEntitiesServer) RecvMsg

RecvMsg mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesServer) Send

Send mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesServer) SendHeader

SendHeader mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesServer) SendMsg

SendMsg mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesServer) SetHeader

SetHeader mocks base method.

func (*MockAgentSecure_TaggerStreamEntitiesServer) SetTrailer

SetTrailer mocks base method.

type MockAgentSecure_TaggerStreamEntitiesServerMockRecorder

type MockAgentSecure_TaggerStreamEntitiesServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockAgentSecure_TaggerStreamEntitiesServerMockRecorder is the mock recorder for MockAgentSecure_TaggerStreamEntitiesServer.

func (*MockAgentSecure_TaggerStreamEntitiesServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockAgentSecure_TaggerStreamEntitiesServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockAgentSecure_TaggerStreamEntitiesServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockAgentSecure_TaggerStreamEntitiesServerMockRecorder) SendHeader

func (mr *MockAgentSecure_TaggerStreamEntitiesServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockAgentSecure_TaggerStreamEntitiesServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockAgentSecure_TaggerStreamEntitiesServerMockRecorder) SetHeader

func (mr *MockAgentSecure_TaggerStreamEntitiesServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockAgentSecure_TaggerStreamEntitiesServerMockRecorder) SetTrailer

func (mr *MockAgentSecure_TaggerStreamEntitiesServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockAgentSecure_WorkloadmetaStreamEntitiesClient

type MockAgentSecure_WorkloadmetaStreamEntitiesClient struct {
	// contains filtered or unexported fields
}

MockAgentSecure_WorkloadmetaStreamEntitiesClient is a mock of AgentSecure_WorkloadmetaStreamEntitiesClient interface.

func NewMockAgentSecure_WorkloadmetaStreamEntitiesClient

func NewMockAgentSecure_WorkloadmetaStreamEntitiesClient(ctrl *gomock.Controller) *MockAgentSecure_WorkloadmetaStreamEntitiesClient

NewMockAgentSecure_WorkloadmetaStreamEntitiesClient creates a new mock instance.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClient) CloseSend

CloseSend mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClient) Context

Context mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClient) Header

Header mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClient) Recv

Recv mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClient) RecvMsg

RecvMsg mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClient) SendMsg

SendMsg mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClient) Trailer

Trailer mocks base method.

type MockAgentSecure_WorkloadmetaStreamEntitiesClientMockRecorder

type MockAgentSecure_WorkloadmetaStreamEntitiesClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAgentSecure_WorkloadmetaStreamEntitiesClientMockRecorder is the mock recorder for MockAgentSecure_WorkloadmetaStreamEntitiesClient.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockAgentSecure_WorkloadmetaStreamEntitiesServer

type MockAgentSecure_WorkloadmetaStreamEntitiesServer struct {
	// contains filtered or unexported fields
}

MockAgentSecure_WorkloadmetaStreamEntitiesServer is a mock of AgentSecure_WorkloadmetaStreamEntitiesServer interface.

func NewMockAgentSecure_WorkloadmetaStreamEntitiesServer

func NewMockAgentSecure_WorkloadmetaStreamEntitiesServer(ctrl *gomock.Controller) *MockAgentSecure_WorkloadmetaStreamEntitiesServer

NewMockAgentSecure_WorkloadmetaStreamEntitiesServer creates a new mock instance.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServer) Context

Context mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServer) RecvMsg

RecvMsg mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServer) Send

Send mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServer) SendHeader

SendHeader mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServer) SendMsg

SendMsg mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServer) SetHeader

SetHeader mocks base method.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServer) SetTrailer

SetTrailer mocks base method.

type MockAgentSecure_WorkloadmetaStreamEntitiesServerMockRecorder

type MockAgentSecure_WorkloadmetaStreamEntitiesServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockAgentSecure_WorkloadmetaStreamEntitiesServerMockRecorder is the mock recorder for MockAgentSecure_WorkloadmetaStreamEntitiesServer.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockAgentSecure_WorkloadmetaStreamEntitiesServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockAgentServer

type MockAgentServer struct {
	// contains filtered or unexported fields
}

MockAgentServer is a mock of AgentServer interface.

func NewMockAgentServer

func NewMockAgentServer(ctrl *gomock.Controller) *MockAgentServer

NewMockAgentServer creates a new mock instance.

func (*MockAgentServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAgentServer) GetHostname

func (m *MockAgentServer) GetHostname(arg0 context.Context, arg1 *core.HostnameRequest) (*core.HostnameReply, error)

GetHostname mocks base method.

type MockAgentServerMockRecorder

type MockAgentServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockAgentServerMockRecorder is the mock recorder for MockAgentServer.

func (*MockAgentServerMockRecorder) GetHostname

func (mr *MockAgentServerMockRecorder) GetHostname(arg0, arg1 interface{}) *gomock.Call

GetHostname indicates an expected call of GetHostname.

Jump to

Keyboard shortcuts

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