Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeAgentClient ¶
type KubeAgentClient struct {
Calls map[string][]KubeAgentClientCallerInfo
MockKubeApply func(ctx context.Context, in *agent.PayloadIn, opts ...grpc.CallOption) (*agent.PayloadOut, error)
}
func NewKubeAgentClient ¶
func NewKubeAgentClient() *KubeAgentClient
func (*KubeAgentClient) KubeApply ¶
func (kMock *KubeAgentClient) KubeApply(ctx context.Context, in *agent.PayloadIn, opts ...grpc.CallOption) (*agent.PayloadOut, error)
type KubeAgentClientCallerInfo ¶
type KubeAgentClientCallerInfo struct {
Args []any
}
type KubeAgentServer ¶
type KubeAgentServer struct {
Calls map[string][]KubeAgentServerCallerInfo
MockKubeApply func(ka context.Context, kb *agent.PayloadIn) (*agent.PayloadOut, error)
}
func NewKubeAgentServer ¶
func NewKubeAgentServer() *KubeAgentServer
func (*KubeAgentServer) KubeApply ¶
func (kMock *KubeAgentServer) KubeApply(ka context.Context, kb *agent.PayloadIn) (*agent.PayloadOut, error)
type KubeAgentServerCallerInfo ¶
type KubeAgentServerCallerInfo struct {
Args []any
}
Click to show internal directories.
Click to hide internal directories.