regenerate binapi
[govpp.git] / binapi / policer / policer_rpc.ba.go
index 85c55ca..7ae3a0e 100644 (file)
@@ -14,7 +14,9 @@ import (
 // RPCService defines RPC service policer.
 type RPCService interface {
        PolicerAddDel(ctx context.Context, in *PolicerAddDel) (*PolicerAddDelReply, error)
+       PolicerBind(ctx context.Context, in *PolicerBind) (*PolicerBindReply, error)
        PolicerDump(ctx context.Context, in *PolicerDump) (RPCService_PolicerDumpClient, error)
+       PolicerInput(ctx context.Context, in *PolicerInput) (*PolicerInputReply, error)
 }
 
 type serviceClient struct {
@@ -34,6 +36,15 @@ func (c *serviceClient) PolicerAddDel(ctx context.Context, in *PolicerAddDel) (*
        return out, api.RetvalToVPPApiError(out.Retval)
 }
 
+func (c *serviceClient) PolicerBind(ctx context.Context, in *PolicerBind) (*PolicerBindReply, error) {
+       out := new(PolicerBindReply)
+       err := c.conn.Invoke(ctx, in, out)
+       if err != nil {
+               return nil, err
+       }
+       return out, api.RetvalToVPPApiError(out.Retval)
+}
+
 func (c *serviceClient) PolicerDump(ctx context.Context, in *PolicerDump) (RPCService_PolicerDumpClient, error) {
        stream, err := c.conn.NewStream(ctx)
        if err != nil {
@@ -72,3 +83,12 @@ func (c *serviceClient_PolicerDumpClient) Recv() (*PolicerDetails, error) {
                return nil, fmt.Errorf("unexpected message: %T %v", m, m)
        }
 }
+
+func (c *serviceClient) PolicerInput(ctx context.Context, in *PolicerInput) (*PolicerInputReply, error) {
+       out := new(PolicerInputReply)
+       err := c.conn.Invoke(ctx, in, out)
+       if err != nil {
+               return nil, err
+       }
+       return out, api.RetvalToVPPApiError(out.Retval)
+}