ChaosDaemonClientInterface represents the ChaosDaemonClient, it's used to simply unit test
type ChaosDaemonClientInterface interface {
chaosdaemon.ChaosDaemonClient
Close() error
}
func New(conn *grpc.ClientConn) ChaosDaemonClientInterface
GrpcChaosDaemonClient would act like chaosdaemon.ChaosDaemonClient with a Close method
type GrpcChaosDaemonClient struct {
chaosdaemon.ChaosDaemonClient
// contains filtered or unexported fields
}
func (c *GrpcChaosDaemonClient) Close() error