package
0.0.0-20200507155645-0e2b5c99c75c
Repository: https://github.com/teserakt-io/c2.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewAPIClientFactory creates a new C2AutomationEngineClient factory.
NewMockAPIClientFactory creates a new mock instance.
NewMockC2Client creates a new mock instance.

# Constants

CertFlag is the global flag name used to store the api certificate path.
EndpointFlag is the global flag name used to store the api endpoint url.
MaxPageSize defines the maximum number of clients to fetch per api query.

# Variables

ErrCertFlagUndefined is returned when the cert flag cannot be found on given command.
ErrEndpointFlagUndefined is returned when the endpoint flag cannot be found on given command.

# Structs

MockAPIClientFactory is a mock of APIClientFactory interface.
MockAPIClientFactoryMockRecorder is the mock recorder for MockAPIClientFactory.
MockC2Client is a mock of C2Client interface.
MockC2ClientMockRecorder is the mock recorder for MockC2Client.

# Interfaces

APIClientFactory allows to create pb.C2Client instances.
C2Client override the protobuf client definition to offer a Close method for the grpc connection.
Command defines a cli Command.