Versions in this module Expand all Collapse all v0 v0.1.1 Jul 30, 2021 v0.1.0 Jul 29, 2021 Changes in this version + type Applicator interface + CacheStatus func(ctx context.Context, target string, req *netwdevpb.CacheStatusRequest) (*netwdevpb.CacheStatusReply, error) + DeRegister func(ctx context.Context, target string, req *netwdevpb.RegistrationRequest) (*netwdevpb.RegistrationReply, error) + Register func(ctx context.Context, target string, req *netwdevpb.RegistrationRequest) (*netwdevpb.RegistrationReply, error) + type GrpcApplicator struct + Insecure bool + MaxMsgSize int + NoTLS bool + Password string + Proxy bool + SkipVerify bool + TLSCA string + TLSCert string + TLSKey string + Target string + Username string + func NewClientApplicator(opts ...GrpcApplicatorOption) *GrpcApplicator + func (c *GrpcApplicator) CacheStatus(ctx context.Context, target string, req *netwdevpb.CacheStatusRequest) (*netwdevpb.CacheStatusReply, error) + func (c *GrpcApplicator) DeRegister(ctx context.Context, target string, req *netwdevpb.RegistrationRequest) (*netwdevpb.RegistrationReply, error) + func (c *GrpcApplicator) Register(ctx context.Context, target string, req *netwdevpb.RegistrationRequest) (*netwdevpb.RegistrationReply, error) + type GrpcApplicatorOption func(*GrpcApplicator) + func WithInsecure(b bool) GrpcApplicatorOption + func WithLogger(log logging.Logger) GrpcApplicatorOption + func WithPassword(password string) GrpcApplicatorOption + func WithProxy(proxy bool) GrpcApplicatorOption + func WithSkipVerify(b bool) GrpcApplicatorOption + func WithTLS(noTLS bool, tlsca, tlscert, tlskey string) GrpcApplicatorOption + func WithTarget(target string) GrpcApplicatorOption + func WithUsername(username string) GrpcApplicatorOption