Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct { CaFile string CertFile string KeyFile string Server string ServerNameOverride string Klog map[string]*utils.KlogFlagVal }
Args holds the common command line arguments for all nfd clients.
type NfdBaseClient ¶
type NfdBaseClient struct {
// contains filtered or unexported fields
}
NfdBaseClient is a common base type for handling connections to nfd-master.
func NewNfdBaseClient ¶
func NewNfdBaseClient(args *Args) (NfdBaseClient, error)
NewNfdBaseClient creates a new NfdBaseClient instance.
func (*NfdBaseClient) ClientConn ¶
func (w *NfdBaseClient) ClientConn() *grpc.ClientConn
ClientConn returns the grpc ClientConn object.
func (*NfdBaseClient) Connect ¶
func (w *NfdBaseClient) Connect() error
Connect creates a gRPC client connection to nfd-master.
func (*NfdBaseClient) Disconnect ¶
func (w *NfdBaseClient) Disconnect()
Disconnect closes the connection to NFD master
Click to show internal directories.
Click to hide internal directories.